update functions

This commit is contained in:
Ayomide
2025-07-14 23:41:31 +01:00
parent 0b5a7218b0
commit 97a3b710c3
7 changed files with 580 additions and 75 deletions
+4 -3
View File
@@ -12,21 +12,22 @@ class Config:
# Groq
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
GROQ_MODEL = "mixtral-8x7b-32768"
GROQ_MODEL = "llama3-70b-8192"
# Claude
CLAUDE_API_KEY = os.getenv("CLAUDE_API_KEY")
CLAUDE_MODEL = "claude-3-5-sonnet-20240620"
CLAUDE_MODEL = "claude-3-5-sonnet-20241022"
# Vector Store
VECTOR_STORE_TYPE = "pinecone"
PINECONE_API_KEY = os.getenv("PINECONE_API_KEY")
PINECONE_INDEX = "scp-docs"
PINECONE_ENV = "gcp-starter"
EMBEDDING_DIMENSION = 1024
# Document Processing
MAX_DOC_SIZE = 10 * 1024 * 1024 # 10MB
ALLOWED_EXTENSIONS = {'.pdf', '.docx', '.txt'}
# Paths
UPLOAD_FOLDER = "documents/"
UPLOAD_FOLDER = "documents/"