RAGChatbot / .env.example
Shurem's picture
Add application file
cc837de
Raw
History Blame Contribute Delete
1.03 kB
# Qdrant Configuration
QDRANT_URL=https://2aa04938-4f4a-4e3c-9e96-6328c0381059.us-east4-0.gcp.cloud.qdrant.io
QDRANT_API_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3MiOiJtIn0.iqhWUBAdUuc0uakiykAf8hBUxUFhMXFkV4edpPYklZ0
QDRANT_COLLECTION_NAME=RAGChatbot
# Neon Postgres Configuration
DATABASE_URL=psql 'postgresql://neondb_owner:npg_olSU4n3LPjZX@ep-blue-dawn-adgrzjmt-pooler.c-2.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require'
# Gemini API Configuration (via OpenAI-compatible endpoint)
OPENAI_API_KEY=AIzaSyAAh9OwrhI28Z5toIZye0F9QnWfjqwq8L0
OPENAI_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai/
# Application Settings
APP_ENV=development
LOG_LEVEL=info
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW=60
# RAG Settings
RAG_TOP_K=5
RAG_MIN_SCORE=0.3
MAX_TOKENS_PER_CHUNK=512
MAX_RESPONSE_TOKENS=2000
# Embedding Configuration
EMBEDDING_MODEL=text-embedding-004
EMBEDDING_DIMENSION=768
# CORS Settings
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8000,https://yourdomain.com