RealtimeTranscriptionSession class

Transcription-only realtime session.

Inheritance

Constructors

RealtimeTranscriptionSession.new({required String? id, BetaAudioFormat? inputAudioFormat, InputAudioTranscription? inputAudioTranscription, TurnDetection? turnDetection, ClientSecret? clientSecret})
RealtimeTranscriptionSession.fromJson(Map<String, dynamic> j)
factory

Properties

clientSecret ClientSecret?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
finalinherited
inputAudioFormat BetaAudioFormat?
finalinherited
inputAudioTranscription InputAudioTranscription?
finalinherited
instructions String?
finalinherited
maxResponseOutputTokens → dynamic
finalinherited
modalities List<Modality>?
finalinherited
model RealtimeModel?
finalinherited
object String?
finalinherited
outputAudioFormat BetaAudioFormat?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed num?
finalinherited
temperature num?
finalinherited
toolChoice ToolChoice?
finalinherited
tools List<RealtimeFunctionTool>?
finalinherited
tracing Tracing?
finalinherited
turnDetection TurnDetection?
finalinherited
voice SpeechVoice?
finalinherited

Methods

copyWith({String? id, String? object, List<Modality>? modalities, RealtimeModel? model, String? instructions, SpeechVoice? voice, BetaAudioFormat? inputAudioFormat, BetaAudioFormat? outputAudioFormat, InputAudioTranscription? inputAudioTranscription, TurnDetection? turnDetection, List<RealtimeFunctionTool>? tools, ToolChoice? toolChoice, num? temperature, num? speed, dynamic maxResponseOutputTokens, Tracing? tracing, ClientSecret? clientSecret}) BetaRealtimeSession
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited