Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
65 lines (55 loc) · 2.74 KB
/
Copy path.env.example
File metadata and controls
65 lines (55 loc) · 2.74 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
64
65
# Copy to .env and fill in what you need. Every value is optional.
# Reasoning. `claude` needs credentials; `template` is the deterministic fallback.
# ANTHROPIC_API_KEY=sk-ant-...
# OPS_RECALL_REASONER=claude
# OPS_RECALL_MODEL=claude-opus-5
# OPS_RECALL_AGENTIC_CHECKS=true
# Embeddings. `hashing` runs offline with nothing installed; `fastembed` runs
# real weights locally (pip install -e ".[fastembed]", no key); `voyage` is the
# hosted option. Leave OPS_RECALL_MIN_SIMILARITY unset when you change this --
# the abstention threshold belongs to the geometry, not to the config.
# OPS_RECALL_EMBEDDER=fastembed
# OPS_RECALL_FASTEMBED_MODEL=BAAI/bge-small-en-v1.5
# OPS_RECALL_EMBEDDER=voyage
# OPS_RECALL_VOYAGE_API_KEY=pa-...
# Only for a model this build has no width for; a wrong value fails the index.
# OPS_RECALL_VOYAGE_DIM=1024
# Storage. Unset means an embedded in-memory Qdrant rebuilt at startup.
# OPS_RECALL_QDRANT_URL=http://localhost:6333
# OPS_RECALL_QDRANT_API_KEY=
# OPS_RECALL_QDRANT_PATH=./.qdrant
# Retrieval and time decay.
# OPS_RECALL_HALF_LIFE_DAYS=365
# OPS_RECALL_RECENCY_FLOOR=0.6
# OPS_RECALL_MIN_SIMILARITY=0.50
# OPS_RECALL_TOP_K=3
# API auth. Unset leaves every endpoint except /healthz open, which is fine
# for the offline demo and not for a deployment. Admin keys are also read keys.
# OPS_RECALL_API_KEYS=["s3cret"]
# OPS_RECALL_ADMIN_API_KEYS=["another-s3cret"]
# PagerDuty signs webhooks with the subscription's own secret; list more than
# one to rotate without a deployment in between.
# OPS_RECALL_PAGERDUTY_WEBHOOK_SECRETS=[]
# Telemetry backends, in precedence order, joined by `+`. `auto` means the
# bundled JSON snapshot, which is the offline demo and not a deployment.
# A backend named here and not configured below fails at startup rather than
# silently falling back to the fixture.
# OPS_RECALL_TELEMETRY=prometheus+postgres+tls+fixture
# Prometheus. Metric names are site-specific, so point QUERIES at a JSON file
# of query name -> PromQL to override any subset of the defaults.
# OPS_RECALL_PROMETHEUS_URL=http://prometheus:9090
# OPS_RECALL_PROMETHEUS_TOKEN=
# OPS_RECALL_PROMETHEUS_QUERIES=./prometheus-queries.json
# OPS_RECALL_PROMETHEUS_TIMEOUT=10
# PostgreSQL. The database name the corpus uses -> a libpq DSN. Read-only is
# enough: both probes are catalog queries.
# OPS_RECALL_POSTGRES_DSNS={"orders_db": "postgresql://readonly@db-prod-01/orders"}
# OPS_RECALL_POSTGRES_CONNECT_TIMEOUT=10
# OPS_RECALL_POSTGRES_STATEMENT_TIMEOUT=10
# TLS certificate expiry. A port in the probe's host argument wins over this.
# OPS_RECALL_TLS_PORT=443
# OPS_RECALL_TLS_TIMEOUT=5
# Live ingest (used by `ops-recall ingest --live`).
# OPS_RECALL_SLACK_BOT_TOKEN=xoxb-...
# OPS_RECALL_SLACK_CHANNELS=["C02OPSWAR"]
# OPS_RECALL_PAGERDUTY_API_KEY=