Download .env.example from Stoic-2910/acpc-testing-third: direct link, hf CLI and curl.
- Browser
- Download file 908 Bytes
-
https://huggingface.co/spaces/Stoic-2910/acpc-testing-third/resolve/main/.env.example
- Command line
-
hf download hf://spaces/Stoic-2910/acpc-testing-third/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/Stoic-2910/acpc-testing-third/resolve/main/.env.example
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 | |