View Source ExOpenAI.Components.ChatCompletionRequestUserMessage (ex_openai.ex v1.7.0)

Schema representing a ChatCompletionRequestUserMessage within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.ChatCompletionRequestUserMessage{
  content:
    [ExOpenAI.Components.ChatCompletionRequestMessageContentPart.t()]
    | String.t(),
  name: String.t() | nil,
  role: :user
}