ExOpenAI.FineTunes.cancel_fine_tune

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

cancel_fine_tune(fine_tune_id, opts \\ [])

View Source

Specs

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

Immediately cancel a fine-tune job.

Endpoint: https://api.openai.com/v1/fine-tunes/{fine_tune_id}/cancel

Method: POST

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


Required Arguments:

  • fine_tune_id

Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F

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.