haiku.rag/haiku_rag_slim/haiku/rag/config
Yiorgis Gozadinos 2000098e16
Say which commands cover a set, and what a shared id does
Three groups, not two: `search`, `ask`, `analyze` and `chat` cover the set,
`settings`, `init-config` and `download-models` open no database, and every
other command works on one — or on a configured set of one, which is
unambiguous and keeps its name. A database named in `lancedb.databases` keeps
that name whether or not it is the only one covered; only `lancedb.uri` places
one without naming it.

Document ids repeat between copies of a database, where the sandbox refuses a
duplicate but the chat filter's `id IN (...)` matches the document in every
copy. `build_document_id_filter` claimed ids never widen a selection.

Document the facade: `covers_multiple`, `source_names`, `source`,
`reader_for`, `clients_for`, the lifetime of a borrowed client, and
`sources=None` against `sources=[]`.

Drop the vision callout from the README, which the features list already
covers.
2026-08-26 13:03:58 +03:00
..
__init__.py Make get_config the only configuration lookup 2026-08-19 14:43:40 +03:00
loader.py Treat empty env vars as unset in config expansion 2026-06-25 12:41:04 +03:00
models.py Say which commands cover a set, and what a shared id does 2026-08-26 13:03:58 +03:00