7. search_data — Search Data
Mode: Both · Category: Data Retrieval
Searches for record instances using keyword matching or semantic search. The LLM always provides the search query and keywords at runtime.
- id: search_data
- id: search_data instance_limit: 10
- id: search_data
unique_id: vendor_search
description: Semantic search over vendor records.
search_mode: semantic
instance_limit: 10
vector_store_id: my-vector-store-ref
similarity_threshold: 0.7
return_row_attributes:
- id: VENDOR.VENDOR_NAME
- id: VENDOR.VENDOR_COUNTRY
filter:
pql_template:
pql: 'FILTER "VENDOR"."ACTIVE" = 1'
name: Active Vendors Only
![]() |
Field | Type | Description |
|---|---|---|
| string | " |
| int | Max results per keyword/query (default: 5, max: 20). |
| string | Vector store reference for semantic search. |
| float | Min similarity score for results (default: 0.0). |
| list | Attributes to include in result rows. |
| object | Pre-filter applied before searching (filter ID or PQL template). |
