Spaces:
Sleeping
Sleeping
| PINECONE_API_KEY=your-pinecone-api-key | |
| PINECONE_INDEX_NAME=your-index-name | |
| PINECONE_HOST=https://your-index-host.pinecone.io | |
| PINECONE_NAMESPACE=dev | |
| PINECONE_TEXT_FIELD=chunk_text | |
| # Groq (LLM for /chat) | |
| GROQ_API_KEY=your-groq-api-key | |
| GROQ_BASE_URL=https://api.groq.com/openai/v1 | |
| GROQ_MODEL=llama-3.1-8b-instant | |
| # Tavily (optional web search fallback for /chat) | |
| TAVILY_API_KEY=your-tavily-api-key | |
| # Optional: LangSmith / LangChain tracing | |
| LANGCHAIN_TRACING_V2=false | |
| LANGCHAIN_API_KEY=your-langsmith-api-key | |
| LANGCHAIN_PROJECT=rag-agent-workbench | |
| # Optional: basic API protection | |
| # When set, all routers except /health and the OpenAPI/Swagger docs require header X-API-Key. | |
| # In production-like environments (ENV=production or on Hugging Face Spaces), API_KEY must be set. | |
| API_KEY=your-backend-api-key | |
| # Optional: CORS | |
| # Comma-separated list of allowed origins, e.g. | |
| # ALLOWED_ORIGINS=http://localhost:8501,https://your-streamlit-app.streamlit.app | |
| # When unset, defaults to "*". | |
| ALLOWED_ORIGINS= | |
| # Optional: rate limiting and caching toggles | |
| # Set to "false" to disable. | |
| RATE_LIMIT_ENABLED=true | |
| CACHE_ENABLED=true | |
| # Optional: override the default Wikimedia User-Agent string used for Wikipedia requests. | |
| # If not set, a descriptive default is used to comply with Wikimedia API policy. | |
| WIKIMEDIA_USER_AGENT="rag-agent-workbench/0.1 (+https://github.com/..; contact: ..)" | |
| LOG_LEVEL=INFO |