haiku.rag/docs/configuration
Yiorgis Gozadinos 590719fca7
Read a document, chunk or picture from the database that names it
`resolve_document` and `find_document` selected a document through a listing,
then dropped its source and looked the id up across the set. Ids repeat between
copies of a database, so a title that matched in one could be answered by
another's document.

`get_document_by_id` and `get_chunk_by_id` join `get_picture_bytes` in taking an
optional `source`, and all three route it through `clients_covering`, so a name
the client does not cover raises `UnknownDatabaseError` rather than being
answered by the database it does cover. Without a source the reads are as they
were, answering from the first database in configured order that holds the id.
2026-08-28 13:30:05 +03:00
..
index.md Correct the multi-database prose 2026-08-27 11:40:52 +03:00
processing.md Dedupe picture chunks and skip small pictures at chunking 2026-07-09 10:24:32 +03:00
prompts.md Make the documented configuration match the code 2026-08-19 15:52:50 +03:00
providers.md Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
qa.md Make the documented configuration match the code 2026-08-19 15:52:50 +03:00
storage.md Read a document, chunk or picture from the database that names it 2026-08-28 13:30:05 +03:00