RealtimeResponseOptions constructor

RealtimeResponseOptions({
  1. String? conversation,
  2. List<RealtimeConversationItem>? input,
  3. String? instructions,
  4. dynamic maxOutputTokens,
  5. Map<String, dynamic>? metadata,
  6. List<Modality>? outputModalities,
  7. ResponseAudioOptions? audio,
  8. Prompt? prompt,
  9. ToolChoice? toolChoice,
  10. List<RealtimeTool>? tools,
})

Implementation

RealtimeResponseOptions({
  this.conversation, // "auto" | "none"
  this.input, // custom prompt context
  this.instructions,
  this.maxOutputTokens, // int | "inf"
  this.metadata,
  this.outputModalities,
  this.audio,
  this.prompt,
  this.toolChoice,
  this.tools,
});