Class RelevanceFilterSpec (0.20.2)

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

Relevance filtering specification.

Attributes

Name Description
keyword_search_threshold google.cloud.discoveryengine_v1beta.types.SearchRequest.RelevanceFilterSpec.RelevanceThresholdSpec
Optional. Relevance filtering threshold specification for keyword search.
semantic_search_threshold google.cloud.discoveryengine_v1beta.types.SearchRequest.RelevanceFilterSpec.RelevanceThresholdSpec
Optional. Relevance filtering threshold specification for semantic search.

Classes

RelevanceThresholdSpec

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