Class SearchSource (0.12.3)

SearchSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message to be used for grounding with Vertex AI Search.

Attributes

Name Description
serving_config str
The resource name of the Engine to use. Format: projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}
max_result_count int
Number of search results to return. The default value is 10. The maximumm allowed value is 10.
filter str
Filter expression to be applied to the search. The syntax is the same as SearchRequest.filter.
safe_search bool
If set, safe search is enabled in Vertex AI Search requests.