Backend (FastAPI + SQLAlchemy + Claude API + RAG): - Config management with Pydantic v2 - Database engine with connection pooling and SQL injection prevention - AI engine with Claude API integration (support custom base URL) - RAG engine with ChromaDB and sentence-transformers - Requirement analysis service - Config generation service - Executor engine with SQL validation - REST API endpoints: /analyze, /generate, /execute Frontend (Vue 3 + Element Plus + Pinia): - Complete 3-step workflow: analyze → generate → execute - Step indicator with progress visualization - Analysis result display with field table - SQL preview with monospace font - Execute confirmation dialog with safety warning - Execution result display - State management with Pinia - API service integration Security: - SQL injection prevention with parameterized queries - Dangerous SQL operation blocking - Database password URL encoding - Transaction auto-rollback - Pydantic config validation Features: - Natural language requirement analysis - Automated SQL configuration generation - Safe execution with human review - LAN access support - Custom Claude API endpoint support Documentation: - README with quick start guide - Quick start guide - LAN access configuration - Dependency fixes guide - Claude API configuration - Git operation guide - Implementation report Dependencies fixed: - numpy<2.0.0 for chromadb compatibility - sentence-transformers==2.7.0 for huggingface_hub compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
413 B
Plaintext
22 lines
413 B
Plaintext
fastapi==0.104.1
|
|
uvicorn[standard]==0.24.0
|
|
sqlalchemy==2.0.23
|
|
pyodbc==5.0.1
|
|
anthropic==0.18.1
|
|
chromadb==0.4.18
|
|
sentence-transformers==2.7.0
|
|
pydantic==2.5.0
|
|
pydantic-settings==2.1.0
|
|
python-dotenv==1.0.0
|
|
loguru==0.7.2
|
|
tenacity==8.2.3
|
|
python-jose[cryptography]==3.3.0
|
|
pytest==7.4.3
|
|
pytest-asyncio==0.21.1
|
|
httpx==0.25.2
|
|
pytest-cov==4.1.0
|
|
pytest-mock==3.12.0
|
|
|
|
# Fix NumPy compatibility issue with chromadb
|
|
numpy<2.0.0
|