tencentcloud-sdk-nodejs 4.0.627 → 4.0.629
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 +508 -0
- package/SERVICE_CHANGELOG.md +642 -100
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +35 -26
- package/src/services/apigateway/v20180808/apigateway_models.ts +17 -13
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +2 -2
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cdn/v20180606/cdn_client.ts +16 -0
- package/src/services/cdn/v20180606/cdn_models.ts +28 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +26 -12
- package/src/services/ckafka/v20190819/ckafka_models.ts +271 -130
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +13 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +42 -8
- package/src/services/ess/v20201111/ess_models.ts +4 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +4 -36
- package/src/services/live/v20180801/live_models.ts +4 -4
- package/src/services/nlp/v20190408/nlp_client.ts +54 -5
- package/src/services/nlp/v20190408/nlp_models.ts +206 -32
- package/src/services/postgres/v20170312/postgres_models.ts +5 -5
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +33 -2
- package/src/services/tbaas/v20180416/tbaas_client.ts +53 -123
- package/src/services/tbaas/v20180416/tbaas_models.ts +192 -516
- package/src/services/tdid/v20210519/tdid_client.ts +111 -518
- package/src/services/tdid/v20210519/tdid_models.ts +354 -1911
- package/src/services/tdmq/v20200217/tdmq_models.ts +2 -2
- package/src/services/tione/v20211111/tione_models.ts +10 -0
- package/src/services/tke/v20180525/tke_client.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +4 -4
- package/src/services/trp/v20210515/trp_client.ts +1 -0
- package/src/services/trp/v20210515/trp_models.ts +152 -40
- package/src/services/tts/v20190823/tts_models.ts +3 -3
- package/src/services/waf/v20180125/waf_client.ts +13 -0
- package/src/services/waf/v20180125/waf_models.ts +170 -0
- package/src/services/wedata/v20210820/wedata_models.ts +76 -5
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +35 -26
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +17 -13
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +10 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +26 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +7 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +9 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +266 -129
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +40 -8
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -36
- package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -4
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +17 -1
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +24 -0
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +197 -32
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +5 -5
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +32 -2
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +27 -47
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +27 -59
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +193 -503
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +41 -197
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +50 -266
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +353 -1839
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +2 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +10 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +151 -40
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +3 -3
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +167 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +76 -5
- package/test/cdn.v20180606.test.js +10 -0
- package/test/ckafka.v20190819.test.js +12 -2
- package/test/cynosdb.v20190107.test.js +10 -0
- package/test/nlp.v20190408.test.js +40 -0
- package/test/tbaas.v20180416.test.js +2 -62
- package/test/tdid.v20210519.test.js +20 -320
- package/test/waf.v20180125.test.js +10 -0
|
@@ -93,6 +93,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
93
93
|
async CloseAuditService(req, cb) {
|
|
94
94
|
return this.request("CloseAuditService", req, cb);
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* 查询支持的数据库代理版本
|
|
98
|
+
*/
|
|
99
|
+
async DescribeSupportProxyVersion(req, cb) {
|
|
100
|
+
return this.request("DescribeSupportProxyVersion", req, cb);
|
|
101
|
+
}
|
|
96
102
|
/**
|
|
97
103
|
* 本接口(CreateAuditLogFile)用于创建云数据库实例的审计日志文件。
|
|
98
104
|
*/
|
|
@@ -1461,6 +1461,23 @@ export interface SetRenewFlagRequest {
|
|
|
1461
1461
|
*/
|
|
1462
1462
|
AutoRenewFlag: number;
|
|
1463
1463
|
}
|
|
1464
|
+
/**
|
|
1465
|
+
* 审计规则的规则过滤条件
|
|
1466
|
+
*/
|
|
1467
|
+
export interface RuleFilters {
|
|
1468
|
+
/**
|
|
1469
|
+
* 审计规则过滤条件的参数名称。可选值:host – 客户端 IP;user – 数据库账户;dbName – 数据库名称;sqlType-SQL类型;sql-sql语句。
|
|
1470
|
+
*/
|
|
1471
|
+
Type: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* 审计规则过滤条件的匹配类型。可选值:INC – 包含;EXC – 不包含;EQS – 等于;NEQ – 不等于。
|
|
1474
|
+
*/
|
|
1475
|
+
Compare: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* 审计规则过滤条件的匹配值。
|
|
1478
|
+
*/
|
|
1479
|
+
Value: Array<string>;
|
|
1480
|
+
}
|
|
1464
1481
|
/**
|
|
1465
1482
|
* OfflineCluster请求参数结构体
|
|
1466
1483
|
*/
|
|
@@ -1855,6 +1872,19 @@ export interface ParamItem {
|
|
|
1855
1872
|
*/
|
|
1856
1873
|
OldValue: string;
|
|
1857
1874
|
}
|
|
1875
|
+
/**
|
|
1876
|
+
* DescribeSupportProxyVersion请求参数结构体
|
|
1877
|
+
*/
|
|
1878
|
+
export interface DescribeSupportProxyVersionRequest {
|
|
1879
|
+
/**
|
|
1880
|
+
* 集群ID
|
|
1881
|
+
*/
|
|
1882
|
+
ClusterId: string;
|
|
1883
|
+
/**
|
|
1884
|
+
* 数据库代理组ID
|
|
1885
|
+
*/
|
|
1886
|
+
ProxyGroupId?: string;
|
|
1887
|
+
}
|
|
1858
1888
|
/**
|
|
1859
1889
|
* ModifyClusterStorage返回参数结构体
|
|
1860
1890
|
*/
|
|
@@ -6709,21 +6739,23 @@ export interface CynosdbInstanceDetail {
|
|
|
6709
6739
|
ServerlessStatus: string;
|
|
6710
6740
|
}
|
|
6711
6741
|
/**
|
|
6712
|
-
*
|
|
6742
|
+
* DescribeSupportProxyVersion返回参数结构体
|
|
6713
6743
|
*/
|
|
6714
|
-
export interface
|
|
6744
|
+
export interface DescribeSupportProxyVersionResponse {
|
|
6715
6745
|
/**
|
|
6716
|
-
*
|
|
6746
|
+
* 支持的数据库代理版本集合
|
|
6747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6717
6748
|
*/
|
|
6718
|
-
|
|
6749
|
+
SupportProxyVersions: Array<string>;
|
|
6719
6750
|
/**
|
|
6720
|
-
*
|
|
6751
|
+
* 当前proxy版本号
|
|
6752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6721
6753
|
*/
|
|
6722
|
-
|
|
6754
|
+
CurrentProxyVersion: string;
|
|
6723
6755
|
/**
|
|
6724
|
-
*
|
|
6756
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6725
6757
|
*/
|
|
6726
|
-
|
|
6758
|
+
RequestId?: string;
|
|
6727
6759
|
}
|
|
6728
6760
|
/**
|
|
6729
6761
|
* UpgradeClusterVersion请求参数结构体
|
|
@@ -375,7 +375,7 @@ export interface DescribeThirdPartyAuthCodeResponse {
|
|
|
375
375
|
/**
|
|
376
376
|
* 用户是否实名,VERIFIED 为实名,UNVERIFIED 未实名
|
|
377
377
|
*/
|
|
378
|
-
VerifyStatus
|
|
378
|
+
VerifyStatus?: string;
|
|
379
379
|
/**
|
|
380
380
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
381
381
|
*/
|
|
@@ -834,13 +834,13 @@ export interface DescribeFlowEvidenceReportResponse {
|
|
|
834
834
|
* 报告 URL
|
|
835
835
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
836
836
|
*/
|
|
837
|
-
ReportUrl
|
|
837
|
+
ReportUrl?: string;
|
|
838
838
|
/**
|
|
839
839
|
* 执行中:EvidenceStatusExecuting
|
|
840
840
|
成功:EvidenceStatusSuccess
|
|
841
841
|
失败:EvidenceStatusFailed
|
|
842
842
|
*/
|
|
843
|
-
Status
|
|
843
|
+
Status?: string;
|
|
844
844
|
/**
|
|
845
845
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
846
846
|
*/
|
|
@@ -3594,7 +3594,7 @@ export interface Component {
|
|
|
3594
3594
|
|
|
3595
3595
|
ComponentType为SIGN_SEAL类型时,支持以下参数:
|
|
3596
3596
|
1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
|
3597
|
-
参数样例:
|
|
3597
|
+
参数样例:"ComponentExtra":"{\"PageRanges\":[{\"BeginPage\":1,\"EndPage\":-1}]}"
|
|
3598
3598
|
*/
|
|
3599
3599
|
ComponentExtra?: string;
|
|
3600
3600
|
/**
|
|
@@ -3128,37 +3128,6 @@ export interface Component {
|
|
|
3128
3128
|
/**
|
|
3129
3129
|
* 扩展参数:
|
|
3130
3130
|
为JSON格式。
|
|
3131
|
-
|
|
3132
|
-
ComponentType为FILL_IMAGE时,支持以下参数:
|
|
3133
|
-
NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
|
|
3134
|
-
FillMethod: int. 填充方式。0-铺满(默认);1-等比例缩放
|
|
3135
|
-
|
|
3136
|
-
ComponentType为SIGN_SIGNATURE类型可以控制签署方式
|
|
3137
|
-
{“ComponentTypeLimit”: [“xxx”]}
|
|
3138
|
-
xxx可以为:
|
|
3139
|
-
HANDWRITE – 手写签名
|
|
3140
|
-
OCR_ESIGN -- AI智能识别手写签名
|
|
3141
|
-
ESIGN -- 个人印章类型
|
|
3142
|
-
SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
|
3143
|
-
如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
|
|
3144
|
-
|
|
3145
|
-
ComponentType为SIGN_DATE时,支持以下参数:
|
|
3146
|
-
1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
|
|
3147
|
-
2 FontSize: 数字类型,范围6-72,默认值为12
|
|
3148
|
-
3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
|
|
3149
|
-
4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
|
|
3150
|
-
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
|
|
3151
|
-
如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
|
|
3152
|
-
特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
|
|
3153
|
-
参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
|
|
3154
|
-
|
|
3155
|
-
ComponentType为SIGN_SEAL类型时,支持以下参数:
|
|
3156
|
-
1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
|
3157
|
-
参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
参数控件样式,json格式表述
|
|
3161
|
-
|
|
3162
3131
|
不同类型的控件会有部分非通用参数
|
|
3163
3132
|
|
|
3164
3133
|
TEXT/MULTI_LINE_TEXT控件可以指定
|
|
@@ -3175,25 +3144,24 @@ export interface Component {
|
|
|
3175
3144
|
{“ComponentTypeLimit”: [“xxx”]}
|
|
3176
3145
|
xxx可以为:
|
|
3177
3146
|
HANDWRITE – 手写签名
|
|
3178
|
-
BORDERLESS_ESIGN – 自动生成无边框腾讯体
|
|
3179
3147
|
OCR_ESIGN -- AI智能识别手写签名
|
|
3180
3148
|
ESIGN -- 个人印章类型
|
|
3181
3149
|
SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
|
3182
|
-
如:{“ComponentTypeLimit”: [“
|
|
3150
|
+
如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
|
|
3183
3151
|
|
|
3184
3152
|
ComponentType为SIGN_DATE时,支持以下参数:
|
|
3185
3153
|
1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
|
|
3186
3154
|
2 FontSize: 数字类型,范围6-72,默认值为12
|
|
3187
3155
|
3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
|
|
3188
3156
|
4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
|
|
3189
|
-
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2
|
|
3157
|
+
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
|
|
3190
3158
|
如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
|
|
3191
3159
|
特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
|
|
3192
|
-
参数样例:
|
|
3160
|
+
参数样例: "ComponentExtra": "{"Format":“yyyy m d”,"FontSize":12,"Gaps":"2,2", "FontAlign":"Right"}"
|
|
3193
3161
|
|
|
3194
3162
|
ComponentType为SIGN_SEAL类型时,支持以下参数:
|
|
3195
3163
|
1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
|
3196
|
-
参数样例: "ComponentExtra":"{
|
|
3164
|
+
参数样例: "ComponentExtra":"{["PageRange":{"BeginPage":1,"EndPage":-1}]}"
|
|
3197
3165
|
*/
|
|
3198
3166
|
ComponentExtra?: string;
|
|
3199
3167
|
/**
|
|
@@ -5259,21 +5259,21 @@ export interface DescribeLiveDomainsResponse {
|
|
|
5259
5259
|
/**
|
|
5260
5260
|
* 总记录数。
|
|
5261
5261
|
*/
|
|
5262
|
-
AllCount
|
|
5262
|
+
AllCount?: number;
|
|
5263
5263
|
/**
|
|
5264
5264
|
* 域名详细信息列表。
|
|
5265
5265
|
*/
|
|
5266
|
-
DomainList
|
|
5266
|
+
DomainList?: Array<DomainInfo>;
|
|
5267
5267
|
/**
|
|
5268
5268
|
* 可继续添加域名数量。
|
|
5269
5269
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5270
5270
|
*/
|
|
5271
|
-
CreateLimitCount
|
|
5271
|
+
CreateLimitCount?: number;
|
|
5272
5272
|
/**
|
|
5273
5273
|
* 启用的播放域名加速区域统计,数组元素分别为:中国大陆(境内),全球地区,国际/港澳台(境外)域名数量。
|
|
5274
5274
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5275
5275
|
*/
|
|
5276
|
-
PlayTypeCount
|
|
5276
|
+
PlayTypeCount?: Array<number>;
|
|
5277
5277
|
/**
|
|
5278
5278
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5279
5279
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RetrieveSimilarWordsResponse, SentenceEmbeddingRequest, EvaluateWordSimilarityResponse, ParseWordsResponse, TextCorrectionProResponse, EvaluateWordSimilarityRequest, DeleteDictResponse,
|
|
3
|
+
import { RetrieveSimilarWordsResponse, SentenceEmbeddingRequest, EvaluateWordSimilarityResponse, ClassifyContentResponse, ParseWordsResponse, TextCorrectionProResponse, ClassifyContentRequest, EvaluateWordSimilarityRequest, DeleteDictResponse, TextClassificationRequest, CreateDictResponse, TextSimilarityRequest, LexicalAnalysisResponse, DescribeDictResponse, DescribeDictsResponse, DeleteDictRequest, GeneratePoetryRequest, SearchWordItemsRequest, GenerateKeywordSentenceRequest, ComposeCoupletResponse, SentimentAnalysisResponse, ChatBotResponse, KeywordsExtractionRequest, SentenceEmbeddingResponse, UpdateDictRequest, SentimentAnalysisRequest, TextWritingRequest, AnalyzeSentimentRequest, AutoSummarizationResponse, TextCorrectionResponse, DeleteWordItemsRequest, SimilarWordsResponse, DependencyParsingResponse, GenerateCoupletRequest, LexicalAnalysisRequest, CreateWordItemsResponse, TextSimilarityProRequest, RetrieveSimilarWordsRequest, AutoSummarizationRequest, DescribeDictsRequest, WordSimilarityResponse, TextEmbellishRequest, EvaluateSentenceSimilarityResponse, CreateWordItemsRequest, SimilarWordsRequest, DescribeWordItemsRequest, GenerateCoupletResponse, WordEmbeddingResponse, KeywordsExtractionResponse, SentenceCorrectionResponse, ComposeCoupletRequest, EvaluateSentenceSimilarityRequest, GenerateKeywordSentenceResponse, ComposePoetryResponse, ComposePoetryRequest, TextEmbellishResponse, TextWritingResponse, SearchWordItemsResponse, ChatBotRequest, TextCorrectionRequest, TextClassificationResponse, UpdateDictResponse, WordSimilarityRequest, DeleteWordItemsResponse, AnalyzeSentimentResponse, WordEmbeddingRequest, DescribeWordItemsResponse, ParseWordsRequest, TextSimilarityResponse, DescribeDictRequest, GeneratePoetryResponse, TextSimilarityProResponse, DependencyParsingRequest, SentenceCorrectionRequest, TextCorrectionProRequest, CreateDictRequest } from "./nlp_models";
|
|
4
4
|
/**
|
|
5
5
|
* nlp client
|
|
6
6
|
* @class
|
|
@@ -71,6 +71,10 @@ export declare class Client extends AbstractClient {
|
|
|
71
71
|
* 通过精准地对文本进行分词、词性标注、命名实体识别等功能,助您更好地理解文本内容,挖掘出潜在的价值信息。
|
|
72
72
|
*/
|
|
73
73
|
ParseWords(req: ParseWordsRequest, cb?: (error: string, rep: ParseWordsResponse) => void): Promise<ParseWordsResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* 对联生成接口根据用户输入的命题关键词,智能生成一副完整的春联,包括上联、下联和横批。该接口利用先进的自然语言处理技术,确保生成的春联既符合传统对仗、对韵、对义的要求,又具有新意和创意,为用户提供独特的春节祝福。
|
|
76
|
+
*/
|
|
77
|
+
ComposeCouplet(req: ComposeCoupletRequest, cb?: (error: string, rep: ComposeCoupletResponse) => void): Promise<ComposeCoupletResponse>;
|
|
74
78
|
/**
|
|
75
79
|
* 因业务调整该接口将于北京时间2023年8月1日0点下线,届时该产品功能将无法正常使用,为了避免对您的业务造成影响,请您尽快做好相关业务调整。详见:https://cloud.tencent.com/document/product/271/90711
|
|
76
80
|
|
|
@@ -121,6 +125,10 @@ export declare class Client extends AbstractClient {
|
|
|
121
125
|
根据用户输入的命题关键词自动生成一副春联,包括上联、下联和横批。(如需开通请联系商务)
|
|
122
126
|
*/
|
|
123
127
|
GenerateCouplet(req: GenerateCoupletRequest, cb?: (error: string, rep: GenerateCoupletResponse) => void): Promise<GenerateCoupletResponse>;
|
|
128
|
+
/**
|
|
129
|
+
* 诗词生成接口利用现代的自然语言处理和深度学习技术,模仿了古代著名诗人的风格,为用户产生独特的诗词。用户只需输入的命题关键词,接口就能自动生成一首七言律诗或五言律诗。
|
|
130
|
+
*/
|
|
131
|
+
ComposePoetry(req: ComposePoetryRequest, cb?: (error: string, rep: ComposePoetryResponse) => void): Promise<ComposePoetryResponse>;
|
|
124
132
|
/**
|
|
125
133
|
* 因业务调整该接口将于北京时间2023年8月1日0点下线,届时该产品功能将无法正常使用,为了避免对您的业务造成影响,请您尽快做好相关业务调整。详见:https://cloud.tencent.com/document/product/271/90711
|
|
126
134
|
|
|
@@ -191,6 +199,10 @@ export declare class Client extends AbstractClient {
|
|
|
191
199
|
* 运用先进的自然语言处理技术,对原始文本进行优化润色,提升文本的通顺性、表达力和语言质量。
|
|
192
200
|
*/
|
|
193
201
|
TextEmbellish(req: TextEmbellishRequest, cb?: (error: string, rep: TextEmbellishResponse) => void): Promise<TextEmbellishResponse>;
|
|
202
|
+
/**
|
|
203
|
+
* 文本分类接口能够对用户输入的文章进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。该功能定义了一套较为完备的[三级分类体系](https://cloud.tencent.com/document/product/271/94286),积累了数百万的语料,经过多轮迭代优化打造了较先进的深度学习模型,以保证效果不断提升。
|
|
204
|
+
*/
|
|
205
|
+
ClassifyContent(req: ClassifyContentRequest, cb?: (error: string, rep: ClassifyContentResponse) => void): Promise<ClassifyContentResponse>;
|
|
194
206
|
/**
|
|
195
207
|
* 因业务调整该接口将于北京时间2023年8月1日0点下线,届时该产品功能将无法正常使用,为了避免对您的业务造成影响,请您尽快做好相关业务调整。详见:https://cloud.tencent.com/document/product/271/90711
|
|
196
208
|
|
|
@@ -218,6 +230,10 @@ export declare class Client extends AbstractClient {
|
|
|
218
230
|
删除自定义词库,会附带相应删除词库包含的所有词条。
|
|
219
231
|
*/
|
|
220
232
|
DeleteDict(req: DeleteDictRequest, cb?: (error: string, rep: DeleteDictResponse) => void): Promise<DeleteDictResponse>;
|
|
233
|
+
/**
|
|
234
|
+
* 情感分析接口能够对带有情感色彩的主观性文本进行分析、处理、归纳和推理,识别出用户的情感倾向,是积极、中性还是消极,并且提供各自概率。
|
|
235
|
+
*/
|
|
236
|
+
AnalyzeSentiment(req: AnalyzeSentimentRequest, cb?: (error: string, rep: AnalyzeSentimentResponse) => void): Promise<AnalyzeSentimentResponse>;
|
|
221
237
|
/**
|
|
222
238
|
* 因业务调整该接口将于北京时间2023年8月1日0点下线,届时该产品功能将无法正常使用,为了避免对您的业务造成影响,请您尽快做好相关业务调整。详见:https://cloud.tencent.com/document/product/271/90711
|
|
223
239
|
|
|
@@ -115,6 +115,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
115
115
|
async ParseWords(req, cb) {
|
|
116
116
|
return this.request("ParseWords", req, cb);
|
|
117
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* 对联生成接口根据用户输入的命题关键词,智能生成一副完整的春联,包括上联、下联和横批。该接口利用先进的自然语言处理技术,确保生成的春联既符合传统对仗、对韵、对义的要求,又具有新意和创意,为用户提供独特的春节祝福。
|
|
120
|
+
*/
|
|
121
|
+
async ComposeCouplet(req, cb) {
|
|
122
|
+
return this.request("ComposeCouplet", req, cb);
|
|
123
|
+
}
|
|
118
124
|
/**
|
|
119
125
|
* 因业务调整该接口将于北京时间2023年8月1日0点下线,届时该产品功能将无法正常使用,为了避免对您的业务造成影响,请您尽快做好相关业务调整。详见:https://cloud.tencent.com/document/product/271/90711
|
|
120
126
|
|
|
@@ -179,6 +185,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
179
185
|
async GenerateCouplet(req, cb) {
|
|
180
186
|
return this.request("GenerateCouplet", req, cb);
|
|
181
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* 诗词生成接口利用现代的自然语言处理和深度学习技术,模仿了古代著名诗人的风格,为用户产生独特的诗词。用户只需输入的命题关键词,接口就能自动生成一首七言律诗或五言律诗。
|
|
190
|
+
*/
|
|
191
|
+
async ComposePoetry(req, cb) {
|
|
192
|
+
return this.request("ComposePoetry", req, cb);
|
|
193
|
+
}
|
|
182
194
|
/**
|
|
183
195
|
* 因业务调整该接口将于北京时间2023年8月1日0点下线,届时该产品功能将无法正常使用,为了避免对您的业务造成影响,请您尽快做好相关业务调整。详见:https://cloud.tencent.com/document/product/271/90711
|
|
184
196
|
|
|
@@ -267,6 +279,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
267
279
|
async TextEmbellish(req, cb) {
|
|
268
280
|
return this.request("TextEmbellish", req, cb);
|
|
269
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* 文本分类接口能够对用户输入的文章进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。该功能定义了一套较为完备的[三级分类体系](https://cloud.tencent.com/document/product/271/94286),积累了数百万的语料,经过多轮迭代优化打造了较先进的深度学习模型,以保证效果不断提升。
|
|
284
|
+
*/
|
|
285
|
+
async ClassifyContent(req, cb) {
|
|
286
|
+
return this.request("ClassifyContent", req, cb);
|
|
287
|
+
}
|
|
270
288
|
/**
|
|
271
289
|
* 因业务调整该接口将于北京时间2023年8月1日0点下线,届时该产品功能将无法正常使用,为了避免对您的业务造成影响,请您尽快做好相关业务调整。详见:https://cloud.tencent.com/document/product/271/90711
|
|
272
290
|
|
|
@@ -302,6 +320,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
302
320
|
async DeleteDict(req, cb) {
|
|
303
321
|
return this.request("DeleteDict", req, cb);
|
|
304
322
|
}
|
|
323
|
+
/**
|
|
324
|
+
* 情感分析接口能够对带有情感色彩的主观性文本进行分析、处理、归纳和推理,识别出用户的情感倾向,是积极、中性还是消极,并且提供各自概率。
|
|
325
|
+
*/
|
|
326
|
+
async AnalyzeSentiment(req, cb) {
|
|
327
|
+
return this.request("AnalyzeSentiment", req, cb);
|
|
328
|
+
}
|
|
305
329
|
/**
|
|
306
330
|
* 因业务调整该接口将于北京时间2023年8月1日0点下线,届时该产品功能将无法正常使用,为了避免对您的业务造成影响,请您尽快做好相关业务调整。详见:https://cloud.tencent.com/document/product/271/90711
|
|
307
331
|
|
|
@@ -33,6 +33,28 @@ export interface EvaluateWordSimilarityResponse {
|
|
|
33
33
|
*/
|
|
34
34
|
RequestId?: string;
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* ClassifyContent返回参数结构体
|
|
38
|
+
*/
|
|
39
|
+
export interface ClassifyContentResponse {
|
|
40
|
+
/**
|
|
41
|
+
* 一级分类。分类详情见附录-三级分类体系表。
|
|
42
|
+
*/
|
|
43
|
+
FirstClassification?: Category;
|
|
44
|
+
/**
|
|
45
|
+
* 二级分类。分类详情见附录-三级分类体系表。
|
|
46
|
+
*/
|
|
47
|
+
SecondClassification?: Category;
|
|
48
|
+
/**
|
|
49
|
+
* 三级分类。分类详情见附录-三级分类体系表。
|
|
50
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
51
|
+
*/
|
|
52
|
+
ThirdClassification?: Category;
|
|
53
|
+
/**
|
|
54
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
55
|
+
*/
|
|
56
|
+
RequestId?: string;
|
|
57
|
+
}
|
|
36
58
|
/**
|
|
37
59
|
* ParseWords返回参数结构体
|
|
38
60
|
*/
|
|
@@ -141,6 +163,19 @@ export interface TextCorrectionProResponse {
|
|
|
141
163
|
*/
|
|
142
164
|
RequestId?: string;
|
|
143
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* ClassifyContent请求参数结构体
|
|
168
|
+
*/
|
|
169
|
+
export interface ClassifyContentRequest {
|
|
170
|
+
/**
|
|
171
|
+
* 待分类的文章的标题(仅支持UTF-8格式,不超过100字符)。
|
|
172
|
+
*/
|
|
173
|
+
Title: string;
|
|
174
|
+
/**
|
|
175
|
+
* 待分类文章的内容, 每个元素对应一个段落。(仅支持UTF-8格式,文章内容长度总和不超过2000字符)
|
|
176
|
+
*/
|
|
177
|
+
Content: Array<string>;
|
|
178
|
+
}
|
|
144
179
|
/**
|
|
145
180
|
* 文本润色结果
|
|
146
181
|
*/
|
|
@@ -187,17 +222,19 @@ export interface DeleteDictResponse {
|
|
|
187
222
|
RequestId?: string;
|
|
188
223
|
}
|
|
189
224
|
/**
|
|
190
|
-
*
|
|
225
|
+
* TextClassification请求参数结构体
|
|
191
226
|
*/
|
|
192
|
-
export interface
|
|
227
|
+
export interface TextClassificationRequest {
|
|
193
228
|
/**
|
|
194
|
-
*
|
|
229
|
+
* 待分类的文本(仅支持UTF-8格式,不超过10000字)
|
|
195
230
|
*/
|
|
196
|
-
|
|
231
|
+
Text: string;
|
|
197
232
|
/**
|
|
198
|
-
*
|
|
233
|
+
* 领域分类体系(默认取1值):
|
|
234
|
+
1、通用领域,二分类
|
|
235
|
+
2、新闻领域,五分类。类别数据不一定全部返回,详情见类目映射表(注意:目前五分类已下线不可用)
|
|
199
236
|
*/
|
|
200
|
-
|
|
237
|
+
Flag?: number;
|
|
201
238
|
}
|
|
202
239
|
/**
|
|
203
240
|
* CreateDict返回参数结构体
|
|
@@ -214,17 +251,30 @@ export interface CreateDictResponse {
|
|
|
214
251
|
RequestId?: string;
|
|
215
252
|
}
|
|
216
253
|
/**
|
|
217
|
-
*
|
|
254
|
+
* TextSimilarity请求参数结构体
|
|
218
255
|
*/
|
|
219
|
-
export interface
|
|
256
|
+
export interface TextSimilarityRequest {
|
|
220
257
|
/**
|
|
221
|
-
*
|
|
258
|
+
* 需要与目标句子计算相似度的源句子(仅支持UTF-8格式,不超过500字符)
|
|
222
259
|
*/
|
|
223
|
-
|
|
260
|
+
SrcText: string;
|
|
224
261
|
/**
|
|
225
|
-
*
|
|
262
|
+
* 目标句子(以句子数量为单位消耗资源包)
|
|
226
263
|
*/
|
|
227
|
-
|
|
264
|
+
TargetText: Array<string>;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* 关键词提取结果
|
|
268
|
+
*/
|
|
269
|
+
export interface Keyword {
|
|
270
|
+
/**
|
|
271
|
+
* 权重
|
|
272
|
+
*/
|
|
273
|
+
Score?: number;
|
|
274
|
+
/**
|
|
275
|
+
* 关键词
|
|
276
|
+
*/
|
|
277
|
+
Word?: string;
|
|
228
278
|
}
|
|
229
279
|
/**
|
|
230
280
|
* LexicalAnalysis返回参数结构体
|
|
@@ -365,6 +415,27 @@ export interface GenerateKeywordSentenceRequest {
|
|
|
365
415
|
*/
|
|
366
416
|
Domain?: string;
|
|
367
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
* ComposeCouplet返回参数结构体
|
|
420
|
+
*/
|
|
421
|
+
export interface ComposeCoupletResponse {
|
|
422
|
+
/**
|
|
423
|
+
* 横批。
|
|
424
|
+
*/
|
|
425
|
+
TopScroll?: string;
|
|
426
|
+
/**
|
|
427
|
+
* 上联与下联。
|
|
428
|
+
*/
|
|
429
|
+
Content?: Array<string>;
|
|
430
|
+
/**
|
|
431
|
+
* 当对联随机生成时,展示随机生成原因。
|
|
432
|
+
*/
|
|
433
|
+
RandomCause?: string;
|
|
434
|
+
/**
|
|
435
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
436
|
+
*/
|
|
437
|
+
RequestId?: string;
|
|
438
|
+
}
|
|
368
439
|
/**
|
|
369
440
|
* SentimentAnalysis返回参数结构体
|
|
370
441
|
*/
|
|
@@ -538,6 +609,15 @@ export interface TextWritingRequest {
|
|
|
538
609
|
*/
|
|
539
610
|
Style?: string;
|
|
540
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* AnalyzeSentiment请求参数结构体
|
|
614
|
+
*/
|
|
615
|
+
export interface AnalyzeSentimentRequest {
|
|
616
|
+
/**
|
|
617
|
+
* 待分析的文本(仅支持UTF-8格式,不超过200字)。
|
|
618
|
+
*/
|
|
619
|
+
Text: string;
|
|
620
|
+
}
|
|
541
621
|
/**
|
|
542
622
|
* AutoSummarization返回参数结构体
|
|
543
623
|
*/
|
|
@@ -685,6 +765,31 @@ export interface CreateWordItemsResponse {
|
|
|
685
765
|
*/
|
|
686
766
|
RequestId?: string;
|
|
687
767
|
}
|
|
768
|
+
/**
|
|
769
|
+
* 分类详细信息
|
|
770
|
+
*/
|
|
771
|
+
export interface Category {
|
|
772
|
+
/**
|
|
773
|
+
* 分类id。
|
|
774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
775
|
+
*/
|
|
776
|
+
Id?: number;
|
|
777
|
+
/**
|
|
778
|
+
* 分类英文名。
|
|
779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
780
|
+
*/
|
|
781
|
+
Label?: string;
|
|
782
|
+
/**
|
|
783
|
+
* 分类中文名。
|
|
784
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
785
|
+
*/
|
|
786
|
+
Name?: string;
|
|
787
|
+
/**
|
|
788
|
+
* 分类置信度。
|
|
789
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
790
|
+
*/
|
|
791
|
+
Score?: number;
|
|
792
|
+
}
|
|
688
793
|
/**
|
|
689
794
|
* TextSimilarityPro请求参数结构体
|
|
690
795
|
*/
|
|
@@ -986,6 +1091,19 @@ export interface SentenceCorrectionResponse {
|
|
|
986
1091
|
*/
|
|
987
1092
|
RequestId?: string;
|
|
988
1093
|
}
|
|
1094
|
+
/**
|
|
1095
|
+
* ComposeCouplet请求参数结构体
|
|
1096
|
+
*/
|
|
1097
|
+
export interface ComposeCoupletRequest {
|
|
1098
|
+
/**
|
|
1099
|
+
* 生成对联的关键词。长度需>=2,当长度>2时,自动截取前两个字作为关键字。内容需为常用汉字(不含有数字、英文、韩语、日语、符号等等其他)。
|
|
1100
|
+
*/
|
|
1101
|
+
Text: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* 返回的文本结果为繁体还是简体。0:简体;1:繁体。默认为0。
|
|
1104
|
+
*/
|
|
1105
|
+
TargetType?: number;
|
|
1106
|
+
}
|
|
989
1107
|
/**
|
|
990
1108
|
* EvaluateSentenceSimilarity请求参数结构体
|
|
991
1109
|
*/
|
|
@@ -1038,6 +1156,40 @@ export interface CCIToken {
|
|
|
1038
1156
|
*/
|
|
1039
1157
|
CorrectWord?: string;
|
|
1040
1158
|
}
|
|
1159
|
+
/**
|
|
1160
|
+
* ComposePoetry返回参数结构体
|
|
1161
|
+
*/
|
|
1162
|
+
export interface ComposePoetryResponse {
|
|
1163
|
+
/**
|
|
1164
|
+
* 诗题,即输入的生成诗词的关键词。
|
|
1165
|
+
*/
|
|
1166
|
+
Title?: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* 诗的内容。
|
|
1169
|
+
*/
|
|
1170
|
+
Content?: Array<string>;
|
|
1171
|
+
/**
|
|
1172
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1173
|
+
*/
|
|
1174
|
+
RequestId?: string;
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* ComposePoetry请求参数结构体
|
|
1178
|
+
*/
|
|
1179
|
+
export interface ComposePoetryRequest {
|
|
1180
|
+
/**
|
|
1181
|
+
* 生成诗词的关键词。
|
|
1182
|
+
*/
|
|
1183
|
+
Text: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* 生成诗词的类型。0:藏头或藏身;1:藏头;2:藏身。默认为0。
|
|
1186
|
+
*/
|
|
1187
|
+
PoetryType?: number;
|
|
1188
|
+
/**
|
|
1189
|
+
* 诗的体裁。0:五言律诗或七言律诗;5:五言律诗;7:七言律诗。默认为0。
|
|
1190
|
+
*/
|
|
1191
|
+
Genre?: number;
|
|
1192
|
+
}
|
|
1041
1193
|
/**
|
|
1042
1194
|
* TextEmbellish返回参数结构体
|
|
1043
1195
|
*/
|
|
@@ -1096,19 +1248,17 @@ export interface CorrectionItem {
|
|
|
1096
1248
|
DescriptionEn?: string;
|
|
1097
1249
|
}
|
|
1098
1250
|
/**
|
|
1099
|
-
*
|
|
1251
|
+
* TextWriting返回参数结构体
|
|
1100
1252
|
*/
|
|
1101
|
-
export interface
|
|
1253
|
+
export interface TextWritingResponse {
|
|
1102
1254
|
/**
|
|
1103
|
-
*
|
|
1255
|
+
* 续写结果列表。
|
|
1104
1256
|
*/
|
|
1105
|
-
|
|
1257
|
+
WritingList?: Array<Writing>;
|
|
1106
1258
|
/**
|
|
1107
|
-
*
|
|
1108
|
-
1、通用领域,二分类
|
|
1109
|
-
2、新闻领域,五分类。类别数据不一定全部返回,详情见类目映射表(注意:目前五分类已下线不可用)
|
|
1259
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1110
1260
|
*/
|
|
1111
|
-
|
|
1261
|
+
RequestId?: string;
|
|
1112
1262
|
}
|
|
1113
1263
|
/**
|
|
1114
1264
|
* SearchWordItems返回参数结构体
|
|
@@ -1172,17 +1322,17 @@ export interface TextCorrectionRequest {
|
|
|
1172
1322
|
Text: string;
|
|
1173
1323
|
}
|
|
1174
1324
|
/**
|
|
1175
|
-
*
|
|
1325
|
+
* TextClassification返回参数结构体
|
|
1176
1326
|
*/
|
|
1177
|
-
export interface
|
|
1327
|
+
export interface TextClassificationResponse {
|
|
1178
1328
|
/**
|
|
1179
|
-
*
|
|
1329
|
+
* 文本分类结果(文本分类映射表请参见附录)
|
|
1180
1330
|
*/
|
|
1181
|
-
|
|
1331
|
+
Classes: Array<ClassificationResult>;
|
|
1182
1332
|
/**
|
|
1183
|
-
*
|
|
1333
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1184
1334
|
*/
|
|
1185
|
-
|
|
1335
|
+
RequestId?: string;
|
|
1186
1336
|
}
|
|
1187
1337
|
/**
|
|
1188
1338
|
* UpdateDict返回参数结构体
|
|
@@ -1216,17 +1366,32 @@ export interface DeleteWordItemsResponse {
|
|
|
1216
1366
|
RequestId?: string;
|
|
1217
1367
|
}
|
|
1218
1368
|
/**
|
|
1219
|
-
*
|
|
1369
|
+
* AnalyzeSentiment返回参数结构体
|
|
1220
1370
|
*/
|
|
1221
|
-
export interface
|
|
1371
|
+
export interface AnalyzeSentimentResponse {
|
|
1222
1372
|
/**
|
|
1223
|
-
*
|
|
1373
|
+
* 正面情感概率。
|
|
1224
1374
|
*/
|
|
1225
|
-
|
|
1375
|
+
Positive?: number;
|
|
1226
1376
|
/**
|
|
1227
|
-
*
|
|
1377
|
+
* 中性情感概率。
|
|
1228
1378
|
*/
|
|
1229
|
-
|
|
1379
|
+
Neutral?: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* 负面情感概率。
|
|
1382
|
+
*/
|
|
1383
|
+
Negative?: number;
|
|
1384
|
+
/**
|
|
1385
|
+
* 情感分类结果:
|
|
1386
|
+
positive:正面情感
|
|
1387
|
+
negative:负面情感
|
|
1388
|
+
neutral:中性、无情感
|
|
1389
|
+
*/
|
|
1390
|
+
Sentiment?: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1393
|
+
*/
|
|
1394
|
+
RequestId?: string;
|
|
1230
1395
|
}
|
|
1231
1396
|
/**
|
|
1232
1397
|
* WordEmbedding请求参数结构体
|