Ninhao API中文文档
  1. 微调(Fine-tunes)
Ninhao API中文文档
  • 发出请求
  • 模型(Models)
    • 模型
    • 列出模型
      GET
    • 检索模型
      GET
  • 聊天(Chat)
    • 生成聊天消息的自动完成
      POST
  • 自动补全(Completions)
    • 创建完成
      POST
  • 编辑(Edits)
    • 创建编辑
      POST
  • 图像(Images)
    • README
    • 创建图像
      POST
    • 创建图片编辑
      POST
    • 创建图像变体
      POST
  • 嵌入(Embeddings)
    • 创建嵌入
      POST
  • 音频(Audio)
    • 创建转录
      POST
    • 创建翻译
      POST
  • 文件(Files)
    • README
    • 列出文件
      GET
    • 上传文件
      POST
    • 删除文件
      DELETE
    • 检索文件
      GET
    • 检索文件内容
      GET
  • 微调(Fine-tunes)
    • 创建微调
      POST
    • 列表微调
      GET
    • 检索微调
      GET
    • 取消微调
      POST
    • 列出微调事件
      GET
    • 删除微调模型
      DELETE
  • 审查(Moderations)
    • 创建内容审核
  1. 微调(Fine-tunes)

删除微调模型

DELETE
https://api.ninhao.cc/v1/models/{model}
删除微调模型。您必须在您的组织中拥有所有者角色。

请求参数

Path 参数
model
string 
要删除的模型。
必需
示例值:
null
Header 参数
Authorization
string 
可选
示例值:
Bearer {{YOUR_API_KEY}}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.ninhao.cc/v1/models/' \
--header 'Authorization: Bearer '

返回响应

🟢200成功
application/json
Body
id
string 
必需
object
string 
必需
deleted
boolean 
必需
示例
{
  "id": "curie:ft-acmeco-2021-03-03-21-44-20",
  "object": "model",
  "deleted": true
}
上一页
列出微调事件
下一页
创建内容审核
Built with