-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrequirements.txt
More file actions
38 lines (34 loc) · 1.82 KB
/
requirements.txt
File metadata and controls
38 lines (34 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
psycopg2-binary>=2.9.9 # PostgreSQL adapter
openai>=1.10.0
python-dotenv>=1.0.0
anthropic>=0.18.0 # Optional: only needed if using AI_PROVIDER=anthropic
numpy>=1.24.0 # Required for learned knowledge similarity calculations & vector search
sentence-transformers>=2.3.0 # Local embedding models for ADR-039 (nomic-embed-text, BGE)
transformers>=4.41.0,<5.0 # Pinned: Nomic Vision requires trust_remote_code, broken on transformers 5.x (#313)
torch>=2.0.0 # Required for visual embeddings (Nomic Vision)
torchvision>=0.15.0 # Fast image preprocessing for transformers (ADR-057)
accelerate>=0.20.0 # Required for device_map in transformers model loading
Pillow>=10.0.0 # Image processing for visual embeddings (ADR-057)
boto3>=1.28.0 # AWS S3 client for Garage object storage (ADR-057)
botocore>=1.31.0 # Core functionality for boto3
einops>=0.8.0 # Required by nomic-embed-text model architecture
mistune>=3.0.0 # Markdown parsing for preprocessing (ADR-023)
nltk>=3.8.0 # Natural language processing for relationship mapping (stemming)
# API Server (Phase 1)
fastapi>=0.109.0
uvicorn[standard]>=0.27.0 # ASGI server with auto-reload
python-multipart>=0.0.6 # For file uploads
croniter>=2.0.0 # Cron expression parsing for scheduled jobs (ADR-050)
# Authentication (ADR-027)
passlib>=1.7.4 # Password hashing
bcrypt>=4.0.0,<5.0.0 # bcrypt backend (passlib compatibility)
python-jose[cryptography]>=3.3.0 # JWT token generation and validation
# Testing Dependencies
pytest>=8.0.0 # Main testing framework
pytest-asyncio>=0.23.0 # Async test support for FastAPI
httpx>=0.26.0 # HTTP client for FastAPI testing
pytest-cov>=4.1.0 # Code coverage reporting
pytest-env>=1.1.0 # Environment variable management in tests
vulture>=2.11 # Dead code detection
# Documentation
mkdocs-swagger-ui-tag>=0.6.0 # OpenAPI/Swagger UI plugin for API docs