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

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: :function | :assistant | :user | :system
}