Class RelevanceThresholdSpec (0.20.2)

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

Specification for relevance filtering on a specific sub-search.

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
relevance_threshold google.cloud.discoveryengine_v1beta.types.SearchRequest.RelevanceThreshold
Pre-defined relevance threshold for the sub-search. This field is a member of oneof_ relevance_threshold_spec.
semantic_relevance_threshold float
Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0]. This field is a member of oneof_ relevance_threshold_spec.