View Source ExOpenAI.Components.ChatCompletionRequestMessageContentPartImage (ex_openai.ex v2.0.0-beta2)
Learn about image inputs.
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.ChatCompletionRequestMessageContentPartImage{ image_url: %{optional(:detail) => (:auto | :low) | :high, url: String.t()}, type: :image_url }