garvitcpp commited on
Commit
09edad6
·
verified ·
1 Parent(s): d405974

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +26 -27
requirements.txt CHANGED
@@ -1,29 +1,28 @@
1
- import os
2
- from pydantic_settings import BaseSettings
 
 
 
 
 
3
 
4
- class Settings(BaseSettings):
5
- # Database
6
- database_url: str = os.getenv("DATABASE_URL", "sqlite:///./test.db")
7
-
8
- # Security
9
- secret_key: str = os.getenv("SECRET_KEY", "production-secret-key-change-me")
10
- nextjs_secret: str = os.getenv("NEXTJS_SECRET", "qodex-production-secret-2025")
11
- algorithm: str = "HS256"
12
- access_token_expire_minutes: int = 30
13
-
14
- # API Keys
15
- gemini_api_key: str = os.getenv("GEMINI_API_KEY", "")
16
- pinecone_api_key: str = os.getenv("PINECONE_API_KEY", "")
17
-
18
- # Pinecone Configuration
19
- pinecone_index_name: str = os.getenv("PINECONE_INDEX_NAME", "qodex-embeddings")
20
- pinecone_environment: str = os.getenv("PINECONE_ENVIRONMENT", "gcp-starter")
21
-
22
- # App
23
- environment: str = os.getenv("ENVIRONMENT", "production")
24
- debug: bool = os.getenv("DEBUG", "false").lower() == "true"
25
-
26
- class Config:
27
- env_file = ".env"
28
 
29
- settings = Settings()
 
 
 
 
 
 
 
 
 
 
 
1
+ # Core FastAPI stack (keep versions)
2
+ fastapi==0.104.1
3
+ uvicorn[standard]==0.24.0
4
+ pydantic==2.5.0
5
+ pydantic-settings==2.1.0
6
+ sqlalchemy==2.0.23
7
+ psycopg2-binary==2.9.9
8
 
9
+ # AI/ML stack (NO VERSION PINS - let pip resolve)
10
+ sentence-transformers
11
+ transformers
12
+ huggingface-hub
13
+ torch
14
+ numpy
15
+ chromadb
16
+ pinecone-client
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
+ # Google AI
19
+ google-generativeai==0.3.1
20
+
21
+ # Utils (keep versions)
22
+ python-dotenv==1.0.0
23
+ python-multipart==0.0.6
24
+ aiofiles==23.2.1
25
+ requests==2.31.0
26
+ gitpython==3.1.40
27
+ python-jose[cryptography]==3.3.0
28
+ passlib[bcrypt]==1.7.4