update functions
This commit is contained in:
+4
-3
@@ -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/"
|
||||
Reference in New Issue
Block a user