haops_rag_query
Retrieve relevant chunks from a project corpus using hybrid BM25+vector search. Returns top-K results with entity citations.
Instructions
Hybrid BM25+vector retrieval over a HAOps project corpus. Returns top-K chunks with entity citations. Example: { projectSlug: "fdev", text: "F4 manifest cache", topK: 5 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Retrieval mode: "hybrid" (default, BM25+vector RRF), "vector" (dense only), "bm25" (keyword only) | |
| text | Yes | Search query text (1–4096 chars) | |
| topK | No | Maximum chunks to return (1–50, default 8) | |
| format | No | "compact" (default) returns text+entityUrl+score; "ui" adds scoreComponents breakdown | |
| entityTypes | No | Filter by entity types (e.g. ["feature", "module", "issue"]). Omit for all types. | |
| projectSlug | Yes | The project slug (URL identifier) of the project to query |