struct

AI::Provider::TranscriptionModel::Segment

Inherits JSON::Serializable < Struct < Value < Object

A segment of the transcription with timing information.

Constructors

new(text : String, start_second : Float64, end_second : Float64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

end_second

The end time of this segment in seconds.

Source
start_second

The start time of this segment in seconds.

Source
text

The text content of this segment.

Source