Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@ pageindex_threshold: 20 # PDF pages threshold for PageIndex
# - dataset
# - model

# Optional: reject an entity whose LLM-returned type doesn't match
# entity_types (above) instead of coercing it to "other". Off by default
# (backward compatible); turn on for a narrow, domain-specific entity_types
# list where an "other"-typed entity usually signals a bad/too-specific
# candidate you'd rather drop than keep.
# strict_entity_types: false

# Optional: how concept/entity pages absorb new documents on `openkb add`.
# rewrite default — send the existing page's full body to the LLM and
# let it rewrite the whole page to incorporate the new document.
# append cheaper for large/mature wikis — instead of a full rewrite,
# generate a short note about the new document and append it to
# the page under a "## Notes" heading (no full-page LLM rewrite).
# concept_update_mode: rewrite

# Optional: LLM / LiteLLM tuning. Keys are forwarded to LiteLLM; `timeout` and
# `extra_headers` apply per request, the rest are set as litellm.<key>.
# litellm:
Expand Down
8 changes: 8 additions & 0 deletions examples/configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ pageindex_threshold: 20 # PDF pages threshold for PageIndex
# - dataset
# - model

# Optional: reject an entity whose LLM-returned type doesn't match
# entity_types (above) instead of coercing it to "other". Off by default
# (backward compatible); turn on for a narrow, domain-specific entity_types
# list where an "other"-typed entity usually signals a bad/too-specific
# candidate you'd rather drop than keep.
# strict_entity_types: false

# Optional: LLM / LiteLLM tuning. Keys are forwarded to LiteLLM; `timeout` and
# `extra_headers` apply per request, the rest are set as litellm.<key>.
# litellm:
Expand All @@ -114,6 +121,7 @@ pageindex_threshold: 20 # PDF pages threshold for PageIndex
| `concurrency` | `null` | Caps concurrent LLM calls OpenKB makes during ingest — both PageIndex's indexing of a long document and OpenKB's own concept/entity compilation. The two never run at once for the same document, so one setting covers both. Lower it if you hit provider rate limits or "too many open files" on large PDFs. `null` lets each stage apply its own default. |
| `parallel_tool_calls` | unset | Whether the LLM agents (query, chat, lint, skill) may call tools in parallel. Unset keeps OpenKB's per-agent defaults; `true`/`false` force allow/sequential for every agent; `null` omits the setting (provider default). **Amazon Bedrock needs `null`** (see below). |
| `entity_types` | 7 defaults | Custom vocabulary for entity pages. `other` is always kept. |
| `strict_entity_types` | `false` | When `true`, drops an entity whose type doesn't match `entity_types` instead of coercing it to `other`. |
| `litellm:` | – | A pass-through block for LiteLLM. See below. |

### The `litellm:` block
Expand Down
Loading