From dabeb463fa2f8e862b1fb72a707c720b71ef939f Mon Sep 17 00:00:00 2001 From: jixudong Date: Fri, 22 Dec 2023 18:38:38 +0800 Subject: [PATCH] Upload New File --- dramaeditor/模型选择接口.md | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 dramaeditor/模型选择接口.md diff --git "a/dramaeditor/\346\250\241\345\236\213\351\200\211\346\213\251\346\216\245\345\217\243.md" "b/dramaeditor/\346\250\241\345\236\213\351\200\211\346\213\251\346\216\245\345\217\243.md" new file mode 100644 index 0000000..3a89846 --- /dev/null +++ "b/dramaeditor/\346\250\241\345\236\213\351\200\211\346\213\251\346\216\245\345\217\243.md" @@ -0,0 +1,78 @@ +# 模型选择列表 + +> 基本信息 +* 接口状态: 开发中 +* 接口url:http://tx-gz18.heyqiwu.cn:60024 +* 请求方式:GET +* Content-Type: application/json;charset=UTF-8 +```json +curl --location 'http://tx-gz18.heyqiwu.cn:60024/api/queryModelList' + +``` +## 请求实例 +http://******/api/queryModelList + +## 响应实例 +```json +{ + "code": 1, + "msg": "成功", + "data": [ + "gpt-3.5-turbo-16k", + "gpt-4-0613", + "abab5.5-chat" + ] +} +``` +# 个人模型查询 + +> 基本信息 +* 接口状态: 开发中 +* 接口url:http://tx-gz18.heyqiwu.cn:60024 +* 请求方式:GET +* Content-Type: application/json;charset=UTF-8 +```json +curl --location 'http://tx-gz18.heyqiwu.cn:60024/api/queryModel?uid=11' + +``` +## 请求实例 +http://******/api/queryModel?uid=11 + +## 响应实例 +```json +{ + "code": 1, + "msg": "成功", + "data": { + "plotModel": "gpt-3.5-turbo-16k", + "branchModel": "gpt-3.5-turbo-16k" + } +} +``` + +# 个人模型保存 + +> 基本信息 +* 接口状态: 开发中 +* 接口url:http://tx-gz18.heyqiwu.cn:60024 +* 请求方式:PUT +* Content-Type: application/json;charset=UTF-8 +```json +curl --location 'http://tx-gz18.heyqiwu.cn:60024/api/saveModel' + +``` +## 请求实例 +http://******/api/saveModel +## 请求参数 +uid=11 +plotModel=abab5.5-chat +branchModel=abab5.5-chat +## 响应实例 +```json +{ + "code": 1, + "msg": "成功", + "data": [ + ] +} +``` -- libgit2 0.27.1