-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 1.58 KB
/
.env.example
File metadata and controls
38 lines (30 loc) · 1.58 KB
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
36
37
38
# Llama API Key
LLAMA_API_KEY="YOUR_LLAMA_API_KEY_HERE"
# Gemini API Key (for embeddings, etc.)
GEMINI_API_KEY="YOUR_GEMINI_API_KEY_HERE"
# Backend URL
BACKEND_URL="http://localhost:5000"
# Llama API Base URL (e.g., https://api.llama-provider.com/v1)
LLAMA_API_BASE_URL="YOUR_LLAMA_API_BASE_URL_HERE"
# ChromaDB Path (optional, defaults to ./chroma_db_store in project root relative to rag/vector_store.py or backend/app.py if used directly there)
# Example: CHROMA_DB_PATH="./chroma_data"
# Default for ingest_to_chroma.py if not set: ./chroma_db_store (relative to project root)
# Default for backend/app.py if not set by ConfigModel: ./chroma_db_store (relative to project root)
# --- Llama Model Configuration ---
CLASSIFICATION_MODEL_NAME="Llama-4-Scout-17B-16E-Instruct-FP8"
FIX_GENERATION_MODEL_NAME="Llama-4-Maverick-17B-128E-Instruct-FP8"
MAX_TOKENS_CLASSIFICATION=1000
MAX_TOKENS_FIX=2048
LLAMA_TEMPERATURE=0.2
# --- RAG & Prompt Configuration ---
RAG_NUM_RETRIEVED_DOCS=3
LLAMA_LOG_EXCERPT_MAX_CHARS=2000
# --- Demo & Operational ---
# DEMO_MODE=true # Set to true to enable demo mode for /analyze endpoint
# PORT=5000 # Default Flask port, can be overridden for backend/app.py
# SCRAPER_MAX_PAGES=50 # Default for forum_scraper.py main(), can be overridden by ENV
# INGEST_BATCH_SIZE=32 # Default for ingest_to_chroma.py, can be overridden by ENV
# Add other environment variables as needed
# e.g., DATABASE_URL, LOG_LEVEL, FLASK_ENV=development
# PORT=5000 (Flask default, but can be set via .env for backend/app.py)
# SCRAPER_MAX_PAGES=300 (Default for forum_scraper.py, can be overridden by ENV)