-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
63 lines (46 loc) · 1.64 KB
/
.env.example
File metadata and controls
63 lines (46 loc) · 1.64 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
63
# Nexus Configuration
# Copy this file to .env and customize as needed
# ===========================================
# ChromaDB Settings
# ===========================================
# ChromaDB server URL
CHROMA_HOST=http://localhost:8000
# Collection name for storing indexed chunks
CHROMA_COLLECTION=nexus
# ===========================================
# Embedding Settings
# ===========================================
# Embedding model name (for Ollama)
# Uses Nomic Embed Text V2 with instruction prefixes
EMBEDDING_MODEL=nomic-embed-text
# Ollama server URL (dev environment)
OLLAMA_HOST=http://localhost:11434
# ===========================================
# LLM Settings
# ===========================================
# LLM model name
# Dev: gpt-oss:20b (via Ollama)
# Prod: gpt-5.2 (via OpenAI API)
LLM_MODEL=gpt-oss:20b
# OpenAI API key (production only - injected via CI/CD)
# OPENAI_API_KEY=sk-...
# OpenAI-compatible API base URL
# Leave unset to use Ollama in dev
# Set to https://api.openai.com/v1 for production
# OPENAI_BASE_URL=https://api.openai.com/v1
# ===========================================
# Retrieval Settings
# ===========================================
# Number of chunks to retrieve per query
RETRIEVAL_TOP_K=8
# Maximum chunks per file (diversity constraint)
RETRIEVAL_MAX_PER_FILE=2
# Maximum L2 distance for retrieved chunks (lower = stricter, default 1.5)
SIMILARITY_THRESHOLD=1.5
# ===========================================
# Logging Settings
# ===========================================
# Log level: DEBUG, INFO, WARNING, ERROR
LOG_LEVEL=INFO
# Log format: json (machine-readable) or console (human-readable)
LOG_FORMAT=json