-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
62 lines (45 loc) · 2.26 KB
/
Copy path.env.example
File metadata and controls
62 lines (45 loc) · 2.26 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Environment Configuration for Generic Data RAG Agent
# Copy this file to .env and fill in your actual values
# =============================================================================
# Google Gemini AI Configuration
# =============================================================================
# Your Google Gemini API Key - Get it from: https://makersuite.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# Gemini model to use (default: gemini-2.5-flash)
GEMINI_MODEL=gemini-2.5-flash
# Maximum context characters for Gemini (default: 4000)
GEMINI_MAX_CONTEXT_CHARS=4000
# =============================================================================
# Application Configuration
# =============================================================================
# Project name
PROJECT_NAME=Generic Data RAG Agent
# Frontend origin for CORS (set to your frontend URL in production)
# Development: http://localhost:5173
# Production: https://your-domain.com
FRONTEND_ORIGIN=http://localhost:5173
# =============================================================================
# Retrieval Configuration
# =============================================================================
# Number of top results to retrieve from vector database (default: 5)
RETRIEVER_TOP_K=5
# =============================================================================
# Development Settings
# =============================================================================
# Set to 'development' for development mode, 'production' for production
ENVIRONMENT=development
# Enable debug logging (true/false)
DEBUG=true
# =============================================================================
# Security Settings (Production)
# =============================================================================
# Add any additional security configurations here for production deployment
# SECRET_KEY=your-secret-key-for-production
# DATABASE_URL=your-production-database-url
# =============================================================================
# Optional: Custom Paths
# =============================================================================
# Custom upload directory (default: uploads)
# UPLOAD_DIR=uploads
# Custom ChromaDB directory (default: chroma_db)
# CHROMA_DB_DIR=chroma_db