Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Config for ranking and reranking.
Instance Attribute Summary collapse
-
#llm_ranker ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
Config for LlmRanker.
-
#rank_service ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
Config for Rank Service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
constructor
A new instance of GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
Returns a new instance of GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking.
26682 26683 26684 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26682 def initialize(**args) update!(**args) end |
Instance Attribute Details
#llm_ranker ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
Config for LlmRanker.
Corresponds to the JSON property llmRanker
26675 26676 26677 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26675 def llm_ranker @llm_ranker end |
#rank_service ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
Config for Rank Service.
Corresponds to the JSON property rankService
26680 26681 26682 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26680 def rank_service @rank_service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26687 26688 26689 26690 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26687 def update!(**args) @llm_ranker = args[:llm_ranker] if args.key?(:llm_ranker) @rank_service = args[:rank_service] if args.key?(:rank_service) end |