Class grounding (1.44.0)

grounding()

Grounding namespace.

Classes

GoogleSearchRetrieval

GoogleSearchRetrieval(disable_attribution: typing.Optional[bool] = None)

Tool to retrieve public web data for grounding, powered by Google Search.

Retrieval

Retrieval(
    source: vertexai.generative_models._generative_models.grounding.VertexAISearch,
    disable_attribution: typing.Optional[bool] = None,
)

Defines a retrieval tool that model can call to access external knowledge.

VertexAISearch

VertexAISearch(datastore: str)

Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation