check_gemini_batch | R Documentation |
Retrieves processing status and metadata for a Gemini batch operation.
check_gemini_batch(
.llms = NULL,
.batch_id = NULL,
.timeout = 60,
.max_tries = 3,
.dry_run = FALSE
)
.llms |
(Optional) List of LLMMessage objects with a |
.batch_id |
(Optional) Character string: full batch operation name, e.g. |
.timeout |
Integer. Request timeout in seconds. Default: 60. |
.max_tries |
Integer. Maximum retry attempts. Default: 3. |
.dry_run |
Logical. If TRUE, return the request object instead of making the request (for debugging). Default: FALSE. |
You can supply either the .batch_id
string (e.g. "batches/xyz..."
) or
a list of LLMMessage objects (.llms
) with a "batch_id"
attribute as returned by send_gemini_batch()
.
A tibble with the operation's metadata, including name, state, creation time, completion time, and done status.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.