tencentcloud-sdk-nodejs 4.1.72 → 4.1.74
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/cfw/v20190904/cfw_client.js +3 -0
- package/es/services/csip/v20221121/csip_client.js +53 -14
- package/es/services/lcic/v20220817/lcic_client.js +3 -0
- package/es/services/nlp/v20190408/nlp_client.js +0 -18
- package/es/services/tke/v20220501/tke_client.js +3 -0
- 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/ai3d/v20250513/ai3d_models.d.ts +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +46 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +10 -10
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +152 -23
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +67 -15
- package/tencentcloud/services/csip/v20221121/csip_client.js +99 -21
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1219 -366
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +4 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +91 -2
- package/tencentcloud/services/es/v20250101/es_models.d.ts +8 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +44 -18
- package/tencentcloud/services/live/v20180801/live_models.d.ts +121 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +105 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +4 -0
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +1 -25
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +0 -36
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +87 -344
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +31 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +10 -6
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +5 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +4 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.js +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +205 -98
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +51 -43
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +23 -23
- package/tencentcloud/services/tke/v20220501/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20220501/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +96 -70
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +4 -4
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +4 -0
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +1 -14
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -2
|
@@ -1502,6 +1502,10 @@ export interface ListDocItem {
|
|
|
1502
1502
|
* false:未停用,ture:已停用
|
|
1503
1503
|
*/
|
|
1504
1504
|
IsDisabled?: boolean;
|
|
1505
|
+
/**
|
|
1506
|
+
* 员工名称
|
|
1507
|
+
*/
|
|
1508
|
+
StaffName?: string;
|
|
1505
1509
|
}
|
|
1506
1510
|
/**
|
|
1507
1511
|
* ModifyAgent请求参数结构体
|
|
@@ -2201,6 +2205,31 @@ export interface CreateQAResponse {
|
|
|
2201
2205
|
*/
|
|
2202
2206
|
RequestId?: string;
|
|
2203
2207
|
}
|
|
2208
|
+
/**
|
|
2209
|
+
* 背景图相关配置
|
|
2210
|
+
*/
|
|
2211
|
+
export interface BackgroundImageConfig {
|
|
2212
|
+
/**
|
|
2213
|
+
* 横图(pc)
|
|
2214
|
+
*/
|
|
2215
|
+
LandscapeImageUrl?: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* 原始图
|
|
2218
|
+
*/
|
|
2219
|
+
OriginalImageUrl?: string;
|
|
2220
|
+
/**
|
|
2221
|
+
* 长图(手机)
|
|
2222
|
+
*/
|
|
2223
|
+
PortraitImageUrl?: string;
|
|
2224
|
+
/**
|
|
2225
|
+
* 主题色
|
|
2226
|
+
*/
|
|
2227
|
+
ThemeColor?: string;
|
|
2228
|
+
/**
|
|
2229
|
+
* 亮度值
|
|
2230
|
+
*/
|
|
2231
|
+
Brightness?: number;
|
|
2232
|
+
}
|
|
2204
2233
|
/**
|
|
2205
2234
|
* DescribeReleaseInfo返回参数结构体
|
|
2206
2235
|
*/
|
|
@@ -2803,6 +2832,10 @@ export interface ListQaItem {
|
|
|
2803
2832
|
* 问答是否停用,false:未停用,ture:已停用
|
|
2804
2833
|
*/
|
|
2805
2834
|
IsDisabled?: boolean;
|
|
2835
|
+
/**
|
|
2836
|
+
* 员工名称
|
|
2837
|
+
*/
|
|
2838
|
+
StaffName?: string;
|
|
2806
2839
|
}
|
|
2807
2840
|
/**
|
|
2808
2841
|
* 消耗量
|
|
@@ -3256,6 +3289,39 @@ export interface CheckAttributeLabelReferRequest {
|
|
|
3256
3289
|
*/
|
|
3257
3290
|
AttributeBizId?: Array<string>;
|
|
3258
3291
|
}
|
|
3292
|
+
/**
|
|
3293
|
+
* Agent 知识库检索插件支持多知识库搜索
|
|
3294
|
+
*/
|
|
3295
|
+
export interface AgentKnowledge {
|
|
3296
|
+
/**
|
|
3297
|
+
* 知识库id
|
|
3298
|
+
*/
|
|
3299
|
+
KnowledgeBizId?: string;
|
|
3300
|
+
/**
|
|
3301
|
+
* 0-应用内知识库
|
|
3302
|
+
1-共享知识库
|
|
3303
|
+
*/
|
|
3304
|
+
KnowledgeType?: number;
|
|
3305
|
+
/**
|
|
3306
|
+
* 0-全部知识
|
|
3307
|
+
1-按文档和问答
|
|
3308
|
+
2-按标签
|
|
3309
|
+
*/
|
|
3310
|
+
Filter?: number;
|
|
3311
|
+
/**
|
|
3312
|
+
* 文档id
|
|
3313
|
+
*/
|
|
3314
|
+
DocBizIds?: Array<string>;
|
|
3315
|
+
/**
|
|
3316
|
+
* true:包含所有问答
|
|
3317
|
+
false:不包含问答
|
|
3318
|
+
*/
|
|
3319
|
+
AllQa?: boolean;
|
|
3320
|
+
/**
|
|
3321
|
+
* 文档标签过滤器
|
|
3322
|
+
*/
|
|
3323
|
+
Tag?: AgentKnowledgeFilterTag;
|
|
3324
|
+
}
|
|
3259
3325
|
/**
|
|
3260
3326
|
* UpdateVar返回参数结构体
|
|
3261
3327
|
*/
|
|
@@ -3575,6 +3641,14 @@ export interface AgentKnowledgeFilter {
|
|
|
3575
3641
|
* 标签过滤器
|
|
3576
3642
|
*/
|
|
3577
3643
|
Tag?: AgentKnowledgeFilterTag;
|
|
3644
|
+
/**
|
|
3645
|
+
* 知识库列表
|
|
3646
|
+
*/
|
|
3647
|
+
KnowledgeList?: Array<AgentKnowledge>;
|
|
3648
|
+
/**
|
|
3649
|
+
* 是否检索全部知识
|
|
3650
|
+
*/
|
|
3651
|
+
AllKnowledge?: boolean;
|
|
3578
3652
|
}
|
|
3579
3653
|
/**
|
|
3580
3654
|
* 应用管理输出配置
|
|
@@ -4033,7 +4107,7 @@ export interface ModifyAppRequest {
|
|
|
4033
4107
|
*/
|
|
4034
4108
|
AppBizId: string;
|
|
4035
4109
|
/**
|
|
4036
|
-
* 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;
|
|
4110
|
+
* 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classify-知识标签提取
|
|
4037
4111
|
*/
|
|
4038
4112
|
AppType: string;
|
|
4039
4113
|
/**
|
|
@@ -4252,6 +4326,10 @@ export interface DescribeAppResponse {
|
|
|
4252
4326
|
* 应用是否在复制中
|
|
4253
4327
|
*/
|
|
4254
4328
|
IsCopying?: boolean;
|
|
4329
|
+
/**
|
|
4330
|
+
* 智能体类型 dialogue 对话式智能体,wechat 公众号智能体
|
|
4331
|
+
*/
|
|
4332
|
+
AgentType?: string;
|
|
4255
4333
|
/**
|
|
4256
4334
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4257
4335
|
*/
|
|
@@ -5340,6 +5418,10 @@ export interface CreateReleaseRequest {
|
|
|
5340
5418
|
* 发布描述
|
|
5341
5419
|
*/
|
|
5342
5420
|
Desc?: string;
|
|
5421
|
+
/**
|
|
5422
|
+
* 渠道业务ID
|
|
5423
|
+
*/
|
|
5424
|
+
ChannelBizIds?: Array<string>;
|
|
5343
5425
|
}
|
|
5344
5426
|
/**
|
|
5345
5427
|
* 思考事件过程信息
|
|
@@ -6138,6 +6220,16 @@ export interface KnowledgeQaConfig {
|
|
|
6138
6220
|
* 共享知识库关联配置
|
|
6139
6221
|
*/
|
|
6140
6222
|
ShareKnowledgeBases?: Array<ShareKnowledgeBase>;
|
|
6223
|
+
/**
|
|
6224
|
+
* 背景图相关信息
|
|
6225
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6226
|
+
*/
|
|
6227
|
+
BackgroundImage?: BackgroundImageConfig;
|
|
6228
|
+
/**
|
|
6229
|
+
* 开场问题
|
|
6230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6231
|
+
*/
|
|
6232
|
+
OpeningQuestions?: Array<string>;
|
|
6141
6233
|
}
|
|
6142
6234
|
/**
|
|
6143
6235
|
* 模型信息
|
|
@@ -7391,6 +7483,10 @@ export interface AgentModelInfo {
|
|
|
7391
7483
|
* 指令长度字符限制
|
|
7392
7484
|
*/
|
|
7393
7485
|
InstructionsWordsLimit?: number;
|
|
7486
|
+
/**
|
|
7487
|
+
* 单次会话最大推理轮数
|
|
7488
|
+
*/
|
|
7489
|
+
MaxReasoningRound?: number;
|
|
7394
7490
|
}
|
|
7395
7491
|
/**
|
|
7396
7492
|
* 知识库问答插件
|
|
@@ -7838,6 +7934,10 @@ export interface GetVarListRequest {
|
|
|
7838
7934
|
* 按变量类型过滤,默认查询所有类型(STRING,INT,FLOAT,BOOL,OBJECT,ARRAY_STRING,ARRAY_INT,ARRAY_FLOAT,ARRAY_BOOL,ARRAY_OBJECT,FILE,DOCUMENT,IMAGE,AUDIO)
|
|
7839
7935
|
*/
|
|
7840
7936
|
VarType?: string;
|
|
7937
|
+
/**
|
|
7938
|
+
* 是否需要内部变量(默认false)
|
|
7939
|
+
*/
|
|
7940
|
+
NeedInternalVar?: boolean;
|
|
7841
7941
|
}
|
|
7842
7942
|
/**
|
|
7843
7943
|
* 标签信息
|
|
@@ -8043,6 +8143,10 @@ export interface DocSegment {
|
|
|
8043
8143
|
* 文档的自定义链接
|
|
8044
8144
|
*/
|
|
8045
8145
|
WebUrl?: string;
|
|
8146
|
+
/**
|
|
8147
|
+
* 页码信息
|
|
8148
|
+
*/
|
|
8149
|
+
PageInfos?: Array<number | bigint>;
|
|
8046
8150
|
}
|
|
8047
8151
|
/**
|
|
8048
8152
|
* DescribeUnsatisfiedReplyContext返回参数结构体
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { ComposeCoupletRequest, EvaluateSentenceSimilarityRequest, SentenceCorrectionResponse, ClassifyContentRequest, EvaluateSentenceSimilarityResponse, ClassifyContentResponse, SentenceCorrectionRequest, AnalyzeSentimentRequest, AnalyzeSentimentResponse, ParseWordsResponse, ParseWordsRequest, ComposeCoupletResponse } from "./nlp_models";
|
|
4
4
|
/**
|
|
5
5
|
* nlp client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 运用先进的自然语言处理技术,对原始文本进行优化润色,提升文本的通顺性、表达力和语言质量。
|
|
12
|
-
*/
|
|
13
|
-
TextEmbellish(req: TextEmbellishRequest, cb?: (error: string, rep: TextEmbellishResponse) => void): Promise<TextEmbellishResponse>;
|
|
14
10
|
/**
|
|
15
11
|
* 文本分类接口能够对用户输入的文章进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。该功能定义了一套较为完备的[三级分类体系](https://cloud.tencent.com/document/product/271/94286),积累了数百万的语料,经过多轮迭代优化打造了较先进的深度学习模型,以保证效果不断提升。
|
|
16
12
|
*/
|
|
@@ -19,30 +15,10 @@ export declare class Client extends AbstractClient {
|
|
|
19
15
|
* 智能识别并纠正句子中的语法、拼写、用词等错误,确保文本的准确性和可读性。
|
|
20
16
|
*/
|
|
21
17
|
SentenceCorrection(req: SentenceCorrectionRequest, cb?: (error: string, rep: SentenceCorrectionResponse) => void): Promise<SentenceCorrectionResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* 诗词生成接口利用现代的自然语言处理和深度学习技术,模仿了古代著名诗人的风格,为用户产生独特的诗词。用户只需输入的命题关键词,接口就能自动生成一首七言律诗或五言律诗。
|
|
24
|
-
*/
|
|
25
|
-
ComposePoetry(req: ComposePoetryRequest, cb?: (error: string, rep: ComposePoetryResponse) => void): Promise<ComposePoetryResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* 基于大数据和深度学习技术,可以快速地找到与给定词语高度相似的其他词语,有助于提高搜索和推荐的准确性。(目前仅支持中文)
|
|
28
|
-
*/
|
|
29
|
-
RetrieveSimilarWords(req: RetrieveSimilarWordsRequest, cb?: (error: string, rep: RetrieveSimilarWordsResponse) => void): Promise<RetrieveSimilarWordsResponse>;
|
|
30
18
|
/**
|
|
31
19
|
* 通过计算句子间的语义相似性,帮助您快速找到文本中重复或相似的句子,用于文本聚类、相似问题检索等应用场景。
|
|
32
20
|
*/
|
|
33
21
|
EvaluateSentenceSimilarity(req: EvaluateSentenceSimilarityRequest, cb?: (error: string, rep: EvaluateSentenceSimilarityResponse) => void): Promise<EvaluateSentenceSimilarityResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* 根据提供的关键词,生成简洁明了的关键句子,便于用户快速获取核心观点。
|
|
36
|
-
*/
|
|
37
|
-
GenerateKeywordSentence(req: GenerateKeywordSentenceRequest, cb?: (error: string, rep: GenerateKeywordSentenceResponse) => void): Promise<GenerateKeywordSentenceResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* 通过自动补全文本片段,帮助用户快速生成高质量、连贯的完整文本,提高创作效率。
|
|
40
|
-
*/
|
|
41
|
-
TextWriting(req: TextWritingRequest, cb?: (error: string, rep: TextWritingResponse) => void): Promise<TextWritingResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* 评估两个词语在语义空间的相似程度,为您的场景应用提供有力支持,如关键词过滤、热门话题挖掘等。(目前仅支持中文)
|
|
44
|
-
*/
|
|
45
|
-
EvaluateWordSimilarity(req: EvaluateWordSimilarityRequest, cb?: (error: string, rep: EvaluateWordSimilarityResponse) => void): Promise<EvaluateWordSimilarityResponse>;
|
|
46
22
|
/**
|
|
47
23
|
* 对联生成接口根据用户输入的命题关键词,智能生成一副完整的春联,包括上联、下联和横批。该接口利用先进的自然语言处理技术,确保生成的春联既符合传统对仗、对韵、对义的要求,又具有新意和创意,为用户提供独特的春节祝福。
|
|
48
24
|
*/
|
|
@@ -27,12 +27,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("nlp.tencentcloudapi.com", "2019-04-08", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 运用先进的自然语言处理技术,对原始文本进行优化润色,提升文本的通顺性、表达力和语言质量。
|
|
32
|
-
*/
|
|
33
|
-
async TextEmbellish(req, cb) {
|
|
34
|
-
return this.request("TextEmbellish", req, cb);
|
|
35
|
-
}
|
|
36
30
|
/**
|
|
37
31
|
* 文本分类接口能够对用户输入的文章进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。该功能定义了一套较为完备的[三级分类体系](https://cloud.tencent.com/document/product/271/94286),积累了数百万的语料,经过多轮迭代优化打造了较先进的深度学习模型,以保证效果不断提升。
|
|
38
32
|
*/
|
|
@@ -45,42 +39,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
45
39
|
async SentenceCorrection(req, cb) {
|
|
46
40
|
return this.request("SentenceCorrection", req, cb);
|
|
47
41
|
}
|
|
48
|
-
/**
|
|
49
|
-
* 诗词生成接口利用现代的自然语言处理和深度学习技术,模仿了古代著名诗人的风格,为用户产生独特的诗词。用户只需输入的命题关键词,接口就能自动生成一首七言律诗或五言律诗。
|
|
50
|
-
*/
|
|
51
|
-
async ComposePoetry(req, cb) {
|
|
52
|
-
return this.request("ComposePoetry", req, cb);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* 基于大数据和深度学习技术,可以快速地找到与给定词语高度相似的其他词语,有助于提高搜索和推荐的准确性。(目前仅支持中文)
|
|
56
|
-
*/
|
|
57
|
-
async RetrieveSimilarWords(req, cb) {
|
|
58
|
-
return this.request("RetrieveSimilarWords", req, cb);
|
|
59
|
-
}
|
|
60
42
|
/**
|
|
61
43
|
* 通过计算句子间的语义相似性,帮助您快速找到文本中重复或相似的句子,用于文本聚类、相似问题检索等应用场景。
|
|
62
44
|
*/
|
|
63
45
|
async EvaluateSentenceSimilarity(req, cb) {
|
|
64
46
|
return this.request("EvaluateSentenceSimilarity", req, cb);
|
|
65
47
|
}
|
|
66
|
-
/**
|
|
67
|
-
* 根据提供的关键词,生成简洁明了的关键句子,便于用户快速获取核心观点。
|
|
68
|
-
*/
|
|
69
|
-
async GenerateKeywordSentence(req, cb) {
|
|
70
|
-
return this.request("GenerateKeywordSentence", req, cb);
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* 通过自动补全文本片段,帮助用户快速生成高质量、连贯的完整文本,提高创作效率。
|
|
74
|
-
*/
|
|
75
|
-
async TextWriting(req, cb) {
|
|
76
|
-
return this.request("TextWriting", req, cb);
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* 评估两个词语在语义空间的相似程度,为您的场景应用提供有力支持,如关键词过滤、热门话题挖掘等。(目前仅支持中文)
|
|
80
|
-
*/
|
|
81
|
-
async EvaluateWordSimilarity(req, cb) {
|
|
82
|
-
return this.request("EvaluateWordSimilarity", req, cb);
|
|
83
|
-
}
|
|
84
48
|
/**
|
|
85
49
|
* 对联生成接口根据用户输入的命题关键词,智能生成一副完整的春联,包括上联、下联和横批。该接口利用先进的自然语言处理技术,确保生成的春联既符合传统对仗、对韵、对义的要求,又具有新意和创意,为用户提供独特的春节祝福。
|
|
86
50
|
*/
|