Files
ds_zagres_ai/ai_service/.env.production
T

34 lines
905 B
Bash
Raw Normal View History

2025-05-09 15:41:16 +01:00
# API configuration
API_HOST=0.0.0.0
API_PORT=5251
# Pinecone configuration
# Sign up at https://www.pinecone.io/ to get your API key
PINECONE_API_KEY=your-pinecone-api-key-here
PINECONE_ENVIRONMENT=your-pinecone-environment-here
PINECONE_INDEX_NAME=chatbot-index
# Model configuration
# Sign up at https://platform.openai.com/ to get your API key
DEFAULT_MODEL=gpt-3.5-turbo
OPENAI_API_KEY=your-openai-api-key-here
# Local storage
# Path to SQLite database (will be replaced with MySQL in production)
SQLITE_DB_PATH=ai_service/data/chatbot.db
# Document processing
# Adjust these values based on your needs
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
# Embedding model
# Options: all-MiniLM-L6-v2 (default), paraphrase-MiniLM-L3-v2 (smaller/faster)
EMBEDDING_MODEL=all-MiniLM-L6-v2
# Production settings
# Set to 'production' in production environment
ENVIRONMENT=production
LOG_LEVEL=INFO
ENABLE_MOCK=false