Class VertexAISearch.Builder
- Enclosing class:
- VertexAISearch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract VertexAISearchbuild()abstract VertexAISearch.BuilderSetter for datastore.dataStoreSpecs(VertexAISearchDataStoreSpec... dataStoreSpecs) Setter for dataStoreSpecs.dataStoreSpecs(VertexAISearchDataStoreSpec.Builder... dataStoreSpecsBuilders) Setter for dataStoreSpecs builder.abstract VertexAISearch.BuilderdataStoreSpecs(List<VertexAISearchDataStoreSpec> dataStoreSpecs) Setter for dataStoreSpecs.abstract VertexAISearch.BuilderSetter for engine.abstract VertexAISearch.BuilderSetter for filter.abstract VertexAISearch.BuildermaxResults(Integer maxResults) Setter for maxResults.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataStoreSpecs
public abstract VertexAISearch.Builder dataStoreSpecs(List<VertexAISearchDataStoreSpec> dataStoreSpecs) Setter for dataStoreSpecs.dataStoreSpecs: Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used.
-
dataStoreSpecs
Setter for dataStoreSpecs.dataStoreSpecs: Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used.
-
dataStoreSpecs
public VertexAISearch.Builder dataStoreSpecs(VertexAISearchDataStoreSpec.Builder... dataStoreSpecsBuilders) Setter for dataStoreSpecs builder.dataStoreSpecs: Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used.
-
datastore
Setter for datastore.datastore: Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
-
engine
Setter for engine.engine: Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
-
filter
Setter for filter.filter: Optional. Filter strings to be passed to the search API.
-
maxResults
Setter for maxResults.maxResults: Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10.
-
build
-