tencentcloud-sdk-nodejs-tms 4.1.155 → 4.1.156

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tms",
3
- "version": "4.1.155",
3
+ "version": "4.1.156",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -29,7 +29,6 @@ export interface SentimentAnalysis {
29
29
  export interface GetFinancialLLMTaskResultRequest {
30
30
  /**
31
31
  * 该值对应创建任务接口里返回的TaskId字段值,创建任务接口见[创建金融大模型审校任务](https://cloud.tencent.com/document/product/1124/124463)。
32
- 示例值:3570106e-b156-45d9-8af5-99b46f7eb2f9
33
32
  */
34
33
  TaskId: string;
35
34
  }
@@ -68,12 +67,10 @@ export interface GetFinancialLLMTaskResultResponse {
68
67
  ReviewedLabels?: Array<string>;
69
68
  /**
70
69
  * 审校任务的开始时间
71
- 示例值:2025-09-25 19:42:35
72
70
  */
73
71
  StartTime?: string;
74
72
  /**
75
73
  * 若审校任务失败(Status="Failed"),该字段返回失败的具体原因。
76
- 示例值:文档解析失败
77
74
  */
78
75
  FailureReason?: string;
79
76
  /**
@@ -137,7 +134,6 @@ export interface DetailResults {
137
134
  export interface TextModerationRequest {
138
135
  /**
139
136
  * 待检测的文本内容,需为UTF-8编码并以Base64格式传入。
140
- 示例值:5L2g55qE5Lil6LCo6K6p5L2g5Y+R546w77yM5Lqn5ZOB57uP55CG5Y+r5YmR6Z2S
141
137
 
142
138
  */
143
139
  Content: string;
@@ -145,14 +141,11 @@ export interface TextModerationRequest {
145
141
  * 接口使用的识别策略编号,需在[控制台](https://console.cloud.tencent.com/cms/clouds/manage)获取。详细获取方式请参考以下链接:
146
142
  - **内容安全**(详见步骤四:策略配置):[点击这里](https://cloud.tencent.com/document/product/1124/37119)
147
143
  - **AI生成识别**(详见服务对接->方式二):[点击这里](https://cloud.tencent.com/document/product/1124/118694)
148
-
149
- 示例值:TencentCloudDefault
150
144
  */
151
145
  BizType?: string;
152
146
  /**
153
147
  * 该字段表示您为待检测文本分配的数据ID,作用是方便您对数据进行标识和管理。
154
148
  取值:可由英文字母、数字、四种特殊符号(_,-,@,#)组成,**长度不超过64个字符**。
155
- 示例值:a6127dd-c2a0-43e7-a3da-d27022d39ba7
156
149
  */
157
150
  DataId?: string;
158
151
  /**
@@ -168,8 +161,6 @@ export interface TextModerationRequest {
168
161
  - 推荐使用 zh
169
162
  - en 适用于纯英文内容,耗时较高。若需使用 en,请先通过[反馈工单](https://console.cloud.tencent.com/workorder/category?level1_id=141&level2_id=1287&source=14&data_title=%E6%96%87%E6%9C%AC%E5%86%85%E5%AE%B9%E5%AE%89%E5%85%A8&step=1)确认
170
163
 
171
- 示例值:zh
172
-
173
164
  */
174
165
  SourceLanguage?: string;
175
166
  /**
@@ -180,7 +171,6 @@ export interface TextModerationRequest {
180
171
  Type?: string;
181
172
  /**
182
173
  * 适用于上下文关联审核场景,若多条文本内容需要联合审核,通过该字段关联会话。
183
- 示例值:7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b
184
174
  */
185
175
  SessionId?: string;
186
176
  }
@@ -224,7 +214,6 @@ export interface FinancialLLMViolationReason {
224
214
  export interface CreateFinancialLLMTaskResponse {
225
215
  /**
226
216
  * 本次请求返回的任务ID将用于后续查询接口,以获取对应的审校结果。
227
- 示例值:3570106e-b156-45d9-8af5-99b46f7eb2f9。
228
217
  */
229
218
  TaskId?: string;
230
219
  /**
@@ -255,15 +244,12 @@ export interface Tag {
255
244
  export interface CreateFinancialLLMTaskRequest {
256
245
  /**
257
246
  * 接口使用的识别策略 ID,请参考 [快速指引](https://cloud.tencent.com/document/product/1124/124604) 获取该值。
258
- 示例值:TencentCloudFinancialLLMDefault
259
247
  */
260
248
  BizType: string;
261
249
  /**
262
250
  * 送审内容的格式,有两个可选值:
263
251
  - 1:代表送审内容为**文档**,如DOC文档
264
252
  - 2:代表送审内容为**纯文本**
265
-
266
- 示例值:1
267
253
  */
268
254
  ContentType?: number;
269
255
  /**
@@ -275,8 +261,6 @@ export interface CreateFinancialLLMTaskRequest {
275
261
  * 送审内容的传入方式如下:
276
262
  - 若为文档类,需传入文档的URL(原文档文字数不超过10,000字),例如:http://xxxxxxxxxxxx/financial_test.doc
277
263
  - 若为纯文本类,请以UTF-8格式进行Base64编码后传入(编码后字符数不超过10,000字),例如:5piO5aSpNjAz5LiA5a6a5rao
278
-
279
- 示例值:5piO5aSpNjAz5LiA5a6a5rao
280
264
  */
281
265
  Content?: string;
282
266
  }
@@ -351,7 +335,6 @@ export interface SentimentDetail {
351
335
  export interface TextModerationResponse {
352
336
  /**
353
337
  * 该字段用于回显检测对象请求参数中的 BizType,与输入的 BizType 值对应。
354
- 示例值:TencentCloudDefault
355
338
  */
356
339
  BizType?: string;
357
340
  /**
@@ -365,17 +348,14 @@ export interface TextModerationResponse {
365
348
  Label?: string;
366
349
  /**
367
350
  * 对应 Label 字段下的二级子标签,表示该 Label 下更细分的违规点。
368
- 示例值:SexualBehavior(该值为 Porn 下的一个二级标签)
369
351
  */
370
352
  SubLabel?: string;
371
353
  /**
372
354
  * 该字段标识 SubLabel 的置信度,取值范围为 0 - 100,值越高代表置信度越高。
373
- 示例值:85
374
355
  */
375
356
  Score?: number;
376
357
  /**
377
358
  * 该字段标识被检测文本所命中的关键词,可能返回0个或多个关键词。
378
- 示例值:["优惠券", "线下兑换"]
379
359
  注意:此字段可能返回 null,表示取不到有效值。
380
360
  */
381
361
  Keywords?: Array<string>;
@@ -396,7 +376,6 @@ export interface TextModerationResponse {
396
376
  Extra?: string;
397
377
  /**
398
378
  * 该字段用于回显检测对象请求参数中的 DataId,与输入的 DataId 值对应。
399
- 示例值:a6127dd-c2a0-43e7-a3da-d27022d39ba7
400
379
  */
401
380
  DataId?: string;
402
381
  /**
@@ -414,7 +393,6 @@ export interface TextModerationResponse {
414
393
  HitType?: string;
415
394
  /**
416
395
  * 该字段用于回显检测对象请求参数中的 SessionId,与输入的 SessionId 值对应。
417
- 示例值:7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b
418
396
  */
419
397
  SessionId?: string;
420
398
  /**