ai_search_similar
Perform semantic search across Odoo records with natural-language queries. Filter results by model, view type, or company and receive ranked hits with scores and snippets.
Instructions
Semantic search across tokenized Odoo records. Embeds the query with the configured provider, searches the per-DB Qdrant collection. Filterable by model, view_type, company. Returns ranked hits with score + snippet.
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": {
"query": "<query>"
},
"name": "ai_search_similar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| model | No | Restrict to one model (optional) | |
| query | Yes | Natural-language query | |
| view_type | No | ||
| company_id | No | Restrict to one company (optional) | |
| connection | No | default | |
| score_threshold | No |