Learn R Programming

oaii (version 0.5.0)

models_delete_request: API models: delete model request

Description

Delete a fine-tuned model. You must have the Owner role in your organization to delete a model. To get more details, visit https://platform.openai.com/docs/models https://platform.openai.com/docs/api-reference/fine-tunes/delete-model

Usage

models_delete_request(model, api_key = api_get_key())

Value

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)

Arguments

model

string, the model to delete

api_key

string, OpenAI API key (see https://platform.openai.com/account/api-keys)