Class DynamicRetrievalPredictorMetadata (0.13.5)

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

Describes the metadata about the dynamic retrieval predictor.

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

Attributes

Name Description
version google.cloud.discoveryengine_v1beta.types.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata.Version
The version of the predictor which was used in dynamic retrieval.
prediction float
The value of the predictor. This should be between [0, 1] where a value of 0 means that the query would not benefit from grounding, while a value of 1.0 means that the query would benefit the most. In between values allow to differentiate between different usefulness scores for grounding. This field is a member of oneof_ _prediction.

Classes

Version

Version(value)

The version of the predictor which was used in dynamic retrieval.