View Source ExOpenAI.Components.ChatCompletionResponseMessage (ex_openai.ex v1.6.0)

Schema representing a ChatCompletionResponseMessage within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.ChatCompletionResponseMessage{
  content: String.t(),
  function_call: %{arguments: String.t(), name: String.t()} | nil,
  role: :assistant,
  tool_calls: ExOpenAI.Components.ChatCompletionMessageToolCalls.t() | nil
}