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

References an image URL in the content of a message.

Fields

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

  • :index - required - integer()
    The index of the content part in the message.

  • :type - required - :image_url
    Always image_url.
    Allowed values: "image_url"

Summary

Types

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