haiku.rag/haiku_rag_slim/haiku/rag
Yiorgis Gozadinos 1d09b4e31b
Find a document in whichever database holds it
`get_document_by_id`, `get_document_by_uri` and `get_chunk_by_id` read
through repositories a client covering a set does not have, so a lookup by
identifier raised AttributeError and `resolve_document` with it. An
identifier says nothing about which database holds it, so every database is
asked at once and the first that has it, in configured order, answers.

On the evaluation side, `--db` overrides the configured set as the CLI
documents, and population refuses a set rather than ingesting into a
database the run would not read. A case filter matching nothing raises
instead of reporting 0.0000 as though it were a score.
2026-08-24 10:03:47 +03:00
..
capabilities Tell the analysis and RAG capabilities about the databases 2026-08-24 10:03:47 +03:00
chat Show one page of documents in the filter modal 2026-08-24 10:03:46 +03:00
chunkers Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
client Find a document in whichever database holds it 2026-08-24 10:03:47 +03:00
config Search several configured databases and fuse the results 2026-08-24 10:03:45 +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 Split the store module by responsibility 2026-08-20 12:13:51 +03:00
inspector Cover the configured set in the chat TUI 2026-08-24 10:03:46 +03:00
providers Wire providers.docling_serve.timeout through to the client 2026-08-19 13:30:45 +03:00
reranking Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
sandbox Ask and analyze across several databases 2026-08-24 10:03:46 +03:00
sources Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
store Move ConfigMismatchError to the store exceptions module 2026-08-24 10:03:46 +03:00
tools Move the wire rewrite into the compaction capability 2026-08-13 13:00:02 +03:00
__init__.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
app.py Ask and analyze across several databases 2026-08-24 10:03:46 +03:00
circuit_breaker.py Move CircuitBreaker to a shared module 2026-07-08 11:03:30 +03:00
cli.py Cover the configured set in the chat TUI 2026-08-24 10:03:46 +03:00
context.py Ask and analyze across several databases 2026-08-24 10:03:46 +03:00
doctor.py Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
logging.py Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
mcp.py Make get_config the only configuration lookup 2026-08-19 14:43:40 +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 Ask and analyze across several databases 2026-08-24 10:03:46 +03:00