View Source ExOpenAI.Components.ChatCompletionResponseMessage (ex_openai.ex v1.8.0)
Schema representing a ChatCompletionResponseMessage within the OpenAI API
Summary
Types
@type t() :: %ExOpenAI.Components.ChatCompletionResponseMessage{ annotations: [ %{ type: :url_citation, url_citation: %{ end_index: integer(), start_index: integer(), title: String.t(), url: String.t() } } ] | nil, audio: %{ data: String.t(), expires_at: integer(), id: String.t(), transcript: String.t() } | nil, content: String.t(), function_call: %{arguments: String.t(), name: String.t()} | nil, refusal: String.t(), role: :assistant, tool_calls: ExOpenAI.Components.ChatCompletionMessageToolCalls.t() | nil }