Class GoogleSearchRetrieval (1.48.0)

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

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

Attribute

NameDescription
disable_attribution bool
Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.

Methods

GoogleSearchRetrieval

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

Initializes a Google Search Retrieval tool.

Parameter
NameDescription
disable_attribution bool

Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.