Skip to contents

Create batch

Usage

batch_create(input_file_id)

Arguments

input_file_id

(chr) id of the input file

Value

(tibble) information about the created batch

Details

For more information, see the OpenAI API documentation.

See also

Examples

if (FALSE) {
  batch_file_info <- file_upload("abc123.jsonl")
  batch_job_info <- batch_file_info[["id"]] |>
    batch_create()
  batch_job_info
}