| foundry_batch_results | R Documentation |
Retrieve a batch, download its output and error JSONL files, and parse each request result into a tibble. Responses, chat-completions, and embeddings payloads are parsed into endpoint-specific columns when possible.
foundry_batch_results(
batch_id,
keep_raw = FALSE,
api_key = NULL,
token = NULL,
endpoint_url = NULL,
api_version = NULL
)
batch_id |
Character. Batch ID to retrieve. |
keep_raw |
Logical. Whether to keep the raw JSONL result object in a
|
api_key |
Character. Optional API key override. |
token |
Character. Optional bearer token override. |
endpoint_url |
Character. Optional Foundry endpoint override. |
api_version |
Character. Optional API version query value. |
A tibble with one row per batch request.
## Not run:
# Requires a configured Azure endpoint and credentials,
# plus an existing batch ID.
foundry_batch_results("batch_abc123")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.