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

Segment of the content.

Attributes

  • endIndex (type: integer(), default: nil) - Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.
  • partIndex (type: integer(), default: nil) - Output only. The index of a Part object within its parent Content object.
  • startIndex (type: integer(), default: nil) - Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.
  • text (type: String.t, default: nil) - Output only. The text corresponding to the segment from the response.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Segment{
  endIndex: integer() | nil,
  partIndex: integer() | nil,
  startIndex: integer() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.