Class GoogleSearch (1.122.0)

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

GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
exclude_domains MutableSequence[str]
Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
blocking_confidence google.cloud.aiplatform_v1beta1.types.Tool.PhishBlockThreshold
Optional. Sites with confidence level chosen & above this value will be blocked from the search results. This field is a member of oneof_ _blocking_confidence.

Methods

GoogleSearch

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

GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields