ExOpenAI.FineTunes.delete_model

You're seeing just the function delete_model, go back to ExOpenAI.FineTunes module for more information.
Link to this function

delete_model(model, opts \\ [])

View Source

Specs

delete_model(String.t(),
  openai_organization_key: String.t(),
  openai_api_key: String.t()
) ::
  {:ok, ExOpenAI.Components.DeleteModelResponse.t()} | {:error, any()}

Delete a fine-tuned model. You must have the Owner role in your organization.

Endpoint: https://api.openai.com/v1/models/{model}

Method: DELETE

Docs: https://platform.openai.com/docs/api-reference/fine-tunes


Required Arguments:

  • model

Example: curie:ft-acmeco-2021-03-03-21-44-20

Optional Arguments:

  • openai_api_key: OpenAI API key to pass directly. If this is specified, it will override the api_key config value.

  • openai_organization_key: OpenAI API key to pass directly. If this is specified, it will override the organization_key config value.