Download .env.example from sai-Rohan/Legora: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/spaces/sai-Rohan/Legora/resolve/main/.env.example
- Command line
-
hf download hf://spaces/sai-Rohan/Legora/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/sai-Rohan/Legora/resolve/main/.env.example
1.26 kB
| # Copy to .env and replace the placeholders. Never commit real credentials. | |
| GEMINI_API_KEY=replace-with-gemini-api-key | |
| GEMINI_MODEL=gemini-2.5-flash-lite | |
| QDRANT_URL=http://localhost:6333 | |
| # Optional for an unauthenticated local instance. | |
| QDRANT_API_KEY= | |
| NEO4J_URI=bolt://localhost:7687 | |
| # Neo4j's official image creates this initial user; use your own strong password. | |
| NEO4J_USERNAME=neo4j | |
| NEO4J_PASSWORD=replace-with-neo4j-password | |
| KANOON_TOKEN=replace-with-kanoon-token | |
| TOP_K=30 | |
| RERANK_K=5 | |
| JUDGMENT_K=5 | |
| PASS_THRESHOLD=80 | |
| MAX_ATTEMPTS=3 | |
| LOG_LEVEL=INFO | |
| # Streamlit connects to this API; the UI requires only these two settings. | |
| API_BASE_URL=http://127.0.0.1:8000 | |
| API_TIMEOUT_SECONDS=180 | |
| # Per-call backend SDK/HTTP timeouts and queue wait timeout, in seconds. | |
| EXTERNAL_TIMEOUT_SECONDS=30 | |
| QUERY_LOCK_TIMEOUT_SECONDS=180 | |
| # Opt-in pending reviewed ablation evidence. Default false. | |
| USE_BM25=false | |
| # When omitted, exact ID lookup follows USE_BM25; it can be toggled separately. | |
| # EXACT_ID_LOOKUP=true | |
| # Performance switches remain conservative pending paired quality evaluation. | |
| VECTOR_SEARCH_WORKERS=1 | |
| BATCH_GRAPH_EXPANSION=false | |
| ENABLE_QUERY_CACHE=false | |
| # True fails fast until no-quality-loss judge-skip evidence is available. | |
| SKIP_JUDGE_HIGH_CONFIDENCE=false | |