-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
133 lines (121 loc) · 3.42 KB
/
config.example.yaml
File metadata and controls
133 lines (121 loc) · 3.42 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# ============================================================================
# ZettelForge Configuration — Example
# ============================================================================
#
# Copy this file to config.yaml and uncomment the sections you need.
# Only include settings you want to change — everything else uses defaults
# from config.default.yaml.
#
# Quick start:
# cp config.example.yaml config.yaml
#
# ============================================================================
# ── Scenario 1: Default (zero-config, SQLite + LanceDB) ──────────────────
#
# Everything works out of the box. SQLite for notes/KG/entities,
# LanceDB for vector search. No Docker, no external services.
#
# storage:
# data_dir: ~/.amem
#
# backend: sqlite
#
# embedding:
# url: http://127.0.0.1:11434
# model: nomic-embed-text-v2-moe:latest
#
# llm:
# model: qwen2.5:3b
# ── Scenario 2: Air-gapped / offline ──────────────────────────────────────
#
# No network access. Ollama runs locally with pre-downloaded models.
# SQLite backend (default) needs no external services.
#
# storage:
# data_dir: /opt/zettelforge/data
#
# embedding:
# url: http://127.0.0.1:11434
# model: nomic-embed-text
# ── Scenario 3: Team server (TypeDB via zettelforge-enterprise) ───────────
#
# Requires `pip install zettelforge-enterprise`.
# TypeDB on a dedicated server, Ollama on a GPU box.
#
# backend: typedb
#
# typedb:
# host: typedb.internal.lan
# port: 1729
# database: team_cti
# username: analyst
# password: changeme
#
# embedding:
# url: http://gpu-box.internal.lan:11434
# model: nomic-embed-text-v2-moe:latest
#
# llm:
# model: qwen2.5:7b
# url: http://gpu-box.internal.lan:11434
# ── Scenario 4: Azure deployment ───────────────────────────────────────────
#
# ZettelForge as App Service, SQLite on Azure Files mount.
# Optional: TypeDB as Azure Container Instance (requires enterprise extension).
#
# storage:
# data_dir: /home/site/data # Azure Files mount
#
# embedding:
# url: http://localhost:11434 # Ollama sidecar container
# model: nomic-embed-text
#
# llm:
# model: qwen2.5:3b
# url: http://localhost:11434
# ── Scenario 5: High-throughput ingestion ──────────────────────────────────
#
# Processing large volumes of threat reports. Permissive extraction,
# aggressive caching, relaxed governance.
#
# extraction:
# max_facts: 10
# min_importance: 1
#
# retrieval:
# default_k: 25
# similarity_threshold: 0.10
# max_graph_depth: 3
#
# cache:
# ttl_seconds: 600
# max_entries: 4096
#
# governance:
# min_content_length: 1
#
# logging:
# level: WARNING
# log_causal: false
# ── Scenario 6: Strict analysis mode ──────────────────────────────────────
#
# High-confidence answers only. Tight filtering, authoritative sources only.
#
# extraction:
# max_facts: 3
# min_importance: 7
#
# retrieval:
# default_k: 5
# similarity_threshold: 0.50
# entity_boost: 3.0
# max_graph_depth: 1
#
# synthesis:
# default_format: synthesized_brief
# tier_filter:
# - A
#
# logging:
# level: DEBUG
# log_intents: true