tencentcloud-sdk-nodejs 4.1.16 → 4.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/common/sdk_version.js +1 -1
- package/es/services/bh/v20230418/bh_client.js +20 -8
- package/es/services/bma/index.js +2 -2
- package/es/services/ccc/v20200210/ccc_client.js +9 -0
- package/es/services/chdfs/index.js +2 -2
- package/es/services/ckafka/v20190819/ckafka_client.js +165 -159
- package/es/services/dbbrain/index.js +2 -2
- package/es/services/es/index.js +2 -2
- package/es/services/essbasic/index.js +2 -2
- package/es/services/facefusion/index.js +2 -2
- package/es/services/gs/v20191118/gs_client.js +24 -6
- package/es/services/hunyuan/v20230901/hunyuan_client.js +37 -31
- package/es/services/iotvideo/index.js +2 -2
- package/es/services/monitor/v20180724/monitor_client.js +3 -0
- package/es/services/sms/index.js +2 -2
- package/es/services/thpc/index.js +2 -2
- package/es/services/tke/index.js +2 -2
- package/es/services/tsw/index.js +2 -2
- package/es/services/vm/index.js +2 -2
- package/es/services/vod/index.js +2 -2
- package/es/services/vpc/v20170312/vpc_client.js +3 -0
- package/es/services/wedata/v20210820/wedata_client.js +13 -4
- package/es/services/yunsou/index.js +2 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +7 -22
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +25 -9
- package/tencentcloud/services/bh/v20230418/bh_client.js +36 -12
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +294 -81
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +13 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +18 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +252 -105
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +0 -4
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +175 -167
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +261 -249
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +205 -107
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +10 -8
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +10 -8
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +87 -86
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +16 -0
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/es/index.d.ts +4 -4
- package/tencentcloud/services/es/index.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +5 -4
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -4
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +31 -7
- package/tencentcloud/services/gs/v20191118/gs_client.js +45 -9
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +225 -44
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.d.ts +5 -7
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.js +5 -7
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +31 -28
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +61 -53
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +87 -75
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +90 -0
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -7
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +69 -5
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +3 -3
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +3 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +21 -8
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +105 -95
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +8 -0
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +14 -1
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +13 -0
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -5
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +0 -1
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +1 -1
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vod/index.d.ts +4 -4
- package/tencentcloud/services/vod/index.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +7 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +8 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +112 -42
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +18 -6
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +25 -7
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +931 -94
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
|
@@ -27,18 +27,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("hunyuan.tencentcloudapi.com", "2023-09-01", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 设置付费模式
|
|
32
|
-
*/
|
|
33
|
-
async SetPayMode(req, cb) {
|
|
34
|
-
return this.request("SetPayMode", req, cb);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 文件列表。
|
|
38
|
-
*/
|
|
39
|
-
async FilesList(req, cb) {
|
|
40
|
-
return this.request("FilesList", req, cb);
|
|
41
|
-
}
|
|
42
30
|
/**
|
|
43
31
|
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
44
32
|
|
|
@@ -50,40 +38,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
50
38
|
async GetThread(req, cb) {
|
|
51
39
|
return this.request("GetThread", req, cb);
|
|
52
40
|
}
|
|
53
|
-
/**
|
|
54
|
-
* 混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
|
55
|
-
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
|
56
|
-
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
|
57
|
-
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
58
|
-
*/
|
|
59
|
-
async SubmitHunyuanImageChatJob(req, cb) {
|
|
60
|
-
return this.request("SubmitHunyuanImageChatJob", req, cb);
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
64
|
-
|
|
65
|
-
1. 本接口暂不支持返回图片内容。
|
|
66
|
-
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
67
|
-
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
68
|
-
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
69
|
-
*/
|
|
70
|
-
async CreateThread(req, cb) {
|
|
71
|
-
return this.request("CreateThread", req, cb);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* 该接口用于计算文本对应Token数、字符数。
|
|
75
|
-
*/
|
|
76
|
-
async GetTokenCount(req, cb) {
|
|
77
|
-
return this.request("GetTokenCount", req, cb);
|
|
78
|
-
}
|
|
79
41
|
/**
|
|
80
42
|
* 混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
|
81
43
|
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|
|
82
44
|
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
|
83
45
|
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
84
46
|
*/
|
|
85
|
-
async
|
|
86
|
-
return this.request("
|
|
47
|
+
async SubmitHunyuanImageJob(req, cb) {
|
|
48
|
+
return this.request("SubmitHunyuanImageJob", req, cb);
|
|
87
49
|
}
|
|
88
50
|
/**
|
|
89
51
|
* 混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
|
@@ -91,14 +53,19 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
91
53
|
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
|
92
54
|
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
93
55
|
*/
|
|
94
|
-
async
|
|
95
|
-
return this.request("
|
|
56
|
+
async QueryHunyuanImageJob(req, cb) {
|
|
57
|
+
return this.request("QueryHunyuanImageJob", req, cb);
|
|
96
58
|
}
|
|
97
59
|
/**
|
|
98
|
-
*
|
|
60
|
+
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
61
|
+
|
|
62
|
+
1. 本接口暂不支持返回图片内容。
|
|
63
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
64
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
65
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
99
66
|
*/
|
|
100
|
-
async
|
|
101
|
-
return this.request("
|
|
67
|
+
async ChatTranslations(req, cb) {
|
|
68
|
+
return this.request("ChatTranslations", req, cb);
|
|
102
69
|
}
|
|
103
70
|
/**
|
|
104
71
|
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
@@ -111,6 +78,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
111
78
|
async GetThreadMessageList(req, cb) {
|
|
112
79
|
return this.request("GetThreadMessageList", req, cb);
|
|
113
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* 腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。
|
|
83
|
+
*/
|
|
84
|
+
async GetEmbedding(req, cb) {
|
|
85
|
+
return this.request("GetEmbedding", req, cb);
|
|
86
|
+
}
|
|
114
87
|
/**
|
|
115
88
|
* 如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
116
89
|
|
|
@@ -132,8 +105,23 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
132
105
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
133
106
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
134
107
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
108
|
+
async RunThread(req, cb) {
|
|
109
|
+
return this.request("RunThread", req, cb);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* 设置付费模式
|
|
113
|
+
*/
|
|
114
|
+
async SetPayMode(req, cb) {
|
|
115
|
+
return this.request("SetPayMode", req, cb);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* 混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
|
119
|
+
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
|
120
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
|
121
|
+
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
122
|
+
*/
|
|
123
|
+
async QueryHunyuanImageChatJob(req, cb) {
|
|
124
|
+
return this.request("QueryHunyuanImageChatJob", req, cb);
|
|
137
125
|
}
|
|
138
126
|
/**
|
|
139
127
|
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
@@ -143,21 +131,56 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
143
131
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
144
132
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
145
133
|
*/
|
|
146
|
-
async
|
|
147
|
-
return this.request("
|
|
134
|
+
async CreateThread(req, cb) {
|
|
135
|
+
return this.request("CreateThread", req, cb);
|
|
148
136
|
}
|
|
149
137
|
/**
|
|
150
|
-
*
|
|
151
|
-
|
|
152
|
-
|
|
138
|
+
* 删除文件。
|
|
139
|
+
*/
|
|
140
|
+
async FilesDeletions(req, cb) {
|
|
141
|
+
return this.request("FilesDeletions", req, cb);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
153
145
|
|
|
154
146
|
1. 本接口暂不支持返回图片内容。
|
|
155
147
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
156
148
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
157
149
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
158
150
|
*/
|
|
159
|
-
async
|
|
160
|
-
return this.request("
|
|
151
|
+
async GetThreadMessage(req, cb) {
|
|
152
|
+
return this.request("GetThreadMessage", req, cb);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* 提交混元生3D任务
|
|
156
|
+
*/
|
|
157
|
+
async SubmitHunyuanTo3DJob(req, cb) {
|
|
158
|
+
return this.request("SubmitHunyuanTo3DJob", req, cb);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* 上传用于不同用途的文件。
|
|
162
|
+
当前用途仅支持 hunyuan 等模型的文档理解。
|
|
163
|
+
*/
|
|
164
|
+
async FilesUploads(req, cb) {
|
|
165
|
+
return this.request("FilesUploads", req, cb);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* 开通服务
|
|
169
|
+
*/
|
|
170
|
+
async ActivateService(req, cb) {
|
|
171
|
+
return this.request("ActivateService", req, cb);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* 文件列表。
|
|
175
|
+
*/
|
|
176
|
+
async FilesList(req, cb) {
|
|
177
|
+
return this.request("FilesList", req, cb);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* 查询混元生3D任务
|
|
181
|
+
*/
|
|
182
|
+
async QueryHunyuanTo3DJob(req, cb) {
|
|
183
|
+
return this.request("QueryHunyuanTo3DJob", req, cb);
|
|
161
184
|
}
|
|
162
185
|
/**
|
|
163
186
|
* 混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
|
@@ -165,32 +188,27 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
165
188
|
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
|
166
189
|
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
167
190
|
*/
|
|
168
|
-
async
|
|
169
|
-
return this.request("
|
|
191
|
+
async SubmitHunyuanImageChatJob(req, cb) {
|
|
192
|
+
return this.request("SubmitHunyuanImageChatJob", req, cb);
|
|
170
193
|
}
|
|
171
194
|
/**
|
|
172
|
-
*
|
|
195
|
+
* 如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
196
|
+
|
|
197
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
173
198
|
|
|
174
199
|
1. 本接口暂不支持返回图片内容。
|
|
175
200
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
176
201
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
177
202
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
178
203
|
*/
|
|
179
|
-
async
|
|
180
|
-
return this.request("
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* 腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。
|
|
184
|
-
*/
|
|
185
|
-
async GetEmbedding(req, cb) {
|
|
186
|
-
return this.request("GetEmbedding", req, cb);
|
|
204
|
+
async ChatCompletions(req, cb) {
|
|
205
|
+
return this.request("ChatCompletions", req, cb);
|
|
187
206
|
}
|
|
188
207
|
/**
|
|
189
|
-
*
|
|
190
|
-
当前用途仅支持 hunyuan 等模型的文档理解。
|
|
208
|
+
* 该接口用于计算文本对应Token数、字符数。
|
|
191
209
|
*/
|
|
192
|
-
async
|
|
193
|
-
return this.request("
|
|
210
|
+
async GetTokenCount(req, cb) {
|
|
211
|
+
return this.request("GetTokenCount", req, cb);
|
|
194
212
|
}
|
|
195
213
|
/**
|
|
196
214
|
* 文生图轻量版接口根据输入的文本描述,智能生成与之相关的结果图。
|
|
@@ -199,11 +217,5 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
199
217
|
async TextToImageLite(req, cb) {
|
|
200
218
|
return this.request("TextToImageLite", req, cb);
|
|
201
219
|
}
|
|
202
|
-
/**
|
|
203
|
-
* 开通服务
|
|
204
|
-
*/
|
|
205
|
-
async ActivateService(req, cb) {
|
|
206
|
-
return this.request("ActivateService", req, cb);
|
|
207
|
-
}
|
|
208
220
|
}
|
|
209
221
|
exports.Client = Client;
|
|
@@ -500,6 +500,27 @@ export interface SubmitHunyuanImageChatJobResponse {
|
|
|
500
500
|
*/
|
|
501
501
|
RequestId?: string;
|
|
502
502
|
}
|
|
503
|
+
/**
|
|
504
|
+
* SubmitHunyuanTo3DJob请求参数结构体
|
|
505
|
+
*/
|
|
506
|
+
export interface SubmitHunyuanTo3DJobRequest {
|
|
507
|
+
/**
|
|
508
|
+
* 3D内容的描述,中文正向提示词。最多支持200个 utf-8 字符,ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
|
509
|
+
*/
|
|
510
|
+
Prompt?: string;
|
|
511
|
+
/**
|
|
512
|
+
* 输入图 Base64 数据。最多支持200个 utf-8 字符,ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
|
513
|
+
*/
|
|
514
|
+
ImageBase64?: string;
|
|
515
|
+
/**
|
|
516
|
+
* 输入图Url。最多支持200个 utf-8 字符,ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
|
517
|
+
*/
|
|
518
|
+
ImageUrl?: string;
|
|
519
|
+
/**
|
|
520
|
+
* 生成数量。默认1,当前限制只能为1。
|
|
521
|
+
*/
|
|
522
|
+
Num?: number;
|
|
523
|
+
}
|
|
503
524
|
/**
|
|
504
525
|
* 会话消息未完成原因
|
|
505
526
|
*/
|
|
@@ -760,6 +781,32 @@ export interface GetThreadMessageListRequest {
|
|
|
760
781
|
*/
|
|
761
782
|
Order?: string;
|
|
762
783
|
}
|
|
784
|
+
/**
|
|
785
|
+
* SubmitHunyuanTo3DJob返回参数结构体
|
|
786
|
+
*/
|
|
787
|
+
export interface SubmitHunyuanTo3DJobResponse {
|
|
788
|
+
/**
|
|
789
|
+
* 任务id
|
|
790
|
+
*/
|
|
791
|
+
JobId?: string;
|
|
792
|
+
/**
|
|
793
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
794
|
+
*/
|
|
795
|
+
RequestId?: string;
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* 3D文件
|
|
799
|
+
*/
|
|
800
|
+
export interface File3D {
|
|
801
|
+
/**
|
|
802
|
+
* 3D文件的格式。取值范围:GIF, OBJ
|
|
803
|
+
*/
|
|
804
|
+
Type?: string;
|
|
805
|
+
/**
|
|
806
|
+
* 文件的Url
|
|
807
|
+
*/
|
|
808
|
+
Url?: string;
|
|
809
|
+
}
|
|
763
810
|
/**
|
|
764
811
|
* 返回的回复, 支持多个
|
|
765
812
|
*/
|
|
@@ -939,6 +986,15 @@ export interface GroupChatCompletionsRequest {
|
|
|
939
986
|
*/
|
|
940
987
|
SessionId?: string;
|
|
941
988
|
}
|
|
989
|
+
/**
|
|
990
|
+
* 3D文件列表
|
|
991
|
+
*/
|
|
992
|
+
export interface File3Ds {
|
|
993
|
+
/**
|
|
994
|
+
* 3D文件列表
|
|
995
|
+
*/
|
|
996
|
+
File3D?: Array<File3D>;
|
|
997
|
+
}
|
|
942
998
|
/**
|
|
943
999
|
* 搜索结果信息
|
|
944
1000
|
*/
|
|
@@ -1009,6 +1065,15 @@ export interface SetPayModeResponse {
|
|
|
1009
1065
|
*/
|
|
1010
1066
|
RequestId?: string;
|
|
1011
1067
|
}
|
|
1068
|
+
/**
|
|
1069
|
+
* QueryHunyuanTo3DJob请求参数结构体
|
|
1070
|
+
*/
|
|
1071
|
+
export interface QueryHunyuanTo3DJobRequest {
|
|
1072
|
+
/**
|
|
1073
|
+
* 任务ID
|
|
1074
|
+
*/
|
|
1075
|
+
JobId?: string;
|
|
1076
|
+
}
|
|
1012
1077
|
/**
|
|
1013
1078
|
* 歌曲详情。具体含义参考 [QQ音乐SDK](https://developer.y.qq.com/)
|
|
1014
1079
|
*/
|
|
@@ -1953,3 +2018,28 @@ export interface EmbeddingUsage {
|
|
|
1953
2018
|
*/
|
|
1954
2019
|
TotalTokens?: number;
|
|
1955
2020
|
}
|
|
2021
|
+
/**
|
|
2022
|
+
* QueryHunyuanTo3DJob返回参数结构体
|
|
2023
|
+
*/
|
|
2024
|
+
export interface QueryHunyuanTo3DJobResponse {
|
|
2025
|
+
/**
|
|
2026
|
+
* 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
|
2027
|
+
*/
|
|
2028
|
+
Status?: string;
|
|
2029
|
+
/**
|
|
2030
|
+
* 生成的3D文件数组
|
|
2031
|
+
*/
|
|
2032
|
+
ResultFile3Ds?: Array<File3Ds>;
|
|
2033
|
+
/**
|
|
2034
|
+
* 错误码
|
|
2035
|
+
*/
|
|
2036
|
+
ErrorCode?: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* 错误信息
|
|
2039
|
+
*/
|
|
2040
|
+
ErrorMessage?: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2043
|
+
*/
|
|
2044
|
+
RequestId?: string;
|
|
2045
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export declare const iotvideo: {
|
|
2
|
+
v20211125: {
|
|
3
|
+
Client: typeof import("./v20211125/iotvideo_client").Client;
|
|
4
|
+
Models: typeof import("./v20211125/iotvideo_models");
|
|
5
|
+
};
|
|
2
6
|
v20201215: {
|
|
3
7
|
Client: typeof import("./v20201215/iotvideo_client").Client;
|
|
4
8
|
Models: typeof import("./v20201215/iotvideo_models");
|
|
@@ -7,8 +11,4 @@ export declare const iotvideo: {
|
|
|
7
11
|
Client: typeof import("./v20191126/iotvideo_client").Client;
|
|
8
12
|
Models: typeof import("./v20191126/iotvideo_models");
|
|
9
13
|
};
|
|
10
|
-
v20211125: {
|
|
11
|
-
Client: typeof import("./v20211125/iotvideo_client").Client;
|
|
12
|
-
Models: typeof import("./v20211125/iotvideo_models");
|
|
13
|
-
};
|
|
14
14
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.iotvideo = void 0;
|
|
4
|
+
const v20211125_1 = require("./v20211125");
|
|
4
5
|
const v20201215_1 = require("./v20201215");
|
|
5
6
|
const v20191126_1 = require("./v20191126");
|
|
6
|
-
const v20211125_1 = require("./v20211125");
|
|
7
7
|
exports.iotvideo = {
|
|
8
|
+
v20211125: v20211125_1.v20211125,
|
|
8
9
|
v20201215: v20201215_1.v20201215,
|
|
9
10
|
v20191126: v20191126_1.v20191126,
|
|
10
|
-
v20211125: v20211125_1.v20211125,
|
|
11
11
|
};
|
|
@@ -5714,13 +5714,7 @@ export interface CreateLivePullStreamTaskRequest {
|
|
|
5714
5714
|
*/
|
|
5715
5715
|
StartTime: string;
|
|
5716
5716
|
/**
|
|
5717
|
-
* 结束时间,注意:
|
|
5718
|
-
1. 结束时间必须大于开始时间;
|
|
5719
|
-
2. 结束时间必须大于当前时间;
|
|
5720
|
-
3. 结束时间 和 开始时间 间隔必须小于七天。
|
|
5721
|
-
使用 UTC 格式时间,
|
|
5722
|
-
例如:2019-01-08T10:00:00Z。
|
|
5723
|
-
注意:北京时间值为 UTC 时间值 + 8 小时。
|
|
5717
|
+
* 结束时间,注意:1. 结束时间必须大于开始时间;2. 结束时间必须大于当前时间;3. 结束时间 和 开始时间 间隔必须小于30天。使用 UTC 格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时。
|
|
5724
5718
|
*/
|
|
5725
5719
|
EndTime: string;
|
|
5726
5720
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { ModifyQAAttrRangeResponse, GetWsTokenResponse, ListUsageCallDetailRequest, CheckAttributeLabelExistRequest, DescribeQAResponse, GetAppKnowledgeCountRequest, StopDocParseResponse, ListSelectDocResponse, DescribeReleaseInfoRequest, DeleteDocRequest, GetAnswerTypeDataCountRequest, DescribeAppResponse, UploadAttributeLabelResponse, CreateDocCateResponse, DeleteDocCateResponse, ExportAttributeLabelResponse, ExportQAListResponse, GetAppSecretResponse, ListRejectedQuestionRequest, CreateQACateResponse, ModifyDocAttrRangeResponse, GetAnswerTypeDataCountResponse, DescribeQARequest, DescribeUnsatisfiedReplyContextRequest, ListAppRequest, ModifyQAAttrRangeRequest, ListRejectedQuestionResponse, ModifyDocResponse, CreateCorpResponse, ListQARequest, DescribeKnowledgeUsageResponse, ListUnsatisfiedReplyRequest, DeleteQARequest, GetLikeDataCountResponse, ListReleaseRequest, IsTransferIntentResponse, CreateDocCateRequest, ModifyAppResponse, ListDocResponse, GetDocPreviewRequest, ModifyQARequest, ExportUnsatisfiedReplyResponse, ListDocCateResponse, ListRejectedQuestionPreviewResponse, DescribeCorpRequest, ListAppCategoryResponse, CreateAppResponse, DescribeAttributeLabelRequest, CreateQARequest, CreateCorpRequest, QueryRewriteResponse, DeleteAttributeLabelRequest, DescribeRobotBizIDByAppKeyResponse, RenameDocResponse, ReconstructDocumentResponse, ListDocCateRequest, DescribeDocResponse, CreateReleaseRequest, GroupDocRequest, CheckAttributeLabelReferRequest, ModifyQACateRequest, ModifyAttributeLabelRequest, ConvertDocumentRequest, ListUnsatisfiedReplyResponse, GetAppSecretRequest, DeleteQACateResponse, SaveDocResponse, ListReleaseDocPreviewResponse, RenameDocRequest, GenerateQAResponse, GetTaskStatusResponse, DescribeConcurrencyUsageGraphRequest, DescribeDocRequest, DescribeTokenUsageGraphRequest, ConvertDocumentResponse, RetryDocAuditRequest, SaveDocRequest, RetryDocParseRequest, ListAppKnowledgeDetailResponse, ModifyQACateResponse, DescribeAttributeLabelResponse, ModifyAttributeLabelResponse, ListQACateResponse, GetVarListRequest, RetryDocParseResponse, CreateRejectedQuestionResponse, GetEmbeddingResponse, ExportUnsatisfiedReplyRequest, GroupQAResponse, CreateAppRequest, DescribeReleaseRequest, ListAppCategoryRequest, ListReleaseConfigPreviewRequest,
|
|
3
|
+
import { ModifyQAAttrRangeResponse, GetWsTokenResponse, ListUsageCallDetailRequest, CheckAttributeLabelExistRequest, DescribeQAResponse, GetAppKnowledgeCountRequest, StopDocParseResponse, ListSelectDocResponse, DescribeReleaseInfoRequest, DeleteDocRequest, GetAnswerTypeDataCountRequest, DescribeAppResponse, UploadAttributeLabelResponse, CreateDocCateResponse, DeleteDocCateResponse, ExportAttributeLabelResponse, ExportQAListResponse, GetAppSecretResponse, ListRejectedQuestionRequest, CreateQACateResponse, ModifyDocAttrRangeResponse, GetAnswerTypeDataCountResponse, DescribeQARequest, DescribeUnsatisfiedReplyContextRequest, ListAppRequest, ModifyQAAttrRangeRequest, ListRejectedQuestionResponse, ModifyDocResponse, CreateCorpResponse, ListQARequest, DescribeKnowledgeUsageResponse, ListUnsatisfiedReplyRequest, DeleteQARequest, GetLikeDataCountResponse, ListReleaseRequest, IsTransferIntentResponse, CreateDocCateRequest, ModifyAppResponse, ListDocResponse, GetDocPreviewRequest, ModifyQARequest, ExportUnsatisfiedReplyResponse, ListDocCateResponse, ListRejectedQuestionPreviewResponse, DescribeCorpRequest, ListAppCategoryResponse, CreateAppResponse, DescribeAttributeLabelRequest, CreateQARequest, CreateCorpRequest, QueryRewriteResponse, DeleteAttributeLabelRequest, DescribeRobotBizIDByAppKeyResponse, RenameDocResponse, ReconstructDocumentResponse, ListDocCateRequest, DescribeDocResponse, CreateReleaseRequest, GroupDocRequest, CheckAttributeLabelReferRequest, ModifyQACateRequest, ModifyAttributeLabelRequest, ConvertDocumentRequest, ListUnsatisfiedReplyResponse, GetAppSecretRequest, DeleteQACateResponse, SaveDocResponse, ListReleaseDocPreviewResponse, RenameDocRequest, GenerateQAResponse, GetTaskStatusResponse, DescribeConcurrencyUsageGraphRequest, DescribeDocRequest, DescribeTokenUsageGraphRequest, ConvertDocumentResponse, RetryDocAuditRequest, SaveDocRequest, RetryDocParseRequest, ListAppKnowledgeDetailResponse, ModifyQACateResponse, DescribeAttributeLabelResponse, ModifyAttributeLabelResponse, ListQACateResponse, GetVarListRequest, RetryDocParseResponse, CreateRejectedQuestionResponse, GetEmbeddingResponse, ExportUnsatisfiedReplyRequest, GroupQAResponse, CreateAppRequest, DescribeReleaseRequest, ListAppCategoryRequest, ListReleaseConfigPreviewRequest, ListReleaseDocPreviewRequest, DescribeUnsatisfiedReplyContextResponse, CreateRejectedQuestionRequest, DescribeKnowledgeUsagePieGraphRequest, DescribeReferResponse, ListDocRequest, ReconstructDocumentRequest, GetEmbeddingRequest, GroupQARequest, RateMsgRecordRequest, DescribeCallStatsGraphRequest, GetMsgRecordResponse, DescribeAppRequest, GetReconstructDocumentResultRequest, DescribeKnowledgeUsageRequest, ListQAResponse, IgnoreUnsatisfiedReplyRequest, DescribeReleaseResponse, DescribeConcurrencyUsageGraphResponse, VerifyQARequest, DescribeKnowledgeUsagePieGraphResponse, ListReleaseQAPreviewResponse, DescribeTokenUsageGraphResponse, RetryDocAuditResponse, GetReconstructDocumentResultResponse, ModifyDocCateRequest, GetLikeDataCountRequest, DeleteRejectedQuestionResponse, CreateAttributeLabelRequest, ListAppResponse, CreateReconstructDocumentFlowRequest, RunReRankResponse, ListRejectedQuestionPreviewRequest, ListReleaseConfigPreviewResponse, DeleteRejectedQuestionRequest, ExportQAListRequest, GetDocPreviewResponse, DescribeConcurrencyUsageResponse, CreateReleaseResponse, QueryRewriteRequest, ModifyAppRequest, RunReRankRequest, DeleteAttributeLabelResponse, RetryReleaseRequest, DeleteQACateRequest, GenerateQARequest, GetWsTokenRequest, ModifyDocRequest, DescribeTokenUsageResponse, DeleteAppResponse, ListAttributeLabelRequest, DeleteDocCateRequest, DeleteDocResponse, DescribeSegmentsResponse, DescribeConcurrencyUsageRequest, GroupDocResponse, UploadAttributeLabelRequest, ListUsageCallDetailResponse, ExportAttributeLabelRequest, DescribeTokenUsageRequest, GetAppKnowledgeCountResponse, RetryReleaseResponse, CreateAttributeLabelResponse, ListAppKnowledgeDetailRequest, CreateQAResponse, ListQACateRequest, ListReleaseQAPreviewRequest, DescribeReleaseInfoResponse, IsTransferIntentRequest, DescribeReferRequest, DeleteAppRequest, ModifyRejectedQuestionResponse, GetVarListResponse, DescribeStorageCredentialRequest, DescribeCorpResponse, ModifyDocCateResponse, ListReleaseResponse, ListModelResponse, ListAttributeLabelResponse, ModifyQAResponse, DeleteQAResponse, DescribeCallStatsGraphResponse, GetMsgRecordRequest, DescribeStorageCredentialResponse, CheckAttributeLabelExistResponse, GetTaskStatusRequest, CheckAttributeLabelReferResponse, RateMsgRecordResponse, CreateVarResponse, ModifyDocAttrRangeRequest, CreateQACateRequest, DescribeRobotBizIDByAppKeyRequest, CreateVarRequest, CreateReconstructDocumentFlowResponse, VerifyQAResponse, DescribeSegmentsRequest, DescribeSearchStatsGraphRequest, DescribeSearchStatsGraphResponse, ModifyRejectedQuestionRequest, IgnoreUnsatisfiedReplyResponse, StopDocParseRequest, ListModelRequest, ListSelectDocRequest } from "./lke_models";
|
|
4
4
|
/**
|
|
5
5
|
* lke client
|
|
6
6
|
* @class
|
|
@@ -1919,6 +1919,10 @@ export interface PluginToolReqParam {
|
|
|
1919
1919
|
* 子参数,ParamType 是OBJECT 或 ARRAY<>类型有用
|
|
1920
1920
|
*/
|
|
1921
1921
|
SubParams?: Array<PluginToolReqParam>;
|
|
1922
|
+
/**
|
|
1923
|
+
* 插件参数配置是否隐藏不可见,true-隐藏不可见,false-可见
|
|
1924
|
+
*/
|
|
1925
|
+
GlobalHidden?: boolean;
|
|
1922
1926
|
}
|
|
1923
1927
|
/**
|
|
1924
1928
|
* QueryRewrite返回参数结构体
|
|
@@ -3469,13 +3473,17 @@ export interface CallDetail {
|
|
|
3469
3473
|
SubScene?: string;
|
|
3470
3474
|
}
|
|
3471
3475
|
/**
|
|
3472
|
-
*
|
|
3476
|
+
* 文档列表筛选标识位
|
|
3473
3477
|
*/
|
|
3474
|
-
export interface
|
|
3478
|
+
export interface DocFilterFlag {
|
|
3475
3479
|
/**
|
|
3476
|
-
*
|
|
3480
|
+
* 标识位
|
|
3477
3481
|
*/
|
|
3478
|
-
|
|
3482
|
+
Flag?: string;
|
|
3483
|
+
/**
|
|
3484
|
+
* 标识值
|
|
3485
|
+
*/
|
|
3486
|
+
Value?: boolean;
|
|
3479
3487
|
}
|
|
3480
3488
|
/**
|
|
3481
3489
|
* ListReleaseDocPreview请求参数结构体
|
|
@@ -3855,6 +3863,14 @@ export interface ListDocRequest {
|
|
|
3855
3863
|
* 分类ID
|
|
3856
3864
|
*/
|
|
3857
3865
|
CateBizId?: string;
|
|
3866
|
+
/**
|
|
3867
|
+
* 文件类型分类筛选
|
|
3868
|
+
*/
|
|
3869
|
+
FileTypes?: Array<string>;
|
|
3870
|
+
/**
|
|
3871
|
+
* 文档列表筛选标识位
|
|
3872
|
+
*/
|
|
3873
|
+
FilterFlag?: Array<DocFilterFlag>;
|
|
3858
3874
|
}
|
|
3859
3875
|
/**
|
|
3860
3876
|
* ReconstructDocument请求参数结构体
|
|
@@ -5023,7 +5039,19 @@ export interface KnowledgeQaConfig {
|
|
|
5023
5039
|
*/
|
|
5024
5040
|
Greeting?: string;
|
|
5025
5041
|
/**
|
|
5026
|
-
* 角色描述,
|
|
5042
|
+
* 角色描述,4000字符以内。通过填写描述,设定应用的 #角色名称、 #风格特点 及可达成的#意图。建议按照下面的模板填写,且自定义意图建议不超过5个。
|
|
5043
|
+
|
|
5044
|
+
#角色名称:
|
|
5045
|
+
#风格特点:
|
|
5046
|
+
#输出要求:
|
|
5047
|
+
#能力限制:
|
|
5048
|
+
|
|
5049
|
+
能够达成以下用户意图
|
|
5050
|
+
##意图名称:
|
|
5051
|
+
##意图描述:
|
|
5052
|
+
##意图示例:
|
|
5053
|
+
##意图实现:
|
|
5054
|
+
|
|
5027
5055
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5028
5056
|
*/
|
|
5029
5057
|
RoleDescription?: string;
|
|
@@ -5077,6 +5105,16 @@ export interface KnowledgeQaConfig {
|
|
|
5077
5105
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5078
5106
|
*/
|
|
5079
5107
|
ThoughtModel?: AppModel;
|
|
5108
|
+
/**
|
|
5109
|
+
* 意图达成方式优先级
|
|
5110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5111
|
+
*/
|
|
5112
|
+
IntentAchievements?: Array<IntentAchievement>;
|
|
5113
|
+
/**
|
|
5114
|
+
* 是否开启图文检索
|
|
5115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5116
|
+
*/
|
|
5117
|
+
ImageTextRetrieval?: boolean;
|
|
5080
5118
|
}
|
|
5081
5119
|
/**
|
|
5082
5120
|
* 坐标
|
|
@@ -5358,6 +5396,10 @@ export interface GetDocPreviewResponse {
|
|
|
5358
5396
|
* 存在文档重命名情况下的新名称, 评测端优先使用这个名称
|
|
5359
5397
|
*/
|
|
5360
5398
|
NewName?: string;
|
|
5399
|
+
/**
|
|
5400
|
+
* 文件md结果cos临时地址
|
|
5401
|
+
*/
|
|
5402
|
+
ParseResultCosUrl?: string;
|
|
5361
5403
|
/**
|
|
5362
5404
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5363
5405
|
*/
|
|
@@ -5575,6 +5617,19 @@ export interface KnowledgeQaPlugin {
|
|
|
5575
5617
|
*/
|
|
5576
5618
|
IsBindingKnowledge?: boolean;
|
|
5577
5619
|
}
|
|
5620
|
+
/**
|
|
5621
|
+
* 意图达成方式
|
|
5622
|
+
*/
|
|
5623
|
+
export interface IntentAchievement {
|
|
5624
|
+
/**
|
|
5625
|
+
* 意图达成方式,qa:问答回复、doc:文档回复、workflow:工作流回复,llm:大模型回复
|
|
5626
|
+
*/
|
|
5627
|
+
Name?: string;
|
|
5628
|
+
/**
|
|
5629
|
+
* 意图达成方式描述
|
|
5630
|
+
*/
|
|
5631
|
+
Desc?: string;
|
|
5632
|
+
}
|
|
5578
5633
|
/**
|
|
5579
5634
|
* DeleteQACate请求参数结构体
|
|
5580
5635
|
*/
|
|
@@ -6370,6 +6425,15 @@ export interface DeleteAppRequest {
|
|
|
6370
6425
|
*/
|
|
6371
6426
|
AppType: string;
|
|
6372
6427
|
}
|
|
6428
|
+
/**
|
|
6429
|
+
* ModifyRejectedQuestion返回参数结构体
|
|
6430
|
+
*/
|
|
6431
|
+
export interface ModifyRejectedQuestionResponse {
|
|
6432
|
+
/**
|
|
6433
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6434
|
+
*/
|
|
6435
|
+
RequestId?: string;
|
|
6436
|
+
}
|
|
6373
6437
|
/**
|
|
6374
6438
|
* GetVarList返回参数结构体
|
|
6375
6439
|
*/
|
|
@@ -130,14 +130,14 @@ export declare class Client extends AbstractClient {
|
|
|
130
130
|
#### 已支持的模型
|
|
131
131
|
- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)
|
|
132
132
|
- DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。
|
|
133
|
-
- 支持64K上下文长度,最大输入56k,最大输出
|
|
133
|
+
- 支持64K上下文长度,最大输入56k,最大输出16k(不含思维链)。
|
|
134
134
|
- 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。
|
|
135
135
|
- DeepSeek-V3(model 参数值为**deepseek-v3**)
|
|
136
136
|
- DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。
|
|
137
|
-
- 支持64K上下文长度,最大输入56k,最大输出
|
|
137
|
+
- 支持64K上下文长度,最大输入56k,最大输出16k(不含思维链)。
|
|
138
138
|
- DeepSeek-R1(model 参数值为**deepseek-r1**)
|
|
139
139
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
|
140
|
-
- 支持64K上下文长度,最大输入56k,最大输出
|
|
140
|
+
- 支持64K上下文长度,最大输入56k,最大输出16k(不含思维链)。
|
|
141
141
|
|
|
142
142
|
### 计费说明
|
|
143
143
|
|
|
@@ -202,14 +202,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
202
202
|
#### 已支持的模型
|
|
203
203
|
- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)
|
|
204
204
|
- DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。
|
|
205
|
-
- 支持64K上下文长度,最大输入56k,最大输出
|
|
205
|
+
- 支持64K上下文长度,最大输入56k,最大输出16k(不含思维链)。
|
|
206
206
|
- 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。
|
|
207
207
|
- DeepSeek-V3(model 参数值为**deepseek-v3**)
|
|
208
208
|
- DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。
|
|
209
|
-
- 支持64K上下文长度,最大输入56k,最大输出
|
|
209
|
+
- 支持64K上下文长度,最大输入56k,最大输出16k(不含思维链)。
|
|
210
210
|
- DeepSeek-R1(model 参数值为**deepseek-r1**)
|
|
211
211
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
|
212
|
-
- 支持64K上下文长度,最大输入56k,最大输出
|
|
212
|
+
- 支持64K上下文长度,最大输入56k,最大输出16k(不含思维链)。
|
|
213
213
|
|
|
214
214
|
### 计费说明
|
|
215
215
|
|