Spaces:
Running
Running
| # ========================================== | |
| # Text2SQL Configuration | |
| # ========================================== | |
| # Choose 'ollama' for local inference or 'huggingface' for HF Spaces / Serverless API | |
| LLM_PROVIDER=huggingface | |
| # --- Hugging Face Setup (If LLM_PROVIDER=huggingface) --- | |
| # Get your token at https://huggingface.co/settings/tokens | |
| HF_TOKEN=your_hugging_face_token_here | |
| # You can use models like Qwen/Qwen2.5-72B-Instruct or mistralai/Mixtral-8x7B-Instruct-v0.1 | |
| HF_MODEL_ID=Qwen/Qwen2.5-72B-Instruct | |
| # --- Ollama Setup (If LLM_PROVIDER=ollama) --- | |
| OLLAMA_BASE_URL=http://localhost:11434 | |
| DEFAULT_MODEL=qwen2.5:7b | |
| # --- Other Settings --- | |
| EMBEDDING_MODEL=BAAI/bge-m3 | |
| CHUNK_SIZE=1000 | |
| CHUNK_OVERLAP=200 | |