haiku.rag/docs
Yiorgis Gozadinos 72ef18e39d
Reject unknown and out-of-range configuration values
Every section inherited plain BaseModel, so unknown keys were dropped
silently: providers.docling_serve.timeout was documented for months while
being ignored, and a typo in any setting took the default. Sections now
derive from ConfigModel, which forbids extras, so a stale or misspelled key
fails with its path. This already found search.context_radius in a live app
config and providers.vllm in soliplex's example.

converter, chunker and chunker_type are Literals. Sizes, limits,
dimensions, token budgets, attempt counts and breaker thresholds must be
positive; retention, delays, intervals and cooldowns non-negative;
similarity_threshold within 0-1; port within 0-65535. port 0 keeps its
OS-assigned meaning and worker_count allows 0 for an API-and-reaper-only
process.

get_reranker caught ImportError and returned None, so a configured reranker
whose extra was missing silently disappeared. It now propagates.
raise_missing_extra names the install command and re-raises when the failure
came from inside an installed package, so a broken transitive import is not
reported as a missing one. zeroentropy imported bare and now guards like the
others.

The haiku.rag package declares the jina extra. jina-local already worked
there through cross-encoder's transitive transformers and torch; the
resolved package set is unchanged, but the support is now promised rather
than inherited.

Provider fields stay unconstrained: get_model ends in a pass-through to
pydantic-ai for any provider it supports, so a Literal there would reject
valid configurations.
2026-08-19 15:32:51 +03:00
..
capabilities Refuse to compact evidence the host kept no record of 2026-08-13 15:46:23 +03:00
configuration Share the LanceDB session across connections 2026-08-18 14:58:17 +03:00
img Add ingester screenshot 2026-05-27 15:53:01 +03:00
stylesheets Landing page hero with TUI screen recording 2026-05-20 16:56:25 +03:00
apps.md Bind app example backend to loopback and document its lack of auth 2026-07-08 11:37:03 +03:00
benchmarks.md Lead the benchmarks page with results 2026-08-18 14:37:40 +03:00
changelog.md Improve documentation 2025-11-28 13:10:03 +02:00
chat.md Update caps documentation 2026-08-13 14:08:14 +03:00
cli.md Accept images on CLI ask/analyze and MCP tools 2026-07-25 10:35:25 +03:00
custom-pipelines.md Linting, doc edits 2026-08-18 12:18:10 +02:00
development.md Docs 2026-04-24 14:42:52 +03:00
index.md Fix the MCP registry entry and fill in package and docs metadata 2026-08-18 14:37:05 +03:00
ingester.md Classify obstore config errors as permanent 2026-08-06 12:53:45 +03:00
installation.md Reject unknown and out-of-range configuration values 2026-08-19 15:32:51 +03:00
mcp.md Accept images on CLI ask/analyze and MCP tools 2026-07-25 10:35:25 +03:00
overview.md Register the optional capabilities where agents are composed 2026-08-13 15:04:05 +03:00
python.md Linting, doc edits 2026-08-18 12:18:10 +02:00
remote-processing.md Wire providers.docling_serve.timeout through to the client 2026-08-19 13:30:45 +03:00
tools.md replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
tuning.md Remove the wix evaluation dataset 2026-08-14 14:46:51 +03:00
tutorial.md replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00