Commit dabeb463 by jixudong

Upload New File

parent ec05f6f4
# 模型选择列表
# 模型选择列表
> 基本信息
* 接口状态: 开发中
* 接口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": [
]
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment