haiku.rag/haiku_rag_slim/haiku/rag/store
Yiorgis Gozadinos 2582f2c05a
Expand MCP search results and render the matched chunk's metadata
Both search tools pass their results through HaikuRAG.expand_context, as
every other consumer of search results already did, so a client reads
the hit in its section rather than the chunk that matched. The rendering
gains an opt-in include_chunk_meta that shows the metadata stored with
the matched chunk beyond haiku.rag's structural keys, labelled as the
matched chunk's because an expanded passage spans several chunks and
only the anchor's metadata survives expansion. The capabilities' rendering
is unchanged.

Refs #599
2026-09-04 14:12:12 +03:00
..
models Expand MCP search results and render the matched chunk's metadata 2026-09-04 14:12:12 +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
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