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

Schema representing a ChatCompletionRequestMessage within the OpenAI API

Summary

Types

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