View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RetrieveContextsRequest (google_api_ai_platform v0.25.0)

Request message for VertexRagService.RetrieveContexts.

Attributes

  • query (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagQuery.t, default: nil) - Required. Single RAG retrieve query.
  • vertexRagStore (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore.t, default: nil) - The data source for Vertex RagStore.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RetrieveContextsRequest{
    query:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagQuery.t() | nil,
    vertexRagStore:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.