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

Schema representing a CreateMessageRequest within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.CreateMessageRequest{
  attachments: [%{file_id: String.t(), tools: [map()]}] | nil,
  content: [map()] | String.t(),
  metadata: map() | nil,
  role: :assistant | :user
}