VertexAiSearchSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Specification of the Vertex AI Search tool.
Attributes |
|
---|---|
Name | Description |
data_store_specs |
MutableSequence[google.cloud.discoveryengine_v1.types.SearchRequest.DataStoreSpec]
Optional. Specs defining DataStores to filter on in a search call and configurations for those data stores. This is only considered for Engines with multiple data stores. |
filter |
str
Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an INVALID_ARGUMENT is
returned.
Filtering in Vertex AI Search is done by mapping the LHS
filter key to a key property defined in the Vertex AI Search
backend -- this mapping is defined by the customer in their
schema. For example a media customer might have a field
'name' in their schema. In this case the filter would look
like this: filter --> name:'ANY("king kong")'
For more information about filtering including syntax and
filter operators, see
Filter __
|