rag_search
Retrieve ranked passages from indexed documents to read and quote as source material. Returns document id, ordinal, relevance score and chunk_id for follow-up reading.
Instructions
Search the indexed documents and return the most relevant passages.
Retrieval only: no text is generated, so this is the cheap and fast call. Prefer it when you want source material to read and quote yourself. Returns each passage with its document id, ordinal, relevance score and chunk_id; pass a chunk_id to rag_get_document to read around it. Use rag_answer instead only if you want the service to compose the answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |