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

Request message for AugmentPrompt.

Attributes

  • contents (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Content.t), default: nil) - Optional. Input content to augment, only text format is supported for now.
  • model (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1AugmentPromptRequestModel.t, default: nil) - Optional. Metadata of the backend deployed model.
  • vertexRagStore (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VertexRagStore.t, default: nil) - Optional. Retrieves contexts from the Vertex RagStore.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1AugmentPromptRequest{
    contents:
      [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Content.t()] | nil,
    model:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1AugmentPromptRequestModel.t()
      | nil,
    vertexRagStore:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VertexRagStore.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.