jaymeen1405/text2sql-ai-agent
4
1# ==========================================2# Text2SQL Configuration3# ==========================================4 5# Choose 'ollama' for local inference or 'huggingface' for HF Spaces / Serverless API6LLM_PROVIDER=huggingface7 8# --- Hugging Face Setup (If LLM_PROVIDER=huggingface) ---9# Get your token at https://huggingface.co/settings/tokens10HF_TOKEN=your_hugging_face_token_here11# You can use models like Qwen/Qwen2.5-72B-Instruct or mistralai/Mixtral-8x7B-Instruct-v0.112HF_MODEL_ID=Qwen/Qwen2.5-72B-Instruct13 14# --- Ollama Setup (If LLM_PROVIDER=ollama) ---15OLLAMA_BASE_URL=http://localhost:1143416DEFAULT_MODEL=qwen2.5:7b17 18# --- Other Settings ---19EMBEDDING_MODEL=BAAI/bge-m320CHUNK_SIZE=100021CHUNK_OVERLAP=20022 