You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,8 +147,20 @@ Settings are initialized by `openkb init`, and stored in `.openkb/config.yaml`:
147
147
model: gpt-5.4 # LLM model (any LiteLLM-supported provider)
148
148
language: en # Wiki output language
149
149
pageindex_threshold: 20# PDF pages threshold for PageIndex
150
+
storage_backend: sqlite # Storage backend: sqlite (default) or json
150
151
```
151
152
153
+
### Storage Backend
154
+
155
+
OpenKB supports two storage backends for the file hash registry:
156
+
157
+
| Backend | Description | Use Case |
158
+
|---------|-------------|----------|
159
+
| `sqlite` | SQLite database (default) | Better concurrency, scalability, recommended for production |
160
+
| `json` | JSON file | Simple, human-readable, for small installations |
161
+
162
+
Migration from JSON to SQLite happens automatically when you switch to `sqlite` backend and a `hashes.json` file exists. The JSON file is preserved but no longer used.
163
+
152
164
Model names use `provider/model` LiteLLM [format](https://docs.litellm.ai/docs/providers) (OpenAI models can omit the prefix):
0 commit comments