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

A file input to the model.

Fields

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

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

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

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

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

Summary

Types

@type t() :: %ExOpenAI.Components.InputFileContentParam{
  file_data: (String.t() | any()) | nil,
  file_id: (String.t() | any()) | nil,
  file_url: (String.t() | any()) | nil,
  filename: (String.t() | any()) | nil,
  type: :input_file
}