haiku.rag/haiku_rag_slim/haiku/rag/store/models
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
..
__init__.py
chunk.py Return search results as agent text, images and structured content 2026-09-04 13:00:15 +03:00
citation.py Remove the environment overrides and the last unnamed-database wording 2026-09-03 15:12:09 +03:00
document.py Use astimezone, add timezone tests, linting 2026-09-03 17:48:09 +03:00
document_item.py Remove unreachable code and fix two defects it surfaced 2026-07-26 18:45:48 +03:00