View Source GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceContent (google_api_ai_platform v0.2.0)

The content of a single message from a participant.

Attributes

  • parts (type: list(GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePart.t), default: nil) - The parts of the message.
  • role (type: String.t, default: nil) - The role of the current conversation participant.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceContent{
  parts: [GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePart.t()] | nil,
  role: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.