-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (49 loc) · 1.7 KB
/
Copy path.env.example
File metadata and controls
59 lines (49 loc) · 1.7 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
# TriBridRAG Environment Configuration
# Copy this file to .env and fill in the values
# ===== API Keys =====
VOYAGE_API_KEY=your-voyage-key
COHERE_API_KEY=your-cohere-key
JINA_API_KEY=your-jina-key
LANGTRACE_API_KEY=your-langtrace-key # Optional (UI checks presence only)
# Generation and OpenAI embeddings call the local LiteLLM gateway. Their upstream
# provider secrets, including OPENAI_API_KEY, belong only in infra/litellm.env.
LITELLM_BASE_URL=http://127.0.0.1:54000/v1
LITELLM_API_KEY=sk-ragweld-local
# ===== Database =====
# PostgreSQL (pgvector + FTS)
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=tribrid_rag
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# Docker bind-mount location for DB data (recommended).
# Default in docker-compose.yml: ../tribrid-rag-db (sibling to this repo)
# TRIBRID_DB_DIR=/Users/davidmontgomery/tribrid-rag-db
# Neo4j (Knowledge Graph)
NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=password
# Neo4j container memory (for large corpora / graph indexing).
# These are applied by docker-compose.yml.
# NEO4J_HEAP_INIT=2G
# NEO4J_HEAP_MAX=4G
# NEO4J_PAGECACHE=2G
# ===== Model Selection (validated runtime config) =====
# Embedding + generation models/providers are configured via Pydantic config:
# - Global template: tribrid_config.json
# - Per-corpus overrides: stored in Postgres corpus_configs
#
# Use the UI (e.g. Retrieval → Generation Models) instead of adding model
# settings here.
# ===== Server =====
SERVER_HOST=0.0.0.0
SERVER_PORT=58012
DEBUG=false
# ===== Observability =====
GRAFANA_URL=http://localhost:3000
PROMETHEUS_URL=http://localhost:59090
METRICS_ENABLED=true
TRACING_ENABLED=true
# ===== Paths =====
MODELS_DIR=models
DATA_DIR=data