View Source ExOpenAI.Components.Batch (ex_openai.ex v1.7.0)
Schema representing a Batch within the OpenAI API
Summary
Types
@type t() :: %ExOpenAI.Components.Batch{ cancelled_at: integer() | nil, cancelling_at: integer() | nil, completed_at: integer() | nil, completion_window: String.t(), created_at: integer(), endpoint: String.t(), error_file_id: String.t() | nil, errors: %{ data: [ %{ code: String.t(), line: integer(), message: String.t(), param: String.t() } ], object: String.t() } | nil, expired_at: integer() | nil, expires_at: integer() | nil, failed_at: integer() | nil, finalizing_at: integer() | nil, id: String.t(), in_progress_at: integer() | nil, input_file_id: String.t(), metadata: map() | nil, object: :batch, output_file_id: String.t() | nil, request_counts: %{completed: integer(), failed: integer(), total: integer()} | nil, status: :cancelled | :cancelling | :expired | :completed | :finalizing | :in_progress | :failed | :validating }