Reference documentation and code samples for the Google Cloud Ces V1 Client class DataStoreTool.
Tool to retrieve from Vertex AI Search datastore or engine for grounding.
Accepts either a datastore or an engine, but not both. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction .
Generated from protobuf message google.cloud.ces.v1.DataStoreTool
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ data_store_source
↳ engine_source
DataStoreTool\EngineSource
Optional. Search within an Engine (potentially across multiple DataStores).
↳ name
string
Required. The data store tool name.
↳ description
string
Optional. The tool description.
↳ boost_specs
↳ modality_configs
↳ filter_parameter_behavior
int
Optional. The filter parameter behavior.
getDataStoreSource
Optional. Search within a single specific DataStore.
hasDataStoreSource
setDataStoreSource
Optional. Search within a single specific DataStore.
$this
getEngineSource
Optional. Search within an Engine (potentially across multiple DataStores).
hasEngineSource
setEngineSource
Optional. Search within an Engine (potentially across multiple DataStores).
$this
getName
Required. The data store tool name.
string
setName
Required. The data store tool name.
var
string
$this
getDescription
Optional. The tool description.
string
setDescription
Optional. The tool description.
var
string
$this
getBoostSpecs
Optional. Boost specification to boost certain documents.
setBoostSpecs
Optional. Boost specification to boost certain documents.
$this
getModalityConfigs
Optional. The modality configs for the data store.
setModalityConfigs
Optional. The modality configs for the data store.
$this
getFilterParameterBehavior
Optional. The filter parameter behavior.
setFilterParameterBehavior
Optional. The filter parameter behavior.
$this
getSearchSource
string

