smartSearch
Convert user-facing natural-language questions into RushDB SearchQuery, execute them against your project schema, and return matching records with the generated query.
Instructions
Convert a natural-language question into a RushDB SearchQuery using the project schema, execute it, and return matching records plus the generated query. Use this for user-facing questions such as "Who are piloting Falcon?" or "Find planets 3-5 hops away from Tatooine". For direct vector similarity over an embedding index, use vectorSearch instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Natural-language search request to convert into a SearchQuery and execute. | |
| currentQuery | No | Optional current SearchQuery context from a dashboard/query-builder session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| total | Yes | ||
| warnings | Yes | ||
| searchQuery | Yes |