dakera_hybrid_search
Combine BM25 keyword and vector ANN semantic search in a single query. Adjust vector weight to balance between keyword-only and semantic-only retrieval, ideal for RAG when either alone falls short.
Instructions
BM25 + vector ANN hybrid search in a single pass. Omit vector for BM25-only mode. Use for RAG when pure semantic or keyword search alone is insufficient. vector_weight: 0.0=BM25, 1.0=vector (default 0.5).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>",
"text": "<text>"
},
"name": "dakera_hybrid_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text query for full-text search | |
| top_k | No | Number of results to return | |
| filter | No | Optional metadata filter | |
| vector | No | Query embedding; omit for BM25-only. | |
| namespace | Yes | Namespace to search in | |
| vector_weight | No | Vector score weight 0.0–1.0; text weight = 1−value. | |
| include_vectors | No | ||
| include_metadata | No |