View Source ExOpenAI.Components.OpenAIFile (ex_openai.ex v1.6.0)

Schema representing a OpenAIFile within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.OpenAIFile{
  bytes: integer(),
  created_at: integer(),
  filename: String.t(),
  id: String.t(),
  object: :file,
  purpose:
    :vision
    | :"fine-tune-results"
    | :"fine-tune"
    | :batch_output
    | :batch
    | :assistants_output
    | :assistants,
  status: :error | :processed | :uploaded,
  status_details: String.t() | nil
}