Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking.
Config for ranking and reranking.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#llm_ranker
def llm_ranker() -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::LlmRanker
-
(::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::LlmRanker) — Optional. Config for LlmRanker.
Note: The following fields are mutually exclusive:
llm_ranker
,rank_service
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#llm_ranker=
def llm_ranker=(value) -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::LlmRanker
-
value (::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::LlmRanker) — Optional. Config for LlmRanker.
Note: The following fields are mutually exclusive:
llm_ranker
,rank_service
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::LlmRanker) — Optional. Config for LlmRanker.
Note: The following fields are mutually exclusive:
llm_ranker
,rank_service
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#rank_service
def rank_service() -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::RankService
-
(::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::RankService) — Optional. Config for Rank Service.
Note: The following fields are mutually exclusive:
rank_service
,llm_ranker
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#rank_service=
def rank_service=(value) -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::RankService
-
value (::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::RankService) — Optional. Config for Rank Service.
Note: The following fields are mutually exclusive:
rank_service
,llm_ranker
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Ranking::RankService) — Optional. Config for Rank Service.
Note: The following fields are mutually exclusive:
rank_service
,llm_ranker
. If a field in that set is populated, all other fields in the set will automatically be cleared.