-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (25 loc) · 978 Bytes
/
Copy path.env.example
File metadata and controls
35 lines (25 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ──────────────────────────────────────────────
# RAG Document Q&A System — Environment Variables
# ──────────────────────────────────────────────
# Embedding model (HuggingFace model identifier)
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
# LLM model name served via Ollama
LLM_MODEL_NAME=mistral
# Available LLM models (comma-separated)
AVAILABLE_MODELS=mistral,llama3,gemma
# FAISS vector store directory
VECTOR_DB_DIR=vector_db
# Uploaded documents directory
UPLOAD_DIR=data/uploaded_docs
# Chunking parameters
CHUNK_SIZE=500
CHUNK_OVERLAP=50
# Retrieval parameters
TOP_K_RESULTS=4
# Generation parameters
MAX_NEW_TOKENS=512
TEMPERATURE=0.2
# API Authentication Key
RAG_API_KEY=rag-secret-key-2024
# API base URL (FastAPI backend)
API_BASE_URL=http://localhost:8000