haiku.rag/haiku_rag_slim/haiku/rag/store
Yiorgis Gozadinos 5653e876a8
Return search results as agent text, images and structured content
search_documents and search_documents_by_image return a ToolResult: the
format_for_agent rendering with rank, Document ID and Collection so the
text alone drives the document tools; one ImageContent per distinct
picture, labelled with its result; and the SearchResult list without
image_data as structured content. format_for_agent gains an opt-in
include_document_id, so the capabilities' rendering is unchanged.
collect_pictures is the one place pictures are deduplicated and
validated for both wire formats.

Refs #599
2026-09-04 13:00:15 +03:00
..
models Return search results as agent text, images and structured content 2026-09-04 13:00:15 +03:00
repositories Use astimezone, add timezone tests, linting 2026-09-03 17:48:09 +03:00
upgrades Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +03:00
__init__.py Answer for an unknown database name with one type 2026-08-27 18:04:27 +03:00
compression.py Collapse docling compression to a single function 2026-06-24 10:43:27 +03:00
engine.py Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +03:00
exceptions.py State what the code does, not what it replaced 2026-08-28 15:13:52 +03:00
info.py Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +03:00
schema.py Update lancedb to 0.37.1 2026-08-31 18:54:48 +03:00