Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb
Overview
Config for ranking and reranking.
Instance Attribute Summary collapse
-
#llm_ranker ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
Config for LlmRanker.
-
#rank_service ⇒ Google::Apis::FirebasemlV2beta::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.
1397 1398 1399 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#llm_ranker ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
Config for LlmRanker.
Corresponds to the JSON property llmRanker
1390 1391 1392 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1390 def llm_ranker @llm_ranker end |
#rank_service ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
Config for Rank Service.
Corresponds to the JSON property rankService
1395 1396 1397 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1395 def rank_service @rank_service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1402 1403 1404 1405 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1402 def update!(**args) @llm_ranker = args[:llm_ranker] if args.key?(:llm_ranker) @rank_service = args[:rank_service] if args.key?(:rank_service) end |