Class GroundingAttribution (1.48.0)

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

Grounding attribution.

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

NameDescription
web google.cloud.aiplatform_v1beta1.types.GroundingAttribution.Web
Optional. Attribution from the web. This field is a member of oneof_ reference.
retrieved_context google.cloud.aiplatform_v1beta1.types.GroundingAttribution.RetrievedContext
Optional. Attribution from context retrieved by the retrieval tools. This field is a member of oneof_ reference.
segment google.cloud.aiplatform_v1beta1.types.Segment
Output only. Segment of the content this attribution belongs to.
confidence_score float
Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. This field is a member of oneof_ _confidence_score.

Classes

RetrievedContext

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

Attribution from context retrieved by the retrieval tools.

Web

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

Attribution from the web.

Methods

GroundingAttribution

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

Grounding attribution.

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