View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextSegment (google_api_ai_platform v0.13.0)

The text segment inside of DataItem.

Attributes

  • content (type: String.t, default: nil) - The text content in the segment for output only.
  • endOffset (type: String.t, default: nil) - Zero-based character index of the first character past the end of the text segment (counting character from the beginning of the text). The character at the end_offset is NOT included in the text segment.
  • startOffset (type: String.t, default: nil) - Zero-based character index of the first character of the text segment (counting characters from the beginning of the text).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextSegment{
  content: String.t() | nil,
  endOffset: String.t() | nil,
  startOffset: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.