View source: R/delete_fine_tune_model.R
delete_fine_tune_model | R Documentation |
Deletes a fine-tuned model. See this page for details.
delete_fine_tune_model(
model,
openai_api_key = Sys.getenv("OPENAI_API_KEY"),
openai_organization = NULL
)
model |
required; a length one character vector. |
openai_api_key |
required; defaults to |
openai_organization |
optional; defaults to |
For arguments description please refer to the official documentation.
Returns a list, elements of which contains information about the deleted model.
Other fine-tune functions:
cancel_fine_tune()
,
create_fine_tune()
,
list_fine_tune_events()
,
list_fine_tunes()
,
retrieve_fine_tune()
## Not run:
fine_tunes <- list_fine_tunes()
fine_tunes <- fine_tunes$data
id <- fine_tunes[!is.na(fine_tunes[, "fine_tuned_model"]), "fine_tuned_model"]
delete_fine_tune_model(model = id[1])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.