ConversationItemInputAudioTranscriptionCompletedEvent class
- Inheritance
-
- Object
- RealtimeEvent
- ConversationItemInputAudioTranscriptionCompletedEvent
Constructors
- ConversationItemInputAudioTranscriptionCompletedEvent.new({required String eventId, required String itemId, required int contentIndex, required String transcript, LogProbs? logprobs, TranscriptionUsage? usage})
-
ConversationItemInputAudioTranscriptionCompletedEvent.fromJson(Map<
String, dynamic> j) -
factory
Properties
- contentIndex → int
-
Index of the audio content part inside the message (always 0 today).
final
- eventId → String
-
Unique server-generated ID for this event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemId → String
-
ID of the user-message item that contained the original audio.
final
- logprobs → LogProbs?
-
Optional per-token / per-word log-probabilities (see
common.dart
).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transcript → String
-
The ASR transcript of the audio buffer.
final
- type → String
-
finalinherited
- usage → TranscriptionUsage?
-
Usage statistics for the transcription, billed according to the ASR model's pricing.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited