View Source ExOpenAI.Components.MessageContentImageUrlObject (ex_openai.ex v2.0.0-beta2)

References an image URL in the content of a message.

Fields

  • :image_url - required - {:%{}, [], [{{:optional, [], [:detail]}, {:|, [], [{:|, [], [:auto, :low]}, :high]}}, {{:required, [], [:url]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}]}

  • :type - required - :image_url
    The type of the content part.
    Allowed values: "image_url"

Summary

Types

@type t() :: %ExOpenAI.Components.MessageContentImageUrlObject{
  image_url: %{optional(:detail) => (:auto | :low) | :high, url: String.t()},
  type: :image_url
}