haiku.rag/haiku_rag_slim/haiku/rag
Yiorgis Gozadinos 025e042fd0
Order cross-database fusion by cosine similarity to the query
Retrieval scores are each database's own rank arithmetic; the databases
in a selection share an embedder, so similarity in that one space is the
signal comparable across databases by construction. Measured product to
product against score ordering: +8.3 to +16.6pp recall@5 across five
cells on two corpora, flat in collection count and corpus shape where
score ordering dips with both, closing roughly 60% of the gap to a
reranker; order-sensitivity residual 0.00pp in every cell. Exact ties
collapse from 51-81% of candidates to under 1%. Full-text-only searches
keep retrieval-score order, having no query vector. The vector column
already travels with every search result, so the similarity costs no
additional transfer; per-chunk embeddings are materialized only for the
federated path that reads them.
2026-09-01 14:09:37 +03:00
..
capabilities Finish the comment pass, and escape document fields everywhere Rich renders 2026-08-28 15:34:47 +03:00
chat Finish the comment pass, and escape document fields everywhere Rich renders 2026-08-28 15:34:47 +03:00
chunkers Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
client Order cross-database fusion by cosine similarity to the query 2026-09-01 14:09:37 +03:00
config Honor configured vector metric during search 2026-08-31 21:38:00 +08:00
converters Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
embeddings Accept a /v1 suffix on the vLLM reranker base_url 2026-08-28 15:46:42 +03:00
ingester State what the code does, not what it replaced 2026-08-28 15:13:52 +03:00
inspector Finish the comment pass, and escape document fields everywhere Rich renders 2026-08-28 15:34:47 +03:00
providers Wire providers.docling_serve.timeout through to the client 2026-08-19 13:30:45 +03:00
reranking Accept a /v1 suffix on the vLLM reranker base_url 2026-08-28 15:46:42 +03:00
sandbox Finish the comment pass, and escape document fields everywhere Rich renders 2026-08-28 15:34:47 +03:00
sources Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
store Order cross-database fusion by cosine similarity to the query 2026-09-01 14:09:37 +03:00
tools Finish the comment pass, and escape document fields everywhere Rich renders 2026-08-28 15:34:47 +03:00
__init__.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
app.py Add --full-citations to ask and analyze 2026-08-31 16:31:09 +03:00
circuit_breaker.py Move CircuitBreaker to a shared module 2026-07-08 11:03:30 +03:00
cli.py Add --full-citations to ask and analyze 2026-08-31 16:31:09 +03:00
context.py Ask and analyze across several databases 2026-08-24 10:03:46 +03:00
doctor.py Repair an FTS index that covers no rows on write 2026-08-31 18:54:48 +03:00
logging.py Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
mcp.py State what the code does, not what it replaced 2026-08-28 15:13:52 +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 Add --full-citations to ask and analyze 2026-08-31 16:31:09 +03:00