GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfigRanking (google_api_ai_platform v0.27.0)

View Source

Config for ranking and reranking.

Attributes

  • llmRanker (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker.t, default: nil) - Optional. Config for LlmRanker.
  • rankService (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService.t, default: nil) - Optional. Config for Rank Service.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfigRanking{
    llmRanker:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker.t()
      | nil,
    rankService:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.