Class GoogleSearchRetrieval (1.48.0)

GoogleSearchRetrieval(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

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(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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