search
Retrieve the most relevant document chunks with source citations using hybrid BM25+dense retrieval, optional reranking, and transparent scores. Empty results mean no supporting evidence found.
Instructions
Search a collection and return the most relevant chunks, each with its source.
mode is "hybrid" (BM25 + semantic, default), "dense" (semantic only), or "bm25"
(keyword only). rerank applies the cross-encoder reranker if one is configured.
Each result includes per-stage scores for transparency. An empty list means nothing
relevant was found — treat that as "not in the documents".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hybrid | |
| query | Yes | ||
| top_k | No | ||
| rerank | No | ||
| collection | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |