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

Metadata describing what was truncated at each checkpoint.

Attributes

  • cutoffIndex (type: integer(), default: nil) - Index of the current sample that trims off truncated text.
  • truncatedText (type: String.t, default: nil) - Text that was truncated at a specific checkpoint.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootCodeyTruncatorMetadata{
  cutoffIndex: integer() | nil,
  truncatedText: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.