Class GoogleSearchRetrieval (1.49.0)

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

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

Attribute

Name Description
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
Name Description
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.