Skip to contents

Check the status of a batch job

Usage

llm_batch_status(job)

Arguments

job

An llmr_batch_job from llm_batch_submit(), or the path to one saved via state_path.

Value

A one-row tibble: provider, batch_id, status (provider's wording; "completed"/"ended"/"done" mean ready), n_total, n_completed, n_failed (NA where a provider does not report counts).