haiku.rag/haiku_rag_slim/haiku/rag
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
..
capabilities Remove the environment overrides and the last unnamed-database wording 2026-09-03 15:12:09 +03:00
chat Remove the environment overrides and the last unnamed-database wording 2026-09-03 15:12:09 +03:00
chunkers Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
client Fix missing timezone info on ingested docs. mcp schema requires TZ 2026-09-03 17:48:01 +03:00
config Default to ollama:qwen3.8 2026-09-04 12:36:36 +03:00
converters Default to ollama:qwen3.8 2026-09-04 12:36:36 +03:00
embeddings Accept a /v1 suffix on the vLLM reranker base_url 2026-08-28 15:46:42 +03:00
ingester Report a stemless --db path as a usage error and separate the two lancedb.uri migrations 2026-09-03 15:12:09 +03:00
inspector Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +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 Navigate documents by outline and section from the MCP server 2026-09-04 13:00:15 +03:00
sources Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
store Expand MCP search results and render the matched chunk's metadata 2026-09-04 14:12:12 +03:00
tools Return search results as agent text, images and structured content 2026-09-04 13:00:15 +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 --no-agents to leave the model-backed MCP tools out 2026-09-04 13:00:15 +03:00
circuit_breaker.py Move CircuitBreaker to a shared module 2026-07-08 11:03:30 +03:00
cli.py Add --no-agents to leave the model-backed MCP tools out 2026-09-04 13:00:15 +03:00
context.py Navigate documents by outline and section from the MCP server 2026-09-04 13:00:15 +03:00
doctor.py Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +03:00
logging.py Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
mcp.py Expand MCP search results and render the matched chunk's metadata 2026-09-04 14:12:12 +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 Cover the configured database set from the MCP server 2026-09-04 13:00:14 +03:00