Class GroundingSource (0.13.2)

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

Grounding source.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

Name Description
inline_source google.cloud.discoveryengine_v1.types.GenerateGroundedContentRequest.GroundingSource.InlineSource
If set, grounding is performed with inline content. This field is a member of oneof_ source.
search_source google.cloud.discoveryengine_v1.types.GenerateGroundedContentRequest.GroundingSource.SearchSource
If set, grounding is performed with Vertex AI Search. This field is a member of oneof_ source.
google_search_source google.cloud.discoveryengine_v1.types.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource
If set, grounding is performed with Google Search. This field is a member of oneof_ source.

Classes

GoogleSearchSource

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

Google Search config parameters.

InlineSource

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

Message to be used for grounding based on inline content.

SearchSource

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

Message to be used for grounding with Vertex AI Search.