Class: OpenAI::Models::Live::TranscriptGrouper::Segment

Inherits:
Data
  • Object
show all
Defined in:
sig/openai/helpers/live/transcript_grouper.rbs

Instance Attribute Summary collapse

Instance Attribute Details

#end_ms ⇒ Integer (readonly)

Returns the value of attribute end_ms.

Returns:

  • (Integer)


19
20
21
# File 'sig/openai/helpers/live/transcript_grouper.rbs', line 19

def end_ms
  @end_ms
end

#id ⇒ String (readonly)

Returns the value of attribute id.

Returns:

  • (String)


14
15
16
# File 'sig/openai/helpers/live/transcript_grouper.rbs', line 14

def id
  @id
end

#previous_id ⇒ String? (readonly)

Returns the value of attribute previous_id.

Returns:

  • (String, nil)


15
16
17
# File 'sig/openai/helpers/live/transcript_grouper.rbs', line 15

def previous_id
  @previous_id
end

#speaker ⇒ TranscriptGrouper::speaker (readonly)

Returns the value of attribute speaker.

Returns:

  • (TranscriptGrouper::speaker)


16
17
18
# File 'sig/openai/helpers/live/transcript_grouper.rbs', line 16

def speaker
  @speaker
end

#start_ms ⇒ Integer (readonly)

Returns the value of attribute start_ms.

Returns:

  • (Integer)


18
19
20
# File 'sig/openai/helpers/live/transcript_grouper.rbs', line 18

def start_ms
  @start_ms
end

#text ⇒ String (readonly)

Returns the value of attribute text.

Returns:

  • (String)


17
18
19
# File 'sig/openai/helpers/live/transcript_grouper.rbs', line 17

def text
  @text
end