| foundry_batch_create | R Documentation |
Create a Microsoft Foundry batch
foundry_batch_create(
input_file_id,
endpoint = "/v1/responses",
completion_window = "24h",
metadata = NULL,
api_key = NULL,
token = NULL,
endpoint_url = NULL,
api_version = NULL
)
input_file_id |
Character. File ID for an uploaded JSONL batch file. |
endpoint |
Character. Endpoint path for the batch requests. |
completion_window |
Character. Batch completion window, usually |
metadata |
List. Optional metadata attached to the batch. |
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 one-row tibble with batch metadata.
## Not run:
# Requires a configured Azure endpoint and credentials,
# plus the ID of an uploaded batch file.
foundry_batch_create("file_abc123", endpoint = "/v1/responses")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.