haiku.rag/haiku_rag_slim/haiku/rag
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
..
capabilities Name the collection on a retrieved image, not only in the text 2026-08-28 12:02:16 +03:00
chat Tell one collection's pictures from another's 2026-08-28 10:35:46 +03:00
chunkers Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
client Read a document, chunk or picture from the database that names it 2026-08-28 13:30:05 +03:00
config Correct the multi-database prose 2026-08-27 11:40:52 +03:00
converters Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
embeddings Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
ingester Translate every database-opening failure in haiku-ingester 2026-08-28 09:59:37 +03:00
inspector Say what a federated client owns, and trim four comments 2026-08-28 09:15:26 +03:00
providers Wire providers.docling_serve.timeout through to the client 2026-08-19 13:30:45 +03:00
reranking Search one database the ordinary way, however it was selected 2026-08-27 14:41:10 +03:00
sandbox Leave no database reading when a federated fan-out fails 2026-08-28 12:02:07 +03:00
sources Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
store Read a created database's embedder with its settings 2026-08-27 18:04:27 +03:00
tools Read a document, chunk or picture from the database that names it 2026-08-28 13:30:05 +03:00
__init__.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
app.py Let a config-only command work on no database 2026-08-27 18:04:28 +03:00
circuit_breaker.py Move CircuitBreaker to a shared module 2026-07-08 11:03:30 +03:00
cli.py Say what a federated client owns, and trim four comments 2026-08-28 09:15:26 +03:00
context.py Ask and analyze across several databases 2026-08-24 10:03:46 +03:00
doctor.py Read a database's stored settings once 2026-08-25 17:38:32 +03:00
logging.py Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
mcp.py Let the MCP server be told which database once 2026-08-27 15:41:03 +03:00
s3.py swap aioboto3 for obstore in the S3 client path 2026-05-11 11:29:42 +03:00
telemetry.py Route eval scripts through the shared telemetry configure 2026-07-10 11:38:33 +03:00
uri.py Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
utils.py Leave no database reading when a federated fan-out fails 2026-08-28 12:02:07 +03:00