Spaces:
Sleeping
Sleeping
| # .env.example | |
| # Copy this to .env and fill in your values | |
| # ============== LLM Provider ============== | |
| # Options: ollama, replicate, huggingface | |
| LLM_PROVIDER=ollama | |
| # Model to use (varies by provider) | |
| LLM_MODEL=mistral | |
| # ============== API Tokens (if using cloud LLMs) ============== | |
| # Get free token from https://replicate.com | |
| REPLICATE_API_TOKEN= | |
| # Get free token from https://huggingface.co/settings/tokens | |
| HF_API_TOKEN= | |
| # HuggingFace dataset repository (for storing data) | |
| HF_DATASET_REPO=your-username/sap-dataset | |
| # ============== Embeddings ============== | |
| # HuggingFace model for embeddings (smaller is faster) | |
| # Options: all-MiniLM-L6-v2 (fast), all-mpnet-base-v2 (better), etc. | |
| EMBEDDINGS_MODEL=all-MiniLM-L6-v2 | |
| # ============== RAG Configuration ============== | |
| RAG_CHUNK_SIZE=512 | |
| RAG_CHUNK_OVERLAP=100 | |
| RAG_TOP_K=5 | |
| # ============== Data Paths ============== | |
| DATA_DIR=data | |
| DATASET_PATH=data/sap_dataset.json | |
| INDEX_PATH=data/rag_index.faiss | |
| METADATA_PATH=data/rag_metadata.pkl | |