View Source ExOpenAI.Components.RealtimeResponseCreateParams (ex_openai.ex v1.8.0)

Schema representing a RealtimeResponseCreateParams within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.RealtimeResponseCreateParams{
  conversation: ((:none | :auto) | String.t()) | nil,
  input: [ExOpenAI.Components.RealtimeConversationItemWithReference.t()] | nil,
  instructions: String.t() | nil,
  max_response_output_tokens: (:inf | integer()) | nil,
  metadata: ExOpenAI.Components.Metadata.t() | nil,
  modalities: [:audio | :text] | nil,
  output_audio_format: (:g711_alaw | :g711_ulaw | :pcm16) | nil,
  temperature: float() | nil,
  tool_choice: String.t() | nil,
  tools:
    [
      %{
        description: String.t(),
        name: String.t(),
        parameters: map(),
        type: :function
      }
    ]
    | nil,
  voice:
    (:verse | :shimmer | :sage | :echo | :coral | :ballad | :ash | :alloy) | nil
}