Spaces:
Running
Running
| # ============== LLM CONFIGURATION ============== | |
| # Provider: "openai" or "anthropic" | |
| LLM_PROVIDER=openai | |
| # API Keys (at least one required for full LLM analysis) | |
| OPENAI_API_KEY=sk-your-key-here | |
| ANTHROPIC_API_KEY=sk-ant-your-key-here | |
| # Model names (optional - sensible defaults set in config.py) | |
| # ANTHROPIC_MODEL=claude-sonnet-4-5-20250929 | |
| # OPENAI_MODEL=gpt-5.1 | |
| # ============== EMBEDDINGS ============== | |
| # OpenAI Embedding Model (used if LLM_PROVIDER is openai and performing RAG/Embeddings) | |
| OPENAI_EMBEDDING_MODEL=text-embedding-3-small | |
| # Local Embedding Model (used for local/offline embeddings) | |
| LOCAL_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2 | |
| # ============== HUGGINGFACE (FREE TIER) ============== | |
| # HuggingFace Token - enables Llama 3.1 (best quality free model) | |
| # Get yours at: https://huggingface.co/settings/tokens | |
| # | |
| # WITHOUT HF_TOKEN: Falls back to ungated models (zephyr-7b-beta) | |
| # WITH HF_TOKEN: Uses Llama 3.1 8B Instruct (requires accepting license) | |
| # | |
| # For HuggingFace Spaces deployment: | |
| # Set this as a "Secret" in Space Settings -> Variables and secrets | |
| # Users/judges don't need their own token - the Space secret is used | |
| # | |
| HF_TOKEN=hf_your-token-here | |
| # ============== AGENT CONFIGURATION ============== | |
| MAX_ITERATIONS=10 | |
| SEARCH_TIMEOUT=30 | |
| LOG_LEVEL=INFO | |
| # ============== EXTERNAL SERVICES ============== | |
| # PubMed (optional - higher rate limits) | |
| NCBI_API_KEY=your-ncbi-key-here | |
| # Vector Database (optional - for LlamaIndex RAG) | |
| CHROMA_DB_PATH=./chroma_db | |