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

Response message for AugmentPrompt.

Attributes

  • augmentedPrompt (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Content.t), default: nil) - Augmented prompt, only text format is supported for now.
  • facts (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Fact.t), default: nil) - Retrieved facts from RAG data sources.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1AugmentPromptResponse{
    augmentedPrompt:
      [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Content.t()] | nil,
    facts: [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Fact.t()] | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.