-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
50 lines (42 loc) · 1011 Bytes
/
Copy path.env.example
File metadata and controls
50 lines (42 loc) · 1011 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Application Configuration
APP_NAME=RAGCache
APP_ENV=development
LOG_LEVEL=INFO
DEBUG=true
# API Configuration
API_HOST=0.0.0.0
API_PORT=8000
API_WORKERS=4
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8000
# Redis Configuration
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
REDIS_MAX_CONNECTIONS=10
# Qdrant Configuration
QDRANT_HOST=qdrant
QDRANT_PORT=6333
QDRANT_COLLECTION_NAME=query_embeddings
QDRANT_VECTOR_SIZE=384
QDRANT_GRPC_PORT=6334
# LLM Provider Configuration
OPENAI_API_KEY=sk-your-key-here
ANTHROPIC_API_KEY=sk-ant-your-key-here
# Default LLM Settings
DEFAULT_LLM_PROVIDER=openai
DEFAULT_MODEL=gpt-3.5-turbo
DEFAULT_MAX_TOKENS=1000
DEFAULT_TEMPERATURE=0.7
# Embedding Configuration
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
EMBEDDING_DEVICE=cpu
EMBEDDING_BATCH_SIZE=32
# Cache Configuration
CACHE_TTL_SECONDS=3600
SEMANTIC_SIMILARITY_THRESHOLD=0.85
ENABLE_SEMANTIC_CACHE=true
ENABLE_EXACT_CACHE=true
# Monitoring
ENABLE_METRICS=true
METRICS_PORT=9090