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

An image input to the model. Learn about image inputs

Fields

  • :detail - optional - ExOpenAI.Components.DetailEnum.t() | any()

  • :file_id - optional - String.t() | any()

  • :image_url - optional - String.t() | any()

  • :type - required - :input_image
    The type of the input item. Always input_image.
    Allowed values: "input_image"
    Default: "input_image"

Summary

Types

@type t() :: %ExOpenAI.Components.InputImageContentParamAutoParam{
  detail: (ExOpenAI.Components.DetailEnum.t() | any()) | nil,
  file_id: (String.t() | any()) | nil,
  image_url: (String.t() | any()) | nil,
  type: :input_image
}