haiku.rag/haiku_rag_slim/haiku/rag/store
Yiorgis Gozadinos 995d081aa1
Visualize the exact context the model saw via Citation.doc_item_refs
visualize_chunk re-expanded chunks from scratch to recover their refs,
which could not faithfully reproduce the original merge, scores, and
clip — so a visualization could highlight different pages than the
citation covered. Carry the cited items on Citation.doc_item_refs and
resolve bounding boxes from them directly; re-expansion remains only as
the fallback for callers with no stored context (CLI, inspector). Chat,
inspector, the app endpoint, and the frontend pass the refs through.
2026-07-09 11:51:37 +03:00
..
models Visualize the exact context the model saw via Citation.doc_item_refs 2026-07-09 11:51:37 +03:00
repositories Rename document_meta identity column document_id to id 2026-07-08 16:32:55 +03:00
upgrades Rename document_meta identity column document_id to id 2026-07-08 16:32:55 +03:00
__init__.py require explicit migrate command for database migrations 2026-01-19 13:22:09 +02:00
compression.py Collapse docling compression to a single function 2026-06-24 10:43:27 +03:00
engine.py Rename document_meta identity column document_id to id 2026-07-08 16:32:55 +03:00
exceptions.py require explicit migrate command for database migrations 2026-01-19 13:22:09 +02:00