Spaces:
Running
Running
| # ALS Research Agent Environment Configuration | |
| # Anthropic API Key (Required) | |
| ANTHROPIC_API_KEY=your_anthropic_api_key_here | |
| # Optional: Specify which Anthropic model to use | |
| # Available models: claude-sonnet-4-5-20250929, claude-opus-3-20240229, claude-3-haiku-20240307 | |
| # Default: claude-sonnet-4-5-20250929 | |
| ANTHROPIC_MODEL=claude-sonnet-4-5-20250929 | |
| # Optional: Gradio server configuration | |
| GRADIO_SERVER_PORT=7860 # Default port for Gradio UI | |
| # ElevenLabs Configuration (Optional - for voice capabilities) | |
| ELEVENLABS_API_KEY=your_elevenlabs_api_key_here | |
| ELEVENLABS_VOICE_ID=21m00Tcm4TlvDq8ikWAM # Rachel voice (clear for medical terms) | |
| # LlamaIndex RAG Configuration (Optional - for research memory) | |
| CHROMA_DB_PATH=./chroma_db # Path to persist vector database | |
| LLAMAINDEX_EMBED_MODEL=dmis-lab/biobert-base-cased-v1.2 # Biomedical embedding model | |
| LLAMAINDEX_CHUNK_SIZE=1024 # Text chunk size for indexing | |
| LLAMAINDEX_CHUNK_OVERLAP=200 # Overlap between chunks | |
| # Optional: Show agent thinking process in UI | |
| SHOW_THINKING=false | |
| # Optional: LLM provider preference | |
| # Options: quality_optimize (best model), cost_optimize (cheaper model), auto (default) | |
| LLM_PROVIDER_PREFERENCE=auto | |
| # Research API Configuration (Optional) | |
| # Configure these if you want to limit API usage | |
| RATE_LIMIT_PUBMED_DELAY=1.0 # Delay between PubMed requests (seconds) | |
| RATE_LIMIT_BIORXIV_DELAY=1.0 # Delay between bioRxiv requests (seconds) | |
| # Optional: Max concurrent searches | |
| MAX_CONCURRENT_SEARCHES=3 |