tencentcloud-sdk-tms 3.0.1179 → 3.0.1180
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201229/models.rb +0 -22
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 895c229de383122a28a59dd9496dd002ea3823e0
|
|
4
|
+
data.tar.gz: 01d5abc8b73cde8bbb95c518d82862241e91b2d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb5270dca44cb1fc6c12ad2cd956f4eb69270bc17bd98a110f638b568e4b5f98325003ea67fe18dc4c766f317e731113cc2a3e5b8944cbfb7110d490d2d1e081
|
|
7
|
+
data.tar.gz: 352865b8ac21e1edb7ffd58f55977834b1dfe5dfdf7406186857c95aa2921dad0f9d9144ac454b82ee80db12ebb33c34c60a3998491d6fdc51246e17be9c2d5e
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1180
|
data/lib/v20201229/models.rb
CHANGED
|
@@ -20,13 +20,10 @@ module TencentCloud
|
|
|
20
20
|
# CreateFinancialLLMTask请求参数结构体
|
|
21
21
|
class CreateFinancialLLMTaskRequest < TencentCloud::Common::AbstractModel
|
|
22
22
|
# @param BizType: 接口使用的识别策略 ID,请参考 [快速指引](https://cloud.tencent.com/document/product/1124/124604) 获取该值。
|
|
23
|
-
# 示例值:TencentCloudFinancialLLMDefault
|
|
24
23
|
# @type BizType: String
|
|
25
24
|
# @param ContentType: 送审内容的格式,有两个可选值:
|
|
26
25
|
# - 1:代表送审内容为**文档**,如DOC文档
|
|
27
26
|
# - 2:代表送审内容为**纯文本**
|
|
28
|
-
|
|
29
|
-
# 示例值:1
|
|
30
27
|
# @type ContentType: Integer
|
|
31
28
|
# @param FileType: 若送审内容为文档(ContentType=1),需要传入具体格式,当前支持:DOC、DOCX、PDF。
|
|
32
29
|
# 说明:若送审内容为纯文本(ContentType=2),则本字段传空(FileType="")。
|
|
@@ -34,8 +31,6 @@ module TencentCloud
|
|
|
34
31
|
# @param Content: 送审内容的传入方式如下:
|
|
35
32
|
# - 若为文档类,需传入文档的URL(原文档文字数不超过10,000字),例如:http://xxxxxxxxxxxx/financial_test.doc
|
|
36
33
|
# - 若为纯文本类,请以UTF-8格式进行Base64编码后传入(编码后字符数不超过10,000字),例如:5piO5aSpNjAz5LiA5a6a5rao
|
|
37
|
-
|
|
38
|
-
# 示例值:5piO5aSpNjAz5LiA5a6a5rao
|
|
39
34
|
# @type Content: String
|
|
40
35
|
|
|
41
36
|
attr_accessor :BizType, :ContentType, :FileType, :Content
|
|
@@ -58,7 +53,6 @@ module TencentCloud
|
|
|
58
53
|
# CreateFinancialLLMTask返回参数结构体
|
|
59
54
|
class CreateFinancialLLMTaskResponse < TencentCloud::Common::AbstractModel
|
|
60
55
|
# @param TaskId: 本次请求返回的任务ID将用于后续查询接口,以获取对应的审校结果。
|
|
61
|
-
# 示例值:3570106e-b156-45d9-8af5-99b46f7eb2f9。
|
|
62
56
|
# @type TaskId: String
|
|
63
57
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
64
58
|
# @type RequestId: String
|
|
@@ -239,7 +233,6 @@ module TencentCloud
|
|
|
239
233
|
# GetFinancialLLMTaskResult请求参数结构体
|
|
240
234
|
class GetFinancialLLMTaskResultRequest < TencentCloud::Common::AbstractModel
|
|
241
235
|
# @param TaskId: 该值对应创建任务接口里返回的TaskId字段值,创建任务接口见[创建金融大模型审校任务](https://cloud.tencent.com/document/product/1124/124463)。
|
|
242
|
-
# 示例值:3570106e-b156-45d9-8af5-99b46f7eb2f9
|
|
243
236
|
# @type TaskId: String
|
|
244
237
|
|
|
245
238
|
attr_accessor :TaskId
|
|
@@ -265,10 +258,8 @@ module TencentCloud
|
|
|
265
258
|
# @param ReviewedLabels: 本次检测的违规点列表
|
|
266
259
|
# @type ReviewedLabels: Array
|
|
267
260
|
# @param StartTime: 审校任务的开始时间
|
|
268
|
-
# 示例值:2025-09-25 19:42:35
|
|
269
261
|
# @type StartTime: String
|
|
270
262
|
# @param FailureReason: 若审校任务失败(Status="Failed"),该字段返回失败的具体原因。
|
|
271
|
-
# 示例值:文档解析失败
|
|
272
263
|
# @type FailureReason: String
|
|
273
264
|
# @param ModerationResult: 该字段为历史结构字段,不再推荐使用。
|
|
274
265
|
# @type ModerationResult: String
|
|
@@ -462,17 +453,13 @@ module TencentCloud
|
|
|
462
453
|
# TextModeration请求参数结构体
|
|
463
454
|
class TextModerationRequest < TencentCloud::Common::AbstractModel
|
|
464
455
|
# @param Content: 待检测的文本内容,需为UTF-8编码并以Base64格式传入。
|
|
465
|
-
# 示例值:5L2g55qE5Lil6LCo6K6p5L2g5Y+R546w77yM5Lqn5ZOB57uP55CG5Y+r5YmR6Z2S
|
|
466
456
|
# @type Content: String
|
|
467
457
|
# @param BizType: 接口使用的识别策略编号,需在[控制台](https://console.cloud.tencent.com/cms/clouds/manage)获取。详细获取方式请参考以下链接:
|
|
468
458
|
# - **内容安全**(详见步骤四:策略配置):[点击这里](https://cloud.tencent.com/document/product/1124/37119)
|
|
469
459
|
# - **AI生成识别**(详见服务对接->方式二):[点击这里](https://cloud.tencent.com/document/product/1124/118694)
|
|
470
|
-
|
|
471
|
-
# 示例值:TencentCloudDefault
|
|
472
460
|
# @type BizType: String
|
|
473
461
|
# @param DataId: 该字段表示您为待检测文本分配的数据ID,作用是方便您对数据进行标识和管理。
|
|
474
462
|
# 取值:可由英文字母、数字、四种特殊符号(_,-,@,#)组成,**长度不超过64个字符**。
|
|
475
|
-
# 示例值:a6127dd-c2a0-43e7-a3da-d27022d39ba7
|
|
476
463
|
# @type DataId: String
|
|
477
464
|
# @param User: 该字段标识用户信息,传入后可增强甄别有违规风险的发布者账号。
|
|
478
465
|
# @type User: :class:`Tencentcloud::Tms.v20201229.models.User`
|
|
@@ -481,15 +468,12 @@ module TencentCloud
|
|
|
481
468
|
# @param SourceLanguage: Content字段的原始语种,枚举值包括 zh 和 en:
|
|
482
469
|
# - 推荐使用 zh
|
|
483
470
|
# - 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)确认
|
|
484
|
-
|
|
485
|
-
# 示例值:zh
|
|
486
471
|
# @type SourceLanguage: String
|
|
487
472
|
# @param Type: 服务类型,枚举值包括 TEXT 和 TEXT_AIGC:
|
|
488
473
|
# TEXT:内容安全
|
|
489
474
|
# TEXT_AIGC:AI生成识别
|
|
490
475
|
# @type Type: String
|
|
491
476
|
# @param SessionId: 适用于上下文关联审核场景,若多条文本内容需要联合审核,通过该字段关联会话。
|
|
492
|
-
# 示例值:7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b
|
|
493
477
|
# @type SessionId: String
|
|
494
478
|
|
|
495
479
|
attr_accessor :Content, :BizType, :DataId, :User, :Device, :SourceLanguage, :Type, :SessionId
|
|
@@ -526,7 +510,6 @@ module TencentCloud
|
|
|
526
510
|
# TextModeration返回参数结构体
|
|
527
511
|
class TextModerationResponse < TencentCloud::Common::AbstractModel
|
|
528
512
|
# @param BizType: 该字段用于回显检测对象请求参数中的 BizType,与输入的 BizType 值对应。
|
|
529
|
-
# 示例值:TencentCloudDefault
|
|
530
513
|
# @type BizType: String
|
|
531
514
|
# @param Suggestion: 用于标识对本次请求的处置建议,共三种返回值。
|
|
532
515
|
# 返回值:**Block**: 建议直接做违规处置,**Review**: 建议人工二次确认,**Pass**: 未识别到风险。
|
|
@@ -534,13 +517,10 @@ module TencentCloud
|
|
|
534
517
|
# @param Label: 该字段用于返回检测结果(DetailResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型
|
|
535
518
|
# @type Label: String
|
|
536
519
|
# @param SubLabel: 对应 Label 字段下的二级子标签,表示该 Label 下更细分的违规点。
|
|
537
|
-
# 示例值:SexualBehavior(该值为 Porn 下的一个二级标签)
|
|
538
520
|
# @type SubLabel: String
|
|
539
521
|
# @param Score: 该字段标识 SubLabel 的置信度,取值范围为 0 - 100,值越高代表置信度越高。
|
|
540
|
-
# 示例值:85
|
|
541
522
|
# @type Score: Integer
|
|
542
523
|
# @param Keywords: 该字段标识被检测文本所命中的关键词,可能返回0个或多个关键词。
|
|
543
|
-
# 示例值:["优惠券", "线下兑换"]
|
|
544
524
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
545
525
|
# @type Keywords: Array
|
|
546
526
|
# @param DetailResults: 该字段返回的检测的详细信息,返回值信息可参阅对应数据结构 DetailResults 的详细描述。
|
|
@@ -553,7 +533,6 @@ module TencentCloud
|
|
|
553
533
|
# 备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理。
|
|
554
534
|
# @type Extra: String
|
|
555
535
|
# @param DataId: 该字段用于回显检测对象请求参数中的 DataId,与输入的 DataId 值对应。
|
|
556
|
-
# 示例值:a6127dd-c2a0-43e7-a3da-d27022d39ba7
|
|
557
536
|
# @type DataId: String
|
|
558
537
|
# @param ContextText: 历史上下文关联的字段,不再推荐使用。上下文关联审核可通过入参的 SessionId 来实现。
|
|
559
538
|
# @type ContextText: String
|
|
@@ -563,7 +542,6 @@ module TencentCloud
|
|
|
563
542
|
# @param HitType: 该字段为历史结构字段,不再推荐使用。
|
|
564
543
|
# @type HitType: String
|
|
565
544
|
# @param SessionId: 该字段用于回显检测对象请求参数中的 SessionId,与输入的 SessionId 值对应。
|
|
566
|
-
# 示例值:7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b
|
|
567
545
|
# @type SessionId: String
|
|
568
546
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
569
547
|
# @type RequestId: String
|