Class: OpenAI::Models::Responses::ResponseAudioTranscriptDeltaEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/responses/response_audio_transcript_delta_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(delta: , sequence_number: , type: :"response.audio.transcript.delta") ⇒ Object

Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseAudioTranscriptDeltaEvent for more details.

Emitted when there is a partial transcript of audio.

Parameters:

  • delta (String) (defaults to: )

    The partial transcript of the audio response.

  • sequence_number (Integer) (defaults to: )

    The sequence number of this event.

  • type (Symbol, :"response.audio.transcript.delta") (defaults to: :"response.audio.transcript.delta")

    The type of the event. Always ‘response.audio.transcript.delta`.



# File 'lib/openai/models/responses/response_audio_transcript_delta_event.rb', line 25

Instance Attribute Details

#deltaString

The partial transcript of the audio response.

Returns:

  • (String)


11
# File 'lib/openai/models/responses/response_audio_transcript_delta_event.rb', line 11

required :delta, String

#sequence_numberInteger

The sequence number of this event.

Returns:

  • (Integer)


17
# File 'lib/openai/models/responses/response_audio_transcript_delta_event.rb', line 17

required :sequence_number, Integer

#typeSymbol, :"response.audio.transcript.delta"

The type of the event. Always ‘response.audio.transcript.delta`.

Returns:

  • (Symbol, :"response.audio.transcript.delta")


23
# File 'lib/openai/models/responses/response_audio_transcript_delta_event.rb', line 23

required :type, const: :"response.audio.transcript.delta"