-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (37 loc) · 1.11 KB
/
Copy path.env.example
File metadata and controls
44 lines (37 loc) · 1.11 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
# Anthropic Claude API Key (Required)
ANTHROPIC_API_KEY=sk-ant-api03-your-key-here
# RAG Service Configuration
CLAUDE_MODEL=claude-3-7-sonnet-latest
EMBEDDING_MODEL=Xenova/all-MiniLM-L6-v2
EMBEDDING_DIMENSIONS=384
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
MAX_TOKENS=4000
TEMPERATURE=0.7
# Service URLs (Docker internal networking)
RAG_SERVICE_URL=http://rag-service:3001
QDRANT_URL=http://qdrant:6333
DATABASE_URL=postgresql://user:pass@postgres:5432/articledb
REDIS_URL=redis://redis:6379
# Application Configuration
NODE_ENV=production
GO_ENV=production
PORT=3001
HOST=0.0.0.0
# Articles Configuration
ARTICLES_JSON_PATH=/app/data/articles.json
STARTUP_CONCURRENT_LIMIT=3
CONCURRENT_ARTICLE_LIMIT=3
RAG_SEARCH_RESULTS=4
EMBEDDING_BATCH_SIZE=50
# Database Configuration (PostgreSQL)
POSTGRES_DB=articledb
POSTGRES_USER=user
POSTGRES_PASSWORD=pass
# Frontend Configuration
VITE_API_URL=http://localhost:8080
# Instructions:
# 1. Copy this file to .env
# 2. Replace 'your-key-here' with your actual Anthropic API key
# 3. Your API key should start with 'sk-ant-api03-'
# 4. No OpenAI API key needed - uses local HuggingFace embeddings!