File size: 1,596 Bytes
50fcf88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
39
40
41
42
43
44
45
46
47
48
49
# SmartDoc AI Environment Configuration
# Copy this file to .env and fill in your values

# =============================================================================
# REQUIRED SETTINGS
# =============================================================================

# Google API Key for Gemini models (required)
# Get your key at: https://makersuite.google.com/app/apikey
GOOGLE_API_KEY=your_google_api_key_here

# =============================================================================
# OPTIONAL SETTINGS (with defaults)
# =============================================================================

# Database settings
# CHROMA_DB_PATH=./chroma_db

# Chunking settings
# CHUNK_SIZE=1000
# CHUNK_OVERLAP=100

# Retriever settings
# VECTOR_SEARCH_K=5          # Number of documents to retrieve via vector search
# VECTOR_FETCH_K=20          # Candidate pool size for MMR
# VECTOR_SCORE_THRESHOLD=0.3 # Minimum relevance score (0-1)
# BM25_SEARCH_K=5            # Number of documents to retrieve via BM25
# HYBRID_RETRIEVER_WEIGHTS=[0.4, 0.6]  # [BM25 weight, Vector weight]

# Logging settings
# LOG_LEVEL=INFO

# Cache settings
# CACHE_DIR=document_cache
# CACHE_EXPIRE_DAYS=7

# LLM settings
# LLM_MAX_RETRIES=3
# LLM_RETRY_DELAY=1.0
# LLM_MODEL_NAME=gemini-2.5-flash-lite  # Default model for all agents

# Agent-specific LLM models (override LLM_MODEL_NAME if needed)
# RESEARCH_AGENT_MODEL=gemini-2.5-flash-lite
# VERIFICATION_AGENT_MODEL=gemini-2.5-flash-lite
# RELEVANCE_CHECKER_MODEL=gemini-2.5-flash-lite

# Server settings (optional, for Gradio)
# GRADIO_SERVER_PORT=7860