acpc-testing-third / .env.example
Stoic-2910's picture
Upload 107 files
8548f1c verified
Raw History Blame Contribute Delete
908 Bytes
# OpenAI (direct API)
OPENAI_API_KEY=sk-...
# Qdrant Cloud
QDRANT_URL=https://xxx.eu-central-1-0.aws.cloud.qdrant.io
QDRANT_API_KEY=your-qdrant-api-key
# Cohere (reranker)
COHERE_API_KEY=your-cohere-api-key
# Sarvam AI (STT)
SARVAM_API_KEY=your-sarvam-api-key
# Langfuse (monitoring)
LANGFUSE_PUBLIC_KEY=pk-lf-...
LANGFUSE_SECRET_KEY=sk-lf-...
LANGFUSE_HOST=https://cloud.langfuse.com
# Application settings
COLLECTION_NAME=ld_chatbot_main
EMBEDDING_MODEL=text-embedding-3-small
LLM_MODEL=gpt-4o
RERANKER_MODEL=rerank-english-v3.0
RETRIEVAL_TOP_K=15
RERANK_TOP_N=5
MAX_CONVERSATION_MESSAGES=20
MAX_CONTEXT_TOKENS=6000
SESSION_TTL_MINUTES=30
CONFIDENCE_THRESHOLD=0.2
MAX_RETRIEVAL_RETRIES=2
# Ingest endpoint protection
INGEST_API_KEY=your-ingest-secret-key
# CORS (comma-separated origins for production)
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000