deleteFineTunelModel method

Future<Map<String, dynamic>> deleteFineTunelModel({
  1. required String model,
  2. required String apiKey,
})

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

Implementation

Future<Map<String, dynamic>> deleteFineTunelModel(
    {required String model, required String apiKey}) async {
  final response = await dio.delete(
      UrlBuilder.fineTunesDeletePathWithIdModel(model),
      options: Options(headers: {
        'Content-Type': 'application/json',
        'Authorization': 'Bearer $apiKey'
      }));
  return response.data;
}