RealtimeResponseOptions class
Per-request inference parameters (override session defaults only for this single response).
Constructors
-
RealtimeResponseOptions.new({String? conversation, List<
RealtimeConversationItem> ? input, String? instructions, dynamic maxOutputTokens, Map<String, dynamic> ? metadata, List<Modality> ? outputModalities, ResponseAudioOptions? audio, Prompt? prompt, ToolChoice? toolChoice, List<RealtimeTool> ? tools}) -
RealtimeResponseOptions.fromJson(Map<
String, dynamic> j) -
factory
Properties
- audio → ResponseAudioOptions?
-
final
- conversation → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
input
→ List<
RealtimeConversationItem> ? -
final
- instructions → String?
-
final
- maxOutputTokens → dynamic
-
final
-
metadata
→ Map<
String, dynamic> ? -
final
-
outputModalities
→ List<
Modality> ? -
final
- prompt → Prompt?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolChoice → ToolChoice?
-
final
-
tools
→ List<
RealtimeTool> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited