View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfig (google_api_ai_platform v0.24.0)

Specifies the context retrieval config.

Attributes

  • filter (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfigFilter.t, default: nil) - Optional. Config for filters.
  • topK (type: integer(), default: nil) - Optional. The number of contexts to retrieve.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfig{
  filter:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfigFilter.t()
    | nil,
  topK: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.