tencentcloud-sdk-nodejs 4.0.588 → 4.0.589
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/CHANGELOG.md +222 -0
- package/SERVICE_CHANGELOG.md +297 -107
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +1 -1
- package/src/services/cbs/v20170312/cbs_models.ts +9 -2
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/dnspod/v20210323/dnspod_models.ts +22 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +1 -1
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +6 -0
- package/src/services/nlp/v20190408/nlp_client.ts +159 -55
- package/src/services/nlp/v20190408/nlp_models.ts +991 -495
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +4 -4
- package/src/services/redis/v20180412/redis_models.ts +3 -6
- package/src/services/rum/v20210622/rum_models.ts +13 -2
- package/src/services/teo/v20220901/teo_client.ts +46 -8
- package/src/services/teo/v20220901/teo_models.ts +307 -171
- package/src/services/tione/v20211111/tione_models.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +16 -6
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_client.ts +19 -7
- package/src/services/vpc/v20170312/vpc_models.ts +30 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +6 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +18 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +1 -1
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +1 -1
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +5 -0
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +38 -6
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +54 -6
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +946 -517
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -4
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -6
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +11 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +13 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +18 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +272 -154
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +14 -6
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +8 -4
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +10 -4
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +26 -0
- package/test/nlp.v20190408.test.js +82 -2
- package/test/teo.v20220901.test.js +30 -0
- package/test/vpc.v20170312.test.js +12 -2
package/products.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2023-03-30 01:01:08 |
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2023-03-30 01:01:12 |
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2023-03-30 01:01:15 |
|
|
9
|
-
| aiart | [AI 绘画](https://cloud.tencent.com/document/product/1668) | 2023-04-
|
|
9
|
+
| aiart | [AI 绘画](https://cloud.tencent.com/document/product/1668) | 2023-04-26 01:01:25 |
|
|
10
10
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-03-30 01:01:22 |
|
|
11
11
|
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2023-03-30 01:01:58 |
|
|
12
12
|
| anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-03-31 01:02:09 |
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-04-12 01:08:36 |
|
|
40
40
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-04-24 01:05:46 |
|
|
42
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-04-
|
|
42
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-04-26 01:07:08 |
|
|
43
43
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-04-24 01:06:05 |
|
|
44
44
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-04-25 01:08:05 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-03-30 01:08:00 |
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
56
56
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
57
57
|
| ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-04-19 01:12:57 |
|
|
58
|
-
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-04-
|
|
58
|
+
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-04-26 01:11:42 |
|
|
59
59
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-04-05 01:18:15 |
|
|
60
60
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-03-30 01:10:35 |
|
|
61
61
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-04-05 01:18:28 |
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-04-07 01:43:48 |
|
|
78
78
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-04-04 01:14:38 |
|
|
79
79
|
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-04-20 01:15:39 |
|
|
80
|
-
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-04-
|
|
80
|
+
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-04-26 01:20:43 |
|
|
81
81
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-04-19 01:27:47 |
|
|
82
82
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-03-30 01:36:07 |
|
|
83
83
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-03-30 01:36:11 |
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2023-04-25 01:30:43 |
|
|
119
119
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-03-30 01:41:53 |
|
|
120
120
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2023-04-12 01:33:34 |
|
|
121
|
-
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2023-
|
|
122
|
-
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2023-04-
|
|
121
|
+
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2023-04-26 01:30:49 |
|
|
122
|
+
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2023-04-26 01:31:28 |
|
|
123
123
|
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-03-30 01:43:25 |
|
|
124
124
|
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-04-24 01:28:29 |
|
|
125
125
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-03-30 01:43:44 |
|
|
@@ -141,10 +141,10 @@
|
|
|
141
141
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-04-17 01:29:42 |
|
|
142
142
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-03-30 01:49:22 |
|
|
143
143
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
144
|
-
| nlp | [
|
|
144
|
+
| nlp | [NLP服务](https://cloud.tencent.com/document/product/271) | 2023-04-25 13:40:49 |
|
|
145
145
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
146
146
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-03-30 01:49:33 |
|
|
147
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-04-
|
|
147
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-04-26 01:37:50 |
|
|
148
148
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-03-31 01:39:55 |
|
|
149
149
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-03-30 01:50:22 |
|
|
150
150
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-03-30 01:50:28 |
|
|
@@ -152,12 +152,12 @@
|
|
|
152
152
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-04-24 01:34:02 |
|
|
153
153
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2023-03-30 01:51:05 |
|
|
154
154
|
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-04-07 02:06:22 |
|
|
155
|
-
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2023-
|
|
156
|
-
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-04-
|
|
155
|
+
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2023-04-26 01:42:31 |
|
|
156
|
+
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-04-26 01:42:41 |
|
|
157
157
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2023-03-30 01:51:52 |
|
|
158
158
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-03-30 01:51:54 |
|
|
159
159
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
160
|
-
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-04-
|
|
160
|
+
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-04-26 01:43:23 |
|
|
161
161
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-04-24 01:35:50 |
|
|
162
162
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-04-20 01:34:23 |
|
|
163
163
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-03-30 01:52:35 |
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-03-30 01:54:15 |
|
|
178
178
|
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-04-04 01:41:31 |
|
|
179
179
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
180
|
-
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-
|
|
180
|
+
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-04-26 01:46:48 |
|
|
181
181
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
182
182
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-03-30 01:54:37 |
|
|
183
183
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-04-13 01:37:44 |
|
|
@@ -186,14 +186,14 @@
|
|
|
186
186
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
187
187
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
188
188
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2023-03-30 01:57:46 |
|
|
189
|
-
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-
|
|
189
|
+
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-04-26 01:48:46 |
|
|
190
190
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-04-19 01:50:55 |
|
|
191
191
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-03-30 02:27:00 |
|
|
192
192
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-03-30 02:27:07 |
|
|
193
193
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-04-25 01:51:08 |
|
|
194
194
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-03-30 02:27:47 |
|
|
195
195
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-04-20 01:41:18 |
|
|
196
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-04-
|
|
196
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-04-26 01:54:26 |
|
|
197
197
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-03-30 02:29:55 |
|
|
198
198
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
199
199
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-03-30 02:30:02 |
|
|
@@ -201,17 +201,17 @@
|
|
|
201
201
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2023-03-30 02:30:06 |
|
|
202
202
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
|
203
203
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-03-30 02:30:09 |
|
|
204
|
-
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-04-
|
|
204
|
+
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-04-26 01:56:56 |
|
|
205
205
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-04-14 01:58:42 |
|
|
206
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-04-
|
|
206
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-04-26 01:57:54 |
|
|
207
207
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
208
208
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-03-30 02:45:27 |
|
|
209
209
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-04-25 01:57:23 |
|
|
210
210
|
| tourism | [文旅客情平台](https://cloud.tencent.com/document/product/1684) | 2023-04-07 10:20:53 |
|
|
211
211
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-03-30 02:45:33 |
|
|
212
|
-
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-04-
|
|
212
|
+
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-04-26 02:00:05 |
|
|
213
213
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-04-12 02:06:17 |
|
|
214
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-04-
|
|
214
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-04-26 02:00:38 |
|
|
215
215
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-04-20 01:48:06 |
|
|
216
216
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-04-19 01:58:00 |
|
|
217
217
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-03-30 02:47:12 |
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-03-30 02:47:27 |
|
|
221
221
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-03-30 02:47:30 |
|
|
222
222
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-04-25 01:59:07 |
|
|
223
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-04-
|
|
223
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-04-26 02:02:58 |
|
|
224
224
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-04-14 02:04:14 |
|
|
225
225
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-04-24 01:51:56 |
|
|
226
226
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-03-30 02:49:55 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.589"
|
|
@@ -412,8 +412,9 @@ export interface BindAutoSnapshotPolicyRequest {
|
|
|
412
412
|
*/
|
|
413
413
|
export interface CreateSnapshotResponse {
|
|
414
414
|
/**
|
|
415
|
-
|
|
416
|
-
|
|
415
|
+
* 新创建的快照ID。
|
|
416
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
417
|
+
*/
|
|
417
418
|
SnapshotId?: string
|
|
418
419
|
|
|
419
420
|
/**
|
|
@@ -1106,6 +1107,12 @@ export interface Disk {
|
|
|
1106
1107
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1107
1108
|
*/
|
|
1108
1109
|
ErrorPrompt?: string
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* 云盘是否开启性能突发
|
|
1113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1114
|
+
*/
|
|
1115
|
+
BurstPerformance?: boolean
|
|
1109
1116
|
}
|
|
1110
1117
|
|
|
1111
1118
|
/**
|
|
@@ -245,6 +245,11 @@ export interface RollbackSnapshotRequest {
|
|
|
245
245
|
* 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
|
|
246
246
|
*/
|
|
247
247
|
DomainId?: number
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* 指定需要回滚的记录
|
|
251
|
+
*/
|
|
252
|
+
RecordList?: Array<SnapshotRecord>
|
|
248
253
|
}
|
|
249
254
|
|
|
250
255
|
/**
|
|
@@ -1517,6 +1522,11 @@ export interface DomainAliasInfo {
|
|
|
1517
1522
|
* 域名别名
|
|
1518
1523
|
*/
|
|
1519
1524
|
DomainAlias: string
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* 别名状态:1-DNS不正确;2-正常;3-封禁。
|
|
1528
|
+
*/
|
|
1529
|
+
Status?: number
|
|
1520
1530
|
}
|
|
1521
1531
|
|
|
1522
1532
|
/**
|
|
@@ -2165,6 +2175,18 @@ export interface SnapshotRecord {
|
|
|
2165
2175
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2166
2176
|
*/
|
|
2167
2177
|
MX?: string
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* 权重
|
|
2181
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2182
|
+
*/
|
|
2183
|
+
Weight?: string
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
* 失败原因
|
|
2187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2188
|
+
*/
|
|
2189
|
+
Reason?: string
|
|
2168
2190
|
}
|
|
2169
2191
|
|
|
2170
2192
|
/**
|
|
@@ -18,67 +18,91 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
RetrieveSimilarWordsResponse,
|
|
22
22
|
SentenceEmbeddingRequest,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
DpToken,
|
|
27
|
-
TextSimilarityResponse,
|
|
28
|
-
WordEmbeddingRequest,
|
|
29
|
-
ChatBotResponse,
|
|
30
|
-
AutoSummarizationRequest,
|
|
31
|
-
ChatBotRequest,
|
|
32
|
-
TextClassificationResponse,
|
|
33
|
-
KeywordsExtractionRequest,
|
|
23
|
+
EvaluateWordSimilarityResponse,
|
|
24
|
+
ParseWordsResponse,
|
|
25
|
+
BasicParticiple,
|
|
34
26
|
DictInfo,
|
|
35
|
-
|
|
36
|
-
ClassificationResult,
|
|
27
|
+
WordItem,
|
|
37
28
|
TextCorrectionProResponse,
|
|
38
|
-
|
|
29
|
+
Embellish,
|
|
30
|
+
EvaluateWordSimilarityRequest,
|
|
31
|
+
DeleteDictResponse,
|
|
32
|
+
TextWritingResponse,
|
|
33
|
+
CreateDictResponse,
|
|
34
|
+
TextClassificationResponse,
|
|
35
|
+
LexicalAnalysisResponse,
|
|
36
|
+
DescribeDictResponse,
|
|
37
|
+
DescribeDictsResponse,
|
|
38
|
+
DeleteDictRequest,
|
|
39
|
+
Entity,
|
|
40
|
+
GeneratePoetryRequest,
|
|
41
|
+
SearchWordItemsRequest,
|
|
42
|
+
GenerateKeywordSentenceRequest,
|
|
43
|
+
SentimentAnalysisResponse,
|
|
44
|
+
ChatBotResponse,
|
|
45
|
+
KeywordsExtractionRequest,
|
|
46
|
+
SearchResult,
|
|
47
|
+
SentenceEmbeddingResponse,
|
|
48
|
+
UpdateDictRequest,
|
|
49
|
+
SentimentAnalysisRequest,
|
|
50
|
+
TextWritingRequest,
|
|
51
|
+
AutoSummarizationResponse,
|
|
52
|
+
TextCorrectionResponse,
|
|
53
|
+
DeleteWordItemsRequest,
|
|
54
|
+
NerToken,
|
|
55
|
+
SimilarWordsResponse,
|
|
56
|
+
DependencyParsingResponse,
|
|
57
|
+
GenerateCoupletRequest,
|
|
58
|
+
LexicalAnalysisRequest,
|
|
59
|
+
CreateWordItemsResponse,
|
|
39
60
|
TextSimilarityProRequest,
|
|
40
|
-
|
|
61
|
+
RetrieveSimilarWordsRequest,
|
|
62
|
+
Writing,
|
|
63
|
+
AutoSummarizationRequest,
|
|
64
|
+
ClassificationResult,
|
|
41
65
|
DescribeDictsRequest,
|
|
42
66
|
WordSimilarityResponse,
|
|
43
|
-
|
|
67
|
+
TextEmbellishRequest,
|
|
68
|
+
EvaluateSentenceSimilarityResponse,
|
|
44
69
|
CreateWordItemsRequest,
|
|
45
|
-
|
|
46
|
-
DeleteWordItemsResponse,
|
|
47
|
-
SentenceEmbeddingResponse,
|
|
48
|
-
UpdateDictRequest,
|
|
49
|
-
DeleteDictResponse,
|
|
70
|
+
SimilarWordsRequest,
|
|
50
71
|
DescribeWordItemsRequest,
|
|
51
72
|
GenerateCoupletResponse,
|
|
52
|
-
CreateDictResponse,
|
|
53
|
-
TextSimilarityRequest,
|
|
54
|
-
AutoSummarizationResponse,
|
|
55
73
|
WordEmbeddingResponse,
|
|
74
|
+
PosToken,
|
|
75
|
+
KeywordsExtractionResponse,
|
|
76
|
+
SentenceCorrectionResponse,
|
|
77
|
+
EvaluateSentenceSimilarityRequest,
|
|
78
|
+
Similarity,
|
|
79
|
+
GenerateKeywordSentenceResponse,
|
|
80
|
+
CCIToken,
|
|
81
|
+
TextEmbellishResponse,
|
|
82
|
+
CorrectionItem,
|
|
83
|
+
TextClassificationRequest,
|
|
84
|
+
SearchWordItemsResponse,
|
|
85
|
+
DpToken,
|
|
86
|
+
ChatBotRequest,
|
|
87
|
+
TextCorrectionRequest,
|
|
88
|
+
Keyword,
|
|
89
|
+
UpdateDictResponse,
|
|
90
|
+
WordSimilarityRequest,
|
|
91
|
+
DeleteWordItemsResponse,
|
|
92
|
+
TextSimilarityRequest,
|
|
93
|
+
WordEmbeddingRequest,
|
|
94
|
+
CompoundParticiple,
|
|
56
95
|
DescribeWordItemsResponse,
|
|
57
|
-
|
|
96
|
+
ParseWordsRequest,
|
|
97
|
+
TextSimilarityResponse,
|
|
58
98
|
DescribeDictRequest,
|
|
59
|
-
PosToken,
|
|
60
99
|
GeneratePoetryResponse,
|
|
61
|
-
DeleteWordItemsRequest,
|
|
62
|
-
DescribeDictResponse,
|
|
63
|
-
TextCorrectionProRequest,
|
|
64
|
-
TextCorrectionResponse,
|
|
65
100
|
TextSimilarityProResponse,
|
|
66
|
-
DescribeDictsResponse,
|
|
67
101
|
DependencyParsingRequest,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
DependencyParsingResponse,
|
|
73
|
-
SimilarWordsResponse,
|
|
74
|
-
GenerateCoupletRequest,
|
|
75
|
-
CCIToken,
|
|
76
|
-
LexicalAnalysisRequest,
|
|
77
|
-
GeneratePoetryRequest,
|
|
78
|
-
CreateWordItemsResponse,
|
|
79
|
-
SentimentAnalysisRequest,
|
|
80
|
-
SearchWordItemsRequest,
|
|
81
|
-
KeywordsExtractionResponse,
|
|
102
|
+
SentencePair,
|
|
103
|
+
KeywordSentence,
|
|
104
|
+
SentenceCorrectionRequest,
|
|
105
|
+
TextCorrectionProRequest,
|
|
82
106
|
CreateDictRequest,
|
|
83
107
|
} from "./nlp_models"
|
|
84
108
|
|
|
@@ -142,16 +166,23 @@ export class Client extends AbstractClient {
|
|
|
142
166
|
}
|
|
143
167
|
|
|
144
168
|
/**
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
169
|
+
* 通过计算句子间的语义相似性,帮助您快速找到文本中重复或相似的句子,用于文本聚类、相似问题检索等应用场景。
|
|
170
|
+
*/
|
|
171
|
+
async EvaluateSentenceSimilarity(
|
|
172
|
+
req: EvaluateSentenceSimilarityRequest,
|
|
173
|
+
cb?: (error: string, rep: EvaluateSentenceSimilarityResponse) => void
|
|
174
|
+
): Promise<EvaluateSentenceSimilarityResponse> {
|
|
175
|
+
return this.request("EvaluateSentenceSimilarity", req, cb)
|
|
176
|
+
}
|
|
148
177
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
178
|
+
/**
|
|
179
|
+
* 提取文本中的关键信息,生成简洁明了的关键句子,便于用户快速获取核心观点。
|
|
180
|
+
*/
|
|
181
|
+
async GenerateKeywordSentence(
|
|
182
|
+
req: GenerateKeywordSentenceRequest,
|
|
183
|
+
cb?: (error: string, rep: GenerateKeywordSentenceResponse) => void
|
|
184
|
+
): Promise<GenerateKeywordSentenceResponse> {
|
|
185
|
+
return this.request("GenerateKeywordSentence", req, cb)
|
|
155
186
|
}
|
|
156
187
|
|
|
157
188
|
/**
|
|
@@ -164,6 +195,16 @@ export class Client extends AbstractClient {
|
|
|
164
195
|
return this.request("DescribeDicts", req, cb)
|
|
165
196
|
}
|
|
166
197
|
|
|
198
|
+
/**
|
|
199
|
+
* 通过自动补全文本片段,帮助用户快速生成高质量、连贯的完整文本,提高创作效率。
|
|
200
|
+
*/
|
|
201
|
+
async TextWriting(
|
|
202
|
+
req: TextWritingRequest,
|
|
203
|
+
cb?: (error: string, rep: TextWritingResponse) => void
|
|
204
|
+
): Promise<TextWritingResponse> {
|
|
205
|
+
return this.request("TextWriting", req, cb)
|
|
206
|
+
}
|
|
207
|
+
|
|
167
208
|
/**
|
|
168
209
|
* 根据指定的名称、描述创建自定义词库。
|
|
169
210
|
*/
|
|
@@ -184,6 +225,16 @@ export class Client extends AbstractClient {
|
|
|
184
225
|
return this.request("GeneratePoetry", req, cb)
|
|
185
226
|
}
|
|
186
227
|
|
|
228
|
+
/**
|
|
229
|
+
* 通过精准地对文本进行分词、词性标注、命名实体识别等功能,助您更好地理解文本内容,挖掘出潜在的价值信息。
|
|
230
|
+
*/
|
|
231
|
+
async ParseWords(
|
|
232
|
+
req: ParseWordsRequest,
|
|
233
|
+
cb?: (error: string, rep: ParseWordsResponse) => void
|
|
234
|
+
): Promise<ParseWordsResponse> {
|
|
235
|
+
return this.request("ParseWords", req, cb)
|
|
236
|
+
}
|
|
237
|
+
|
|
187
238
|
/**
|
|
188
239
|
* 文本分类接口能够对用户输入的文本进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。
|
|
189
240
|
|
|
@@ -244,6 +295,16 @@ export class Client extends AbstractClient {
|
|
|
244
295
|
return this.request("TextCorrection", req, cb)
|
|
245
296
|
}
|
|
246
297
|
|
|
298
|
+
/**
|
|
299
|
+
* 评估两个词语在语义空间的相似程度,为您的场景应用提供有力支持,如关键词过滤、热门话题挖掘等。(目前仅支持中文)
|
|
300
|
+
*/
|
|
301
|
+
async EvaluateWordSimilarity(
|
|
302
|
+
req: EvaluateWordSimilarityRequest,
|
|
303
|
+
cb?: (error: string, rep: EvaluateWordSimilarityResponse) => void
|
|
304
|
+
): Promise<EvaluateWordSimilarityResponse> {
|
|
305
|
+
return this.request("EvaluateWordSimilarity", req, cb)
|
|
306
|
+
}
|
|
307
|
+
|
|
247
308
|
/**
|
|
248
309
|
* 根据用户输入的命题关键词自动生成一副春联,包括上联、下联和横批。(如需开通请联系商务)
|
|
249
310
|
*/
|
|
@@ -334,6 +395,16 @@ export class Client extends AbstractClient {
|
|
|
334
395
|
return this.request("LexicalAnalysis", req, cb)
|
|
335
396
|
}
|
|
336
397
|
|
|
398
|
+
/**
|
|
399
|
+
* 基于大数据和深度学习技术,可以快速地找到与给定词语高度相似的其他词语,有助于提高搜索和推荐的准确性。(目前仅支持中文)
|
|
400
|
+
*/
|
|
401
|
+
async RetrieveSimilarWords(
|
|
402
|
+
req: RetrieveSimilarWordsRequest,
|
|
403
|
+
cb?: (error: string, rep: RetrieveSimilarWordsResponse) => void
|
|
404
|
+
): Promise<RetrieveSimilarWordsResponse> {
|
|
405
|
+
return this.request("RetrieveSimilarWords", req, cb)
|
|
406
|
+
}
|
|
407
|
+
|
|
337
408
|
/**
|
|
338
409
|
* 基于关键词提取平台,通过对文本内容进行深度分析,提取出文本内容中的关键信息,为用户实现诸如新闻内容关键词自动提取、评论关键词提取等提供基础服务。
|
|
339
410
|
*/
|
|
@@ -344,6 +415,16 @@ export class Client extends AbstractClient {
|
|
|
344
415
|
return this.request("KeywordsExtraction", req, cb)
|
|
345
416
|
}
|
|
346
417
|
|
|
418
|
+
/**
|
|
419
|
+
* 运用先进的自然语言处理技术,对原始文本进行优化润色,提升文本的通顺性、表达力和语言质量。
|
|
420
|
+
*/
|
|
421
|
+
async TextEmbellish(
|
|
422
|
+
req: TextEmbellishRequest,
|
|
423
|
+
cb?: (error: string, rep: TextEmbellishResponse) => void
|
|
424
|
+
): Promise<TextEmbellishResponse> {
|
|
425
|
+
return this.request("TextEmbellish", req, cb)
|
|
426
|
+
}
|
|
427
|
+
|
|
347
428
|
/**
|
|
348
429
|
* 提供对中文文本的自动纠错功能,能够识别输入文本中的错误片段,定位错误并给出正确的文本结果;支持长度不超过128字符(含标点符号)的长文本纠错。
|
|
349
430
|
|
|
@@ -356,6 +437,29 @@ export class Client extends AbstractClient {
|
|
|
356
437
|
return this.request("TextCorrectionPro", req, cb)
|
|
357
438
|
}
|
|
358
439
|
|
|
440
|
+
/**
|
|
441
|
+
* 词向量接口能够将输入的词语映射成一个固定维度的词向量,用来表示这个词语的语义特征。词向量是很多自然语言处理技术的基础,能够显著提高它们的效果。
|
|
442
|
+
|
|
443
|
+
该词向量服务由腾讯知文自然语言处理团队联合腾讯AI Lab共同打造。使用的词向量基于千亿级大规模互联网语料并采用AI Lab自研的DSG算法训练而成,开源的词向量包含800多万中文词汇,在覆盖率、新鲜度及准确性等三方面性能突出。
|
|
444
|
+
|
|
445
|
+
*/
|
|
446
|
+
async WordEmbedding(
|
|
447
|
+
req: WordEmbeddingRequest,
|
|
448
|
+
cb?: (error: string, rep: WordEmbeddingResponse) => void
|
|
449
|
+
): Promise<WordEmbeddingResponse> {
|
|
450
|
+
return this.request("WordEmbedding", req, cb)
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* 智能识别并纠正句子中的语法、拼写、用词等错误,确保文本的准确性和可读性。
|
|
455
|
+
*/
|
|
456
|
+
async SentenceCorrection(
|
|
457
|
+
req: SentenceCorrectionRequest,
|
|
458
|
+
cb?: (error: string, rep: SentenceCorrectionResponse) => void
|
|
459
|
+
): Promise<SentenceCorrectionResponse> {
|
|
460
|
+
return this.request("SentenceCorrection", req, cb)
|
|
461
|
+
}
|
|
462
|
+
|
|
359
463
|
/**
|
|
360
464
|
* 删除自定义词库,会附带相应删除词库包含的所有词条。
|
|
361
465
|
*/
|