Class VertexAISearch (1.117.0)

VertexAISearch(
 datastore: str,
 *,
 project: typing.Optional[str] = None,
 location: typing.Optional[str] = None
)

Retrieve from Vertex AI Search data store for grounding. See https://cloud.google.com/products/agent-builder

Methods

VertexAISearch

VertexAISearch(
 datastore: str,
 *,
 project: typing.Optional[str] = None,
 location: typing.Optional[str] = None
)

Initializes a Vertex AI Search tool.

Parameters
Name Description
datastore str

Required. Vertex AI Search data store resource name. Format: projects/{project}/locations/{location}/collections/default_collection/dataStores/{data_store} or {data_store}.

project str

Optional. Project ID of the data store. Must provide either the full data store resource name or data store id, project ID, and location.

location str

Optional. Location of the data store. Must provide either the full data store resource name or data store id, project ID, and location.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.