This function retrieves the processing status and other details of a specified
batchid or a list of LLMMessage
objects with batch attribute.
It routes the input to the appropriate provider-specific batch API function.
check_batch(
.llms,
.provider = getOption("tidyllm_cbatch_default"),
.dry_run = NULL,
.max_tries = NULL,
.timeout = NULL
)
A tibble with information about the status of batch processing.
A list of LLMMessage
objects or a character vector with a batch ID.
A function or function call specifying the language model provider and any additional parameters.
This should be a call to a provider function like openai()
, claude()
, etc.
You can also set a default provider function via the tidyllm_cbatch_default
option.
Logical; if TRUE, returns the prepared request object without executing it
Maximum retries to perform the request
Integer specifying the request timeout in seconds