This commit is contained in:
Iyeoluwa Akinrinola
2025-05-12 16:30:35 +01:00
parent 7c61e98340
commit f00941cece
4 changed files with 180 additions and 21 deletions
+1
View File
@@ -24,6 +24,7 @@ class Config:
# Ollama configuration
OLLAMA_API_URL = os.environ.get('OLLAMA_API_URL', 'http://127.0.0.1:11434')
DEFAULT_MODEL = os.environ.get('DEFAULT_MODEL', 'llama3.1')
API_TIMEOUT = int(os.environ.get('API_TIMEOUT', 300)) # Default timeout of 5 minutes (300 seconds)
# Document processing
CHUNK_SIZE = int(os.environ.get('CHUNK_SIZE', 1000))