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

References an image File in the content of a message.

Fields

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

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

Summary

Types

@type t() :: %ExOpenAI.Components.MessageContentImageFileObject{
  image_file: %{
    optional(:detail) => (:auto | :low) | :high,
    file_id: String.t()
  },
  type: :image_file
}