fetch_gemini_batch | R Documentation |
Retrieves the results of a completed Gemini batch and updates the provided list of LLMMessage objects with the assistant's responses, matching by original list order.
fetch_gemini_batch(
.llms,
.batch_name = NULL,
.timeout = 60,
.max_tries = 3,
.dry_run = FALSE
)
.llms |
List of |
.batch_name |
(Optional) Character; batch operation name (e.g. "batches/xyz123"). If not provided, is taken from |
.timeout |
Integer; request timeout in seconds (default: 60). |
.max_tries |
Integer; maximum retry attempts (default: 3). |
.dry_run |
Logical; if |
A list of updated LLMMessage objects with the assistant response appended to each, in the same order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.