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

Schema representing a ChatCompletionStreamResponseDelta within the OpenAI API

Link to this section Summary

Link to this section Types

Specs

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