View source: R/api_fine-tuning.R
fine_tuning_cancel_job_request | R Documentation |
Immediately cancel a fine-tune job. To get more details, visit https://platform.openai.com/docs/guides/fine-tuning https://platform.openai.com/docs/api-reference/fine-tuning/cancel
fine_tuning_cancel_job_request(fine_tuning_job_id, api_key = api_get_key())
fine_tuning_job_id |
string, the ID of the fine-tuning job to cancel |
api_key |
string, OpenAI API key (see https://platform.openai.com/account/api-keys) |
content of the httr response object or SimpleError (conditions) enhanced with two additional fields: 'status_code' (response$status_code) and 'message_long' (built on response content)
## Not run:
res_content <- fine_tuning_cancel_job_request("job-id")
if (!is_error(res_content)) {
message("job canceled")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.