Class Ranking (1.98.0)

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

Config for ranking and reranking.

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
rank_service google.cloud.aiplatform_v1beta1.types.RagRetrievalConfig.Ranking.RankService
Optional. Config for Rank Service. This field is a member of oneof_ ranking_config.
llm_ranker google.cloud.aiplatform_v1beta1.types.RagRetrievalConfig.Ranking.LlmRanker
Optional. Config for LlmRanker. This field is a member of oneof_ ranking_config.

Classes

LlmRanker

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

RankService

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

Methods

Ranking

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

Config for ranking and reranking.

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