tencentcloud-sdk-nodejs 4.1.73 → 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.
@@ -1 +1 @@
1
- export const sdkVersion = "4.1.73";
1
+ export const sdkVersion = "4.1.74";
@@ -3,33 +3,15 @@ export class Client extends AbstractClient {
3
3
  constructor(clientConfig) {
4
4
  super("nlp.tencentcloudapi.com", "2019-04-08", clientConfig);
5
5
  }
6
- async TextEmbellish(req, cb) {
7
- return this.request("TextEmbellish", req, cb);
8
- }
9
6
  async ClassifyContent(req, cb) {
10
7
  return this.request("ClassifyContent", req, cb);
11
8
  }
12
9
  async SentenceCorrection(req, cb) {
13
10
  return this.request("SentenceCorrection", req, cb);
14
11
  }
15
- async ComposePoetry(req, cb) {
16
- return this.request("ComposePoetry", req, cb);
17
- }
18
- async RetrieveSimilarWords(req, cb) {
19
- return this.request("RetrieveSimilarWords", req, cb);
20
- }
21
12
  async EvaluateSentenceSimilarity(req, cb) {
22
13
  return this.request("EvaluateSentenceSimilarity", req, cb);
23
14
  }
24
- async GenerateKeywordSentence(req, cb) {
25
- return this.request("GenerateKeywordSentence", req, cb);
26
- }
27
- async TextWriting(req, cb) {
28
- return this.request("TextWriting", req, cb);
29
- }
30
- async EvaluateWordSimilarity(req, cb) {
31
- return this.request("EvaluateWordSimilarity", req, cb);
32
- }
33
15
  async ComposeCouplet(req, cb) {
34
16
  return this.request("ComposeCouplet", req, cb);
35
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.1.73",
3
+ "version": "4.1.74",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.1.73";
1
+ export declare const sdkVersion = "4.1.74";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.1.73";
4
+ exports.sdkVersion = "4.1.74";
@@ -39,7 +39,7 @@ export interface SubmitHunyuanTo3DJobResponse {
39
39
  */
40
40
  export interface File3D {
41
41
  /**
42
- * 3D文件的格式。取值范围:OBJ
42
+ * 文件格式
43
43
  */
44
44
  Type?: string;
45
45
  /**
@@ -5762,7 +5762,7 @@ export interface ModifyHostsAttributeRequest {
5762
5762
  */
5763
5763
  RenewFlag?: string;
5764
5764
  /**
5765
- * 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/doc/api/403/4398)接口创建。可通过[`DescribeProject`](https://cloud.tencent.com/document/product/378/4400) API返回值中的`projectId`获取。后续使用[DescribeHosts](https://cloud.tencent.com/document/api/213/16474)接口查询实例时,项目ID可用于过滤结果。
5765
+ * 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[DescribeProject](https://cloud.tencent.com/document/product/378/4400) API返回值中的`projectId`获取。后续使用[DescribeHosts](https://cloud.tencent.com/document/api/213/16474)接口查询实例时,项目ID可用于过滤结果。
5766
5766
  */
5767
5767
  ProjectId?: number;
5768
5768
  }
@@ -3734,6 +3734,83 @@ export interface CreateSLInstanceResponse {
3734
3734
  */
3735
3735
  RequestId?: string;
3736
3736
  }
3737
+ /**
3738
+ * Serverless Instance
3739
+ */
3740
+ export interface SLInstance {
3741
+ /**
3742
+ * EMR Instance Id
3743
+ */
3744
+ InstanceId?: string;
3745
+ /**
3746
+ * EMR Numeric Instance Id
3747
+ */
3748
+ ClusterId?: number;
3749
+ /**
3750
+ * Instance Name
3751
+ */
3752
+ InstanceName?: string;
3753
+ /**
3754
+ * Region id
3755
+ */
3756
+ RegionId?: number;
3757
+ /**
3758
+ * Zone Name
3759
+ */
3760
+ Zone?: string;
3761
+ /**
3762
+ * Pay Mode
3763
+ */
3764
+ PayMode?: number;
3765
+ /**
3766
+ * Disk Type
3767
+ */
3768
+ DiskType?: string;
3769
+ /**
3770
+ * Disk Size
3771
+ */
3772
+ DiskSize?: number;
3773
+ /**
3774
+ * Node Type
3775
+ */
3776
+ NodeType?: string;
3777
+ /**
3778
+ * Node Number
3779
+ */
3780
+ NodeNum?: number;
3781
+ /**
3782
+ * Expire Time
3783
+ */
3784
+ ExpireTime?: string;
3785
+ /**
3786
+ * Isolate Time
3787
+ */
3788
+ IsolateTime?: string;
3789
+ /**
3790
+ * Create Time
3791
+ */
3792
+ CreateTime?: string;
3793
+ /**
3794
+ * Auto Renew Flag
3795
+ */
3796
+ AutoRenewFlag?: number;
3797
+ /**
3798
+ * EMR Numeric Instance Status
3799
+ */
3800
+ Status?: number;
3801
+ /**
3802
+ * Zone Setting
3803
+ */
3804
+ ZoneSettings?: Array<ZoneSetting>;
3805
+ /**
3806
+ * Bound Tags
3807
+ */
3808
+ Tags?: Array<Tag>;
3809
+ /**
3810
+ * Deploy Role
3811
+ */
3812
+ DeployRole?: string;
3813
+ }
3737
3814
  /**
3738
3815
  * DescribeClusterNodes返回参数结构体
3739
3816
  */
@@ -4898,6 +4975,10 @@ export interface DescribeSLInstanceResponse {
4898
4975
  * 实例节点总数。
4899
4976
  */
4900
4977
  NodeNum?: number;
4978
+ /**
4979
+ * Serverless Instance infomation
4980
+ */
4981
+ SLInstance?: Array<SLInstance>;
4901
4982
  /**
4902
4983
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4903
4984
  */
@@ -7330,11 +7411,11 @@ export interface CreateSLInstanceRequest {
7330
7411
  */
7331
7412
  InstanceName: string;
7332
7413
  /**
7333
- * 实例计费模式,0表示后付费,即按量计费。
7414
+ * 实例计费模式,0表示后付费,即按量计费,1表示预付费,即包年包月。
7334
7415
  */
7335
7416
  PayMode: number;
7336
7417
  /**
7337
- * 实例存储类型,填写CLOUD_HSSD,表示性能云存储。
7418
+ * 实例存储类型,CLOUD_HSSD表示性能云存储, CLOUD_BSSD表示标准云存储。
7338
7419
  */
7339
7420
  DiskType: string;
7340
7421
  /**
@@ -7361,6 +7442,10 @@ export interface CreateSLInstanceRequest {
7361
7442
  * 唯一随机标识,时效性为5分钟,需要调用者指定 防止客户端重复创建资源,例如 a9a90aa6-****-****-****-fae360632808
7362
7443
  */
7363
7444
  ClientToken?: string;
7445
+ /**
7446
+ * 部署模式
7447
+ */
7448
+ DeploymentMode?: string;
7364
7449
  }
7365
7450
  /**
7366
7451
  * 弹性扩缩容规格配置
@@ -7714,6 +7799,10 @@ export interface SLInstanceInfo {
7714
7799
  * 过期时间,后付费返回0000-00-00 00:00:00
7715
7800
  */
7716
7801
  ExpireTime?: string;
7802
+ /**
7803
+ * 主备部署角色
7804
+ */
7805
+ DeployRole?: string;
7717
7806
  }
7718
7807
  /**
7719
7808
  * ModifyUserManagerPwd请求参数结构体
@@ -8737,8 +8737,11 @@ export interface ApproverOption {
8737
8737
 
8738
8738
  <ul><li> **1** : 动态签署人(可发起合同后再补充签署人信息)注:`企业自动签不支持动态补充`</li></ul>
8739
8739
 
8740
+
8741
+
8740
8742
  注:
8741
- `使用动态签署人能力前,需登陆腾讯电子签控制台打开服务开关`
8743
+ 1. `使用动态签署人能力前,需登陆腾讯电子签控制台打开服务开关`
8744
+ 2. 此参数在嵌入式场景下无效。
8742
8745
  */
8743
8746
  FillType?: number;
8744
8747
  /**
@@ -5678,7 +5678,7 @@ export interface FlowApproverInfo {
5678
5678
  */
5679
5679
  CallbackUrl?: string;
5680
5680
  /**
5681
- * 使用PDF文件直接发起合同时,签署人指定的签署控件;<br/>使用模板发起合同时,指定本企业印章签署控件的印章ID: <br/>通过ComponentId或ComponenetName指定签署控件,ComponentValue为印章ID。
5681
+ * 使用PDF文件直接发起合同时,签署人指定的签署控件;<br/>使用模板发起合同时,指定本企业印章签署控件的印章ID:注意:(如果模板里面指定了印章,默认使用模板里面配置的印章,不能进行变更) <br/>通过ComponentId或ComponenetName指定签署控件,ComponentValue为印章ID。
5682
5682
 
5683
5683
  ![image](https://qcloudimg.tencent-cloud.cn/raw/91757a7f9188ccf3057a4a8979cf3f93.png)
5684
5684
  */
@@ -398,7 +398,7 @@ export declare class Client extends AbstractClient {
398
398
  */
399
399
  DescribeActivateLicenseService(req: DescribeActivateLicenseServiceRequest, cb?: (error: string, rep: DescribeActivateLicenseServiceResponse) => void): Promise<DescribeActivateLicenseServiceResponse>;
400
400
  /**
401
- * 开通免费云存服务
401
+ * 开通云存卡服务
402
402
  */
403
403
  CreateFreeCloudStorage(req: CreateFreeCloudStorageRequest, cb?: (error: string, rep: CreateFreeCloudStorageResponse) => void): Promise<CreateFreeCloudStorageResponse>;
404
404
  /**
@@ -610,7 +610,7 @@ class Client extends abstract_client_1.AbstractClient {
610
610
  return this.request("DescribeActivateLicenseService", req, cb);
611
611
  }
612
612
  /**
613
- * 开通免费云存服务
613
+ * 开通云存卡服务
614
614
  */
615
615
  async CreateFreeCloudStorage(req, cb) {
616
616
  return this.request("CreateFreeCloudStorage", req, cb);
@@ -5970,7 +5970,7 @@ export interface CreateLivePullStreamTaskRequest {
5970
5970
  */
5971
5971
  SpecifyTaskId?: string;
5972
5972
  /**
5973
- * 任务描述,限制 512 字节。
5973
+ * 任务描述,限制 512 字节。不可以使用特殊字符,如Unicode的特殊字符集。
5974
5974
  */
5975
5975
  Comment?: string;
5976
5976
  /**
@@ -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-知识摘要;classifys-知识标签提取
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返回参数结构体
@@ -6874,6 +6874,10 @@ export interface IndicatorItem {
6874
6874
  * 标本
6875
6875
  */
6876
6876
  Sample?: string;
6877
+ /**
6878
+ * 检测方法
6879
+ */
6880
+ Method?: string;
6877
6881
  }
6878
6882
  /**
6879
6883
  * 诊断证明项
@@ -1,16 +1,12 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { TextEmbellishRequest, EvaluateWordSimilarityResponse, RetrieveSimilarWordsRequest, ClassifyContentResponse, ParseWordsResponse, ComposePoetryResponse, ClassifyContentRequest, RetrieveSimilarWordsResponse, EvaluateSentenceSimilarityResponse, EvaluateWordSimilarityRequest, TextWritingResponse, AnalyzeSentimentResponse, ParseWordsRequest, SentenceCorrectionResponse, ComposeCoupletRequest, EvaluateSentenceSimilarityRequest, TextWritingRequest, GenerateKeywordSentenceResponse, ComposePoetryRequest, SentenceCorrectionRequest, TextEmbellishResponse, AnalyzeSentimentRequest, GenerateKeywordSentenceRequest, ComposeCoupletResponse } from "./nlp_models";
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
  */