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

Schema representing a ChatCompletionResponseMessage within the OpenAI API

Link to this section Summary

Link to this section Types

Specs

t() :: %ExOpenAI.Components.ChatCompletionResponseMessage{
  content: String.t() | nil,
  function_call: %{arguments: String.t(), name: String.t()} | nil,
  role: :function | :assistant | :user | :system
}