-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrag.yaml
More file actions
69 lines (54 loc) · 1.41 KB
/
Copy pathrag.yaml
File metadata and controls
69 lines (54 loc) · 1.41 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
66
67
68
69
# yaml-language-server: $schema=dist/rag.schema.json
# AgentContextOS — platform configuration
# This is the portability contract: change backends here, nothing else.
# Full schema: dist/rag.schema.json | Validate: ragctl config validate rag.yaml
# Reference configs: examples/configs/
version: "1"
platform:
name: agentcontextos
env: local # local | staging | production
backends:
vector_store:
provider: none # set to lancedb, pgvector, qdrant, etc. to activate
keyword_store:
provider: none
graph_store:
provider: none
# Step 3.5 — corpus registry the corpus router reads visible corpora from.
# `none`/`in_memory` keep local dev creds-free; set `postgres` in prod.
corpus_store:
provider: none
embedder:
provider: none # set to ollama, openai, hf_local, etc.
model: ""
reranker:
provider: none
llm:
provider: none
model: ""
cache:
provider: memory
ttl_seconds: 3600
queue:
provider: inproc
storage:
provider: local_fs
config:
root: ".data/storage"
secrets:
provider: env
auth:
provider: none
telemetry:
exporter: none
retrieval:
top_k: 10
hybrid_weights:
dense: 0.5
sparse: 0.3
graph: 0.2
# Step 3.5 — corpus router. `all` fans out across every visible corpus;
# switch to `static_rules` / `learned` once corpora + rules are registered.
routing:
strategy: all
fan_out: true