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

View Source

A query to retrieve relevant contexts.

Attributes

  • ragRetrievalConfig (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfig.t, default: nil) - Optional. The retrieval config for the query.
  • text (type: String.t, default: nil) - Optional. The query in text format to get relevant contexts.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagQuery{
  ragRetrievalConfig:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfig.t()
    | nil,
  text: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.