tencentcloud-sdk-tms 3.0.1074 → 3.0.1091

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201229/models.rb +3 -30
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35283787b93874dda86ce771afc6d3dcaa6b9e07
4
- data.tar.gz: 5f1865388d8b1ac3ed8587f728c36da776c2d05b
3
+ metadata.gz: 0b7fce21eac427687cd2332ad618bcea26d1248c
4
+ data.tar.gz: be2015df40d68c25ce3498ed6ecb416b3c706308
5
5
  SHA512:
6
- metadata.gz: 82f2fef04f6a3d0e4ef93dceaa5199018d0499630b86612efd597c6ecd450bb18d5cfc75c04be8344c5a708481eec2e5ec224098eaa500d0d02a352c31c8d702
7
- data.tar.gz: c0e7f9763dc37764f39e6e5a889ea71aecfd402a2615c774361910bf021887d18c4f3cbccd1eba6b1c806271477416fc25a75b287e1321b428cfe6ed11706884
6
+ metadata.gz: 8e8378d0c7bacd476619bcb29e2f2848dd045984e1356cfc06152536bf754199a98728e7b9d0e8bb0172e58fbe94fd28df30d6545d236da556377c4028f14302
7
+ data.tar.gz: de9d707e89bed9bd04b5a4cb44dd2ed37baaaeac3ebc428ff5578a55b3670a2811585d9f1af80bf95fd618136bcf95592a68b6fa26e23c1441d6f4158c3346db
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1091
@@ -22,31 +22,23 @@ module TencentCloud
22
22
  # @param Label: 该字段用于返回检测结果所对应的全部恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
23
23
  # @type Label: String
24
24
  # @param Suggestion: 该字段用于返回对应当前标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
25
- # 注意:此字段可能返回 null,表示取不到有效值。
26
25
  # @type Suggestion: String
27
26
  # @param Keywords: 该字段用于返回检测文本命中的关键词信息,用于标注文本违规的具体原因(如:*加我微信*)。该参数可能会有多个返回值,代表命中的多个关键词;如返回值为空且Score不为空,则代表识别结果所对应的恶意标签(Label)是来自于语义模型判断的返回值。
28
- # 注意:此字段可能返回 null,表示取不到有效值。
29
27
  # @type Keywords: Array
30
28
  # @param Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
31
- # 注意:此字段可能返回 null,表示取不到有效值。
32
29
  # @type Score: Integer
33
30
  # @param LibType: 该字段用于返回自定义关键词对应的词库类型,取值为**1**(黑白库)和**2**(自定义关键词库),若未配置自定义关键词库,则默认值为1(黑白库匹配)。
34
- # 注意:此字段可能返回 null,表示取不到有效值。
35
31
  # @type LibType: Integer
36
32
  # @param LibId: 该字段用于返回自定义库的ID,以方便自定义库管理和配置。
37
- # 注意:此字段可能返回 null,表示取不到有效值。
38
33
  # @type LibId: String
39
34
  # @param LibName: 该字段用于返回自定义库的名称,以方便自定义库管理和配置。
40
- # 注意:此字段可能返回 null,表示取不到有效值。
41
35
  # @type LibName: String
42
36
  # @param SubLabel: 该字段用于返回当前标签(Label)下的二级标签。
43
- # 注意:此字段可能返回 null,表示取不到有效值。
44
37
  # @type SubLabel: String
45
38
  # @param Tags: 该字段用于返回当前一级标签(Label)下的关键词、子标签及分数。
46
39
  # 注意:此字段可能返回 null,表示取不到有效值。
47
40
  # @type Tags: Array
48
41
  # @param HitInfos: 该字段用于返回违规文本命中信息
49
- # 注意:此字段可能返回 null,表示取不到有效值。
50
42
  # @type HitInfos: Array
51
43
 
52
44
  attr_accessor :Label, :Suggestion, :Keywords, :Score, :LibType, :LibId, :LibName, :SubLabel, :Tags, :HitInfos
@@ -137,16 +129,12 @@ module TencentCloud
137
129
  # 关键词命中位置信息
138
130
  class HitInfo < TencentCloud::Common::AbstractModel
139
131
  # @param Type: 标识模型命中还是关键词命中
140
- # 注意:此字段可能返回 null,表示取不到有效值。
141
132
  # @type Type: String
142
133
  # @param Keyword: 命中关键词
143
- # 注意:此字段可能返回 null,表示取不到有效值。
144
134
  # @type Keyword: String
145
135
  # @param LibName: 自定义词库名称
146
- # 注意:此字段可能返回 null,表示取不到有效值。
147
136
  # @type LibName: String
148
137
  # @param Positions: 位置信息
149
- # 注意:此字段可能返回 null,表示取不到有效值。
150
138
  # @type Positions: Array
151
139
 
152
140
  attr_accessor :Type, :Keyword, :LibName, :Positions
@@ -176,10 +164,8 @@ module TencentCloud
176
164
  # 标识命中的违规关键词位置信息
177
165
  class Positions < TencentCloud::Common::AbstractModel
178
166
  # @param Start: 关键词起始位置
179
- # 注意:此字段可能返回 null,表示取不到有效值。
180
167
  # @type Start: Integer
181
168
  # @param End: 关键词结束位置
182
- # 注意:此字段可能返回 null,表示取不到有效值。
183
169
  # @type End: Integer
184
170
 
185
171
  attr_accessor :Start, :End
@@ -218,18 +204,14 @@ module TencentCloud
218
204
  # 情感分析结果
219
205
  class SentimentAnalysis < TencentCloud::Common::AbstractModel
220
206
  # @param Label: 情感标签
221
- # 注意:此字段可能返回 null,表示取不到有效值。
222
207
  # @type Label: String
223
208
  # @param Score: 标签分数,取值范围0到100
224
- # 注意:此字段可能返回 null,表示取不到有效值。
225
209
  # @type Score: Integer
226
210
  # @param Detail: 情感分析明细
227
- # 注意:此字段可能返回 null,表示取不到有效值。
228
211
  # @type Detail: :class:`Tencentcloud::Tms.v20201229.models.SentimentDetail`
229
212
  # @param Code: 响应码,成功为"OK",失败为"InternalError"
230
213
  # @type Code: String
231
214
  # @param Message: 异常信息
232
- # 注意:此字段可能返回 null,表示取不到有效值。
233
215
  # @type Message: String
234
216
 
235
217
  attr_accessor :Label, :Score, :Detail, :Code, :Message
@@ -257,10 +239,8 @@ module TencentCloud
257
239
  # 情感分析明细
258
240
  class SentimentDetail < TencentCloud::Common::AbstractModel
259
241
  # @param Positive: 正向分数,取值范围0到100
260
- # 注意:此字段可能返回 null,表示取不到有效值。
261
242
  # @type Positive: Integer
262
243
  # @param Negative: 负向分数,取值范围0到100
263
- # 注意:此字段可能返回 null,表示取不到有效值。
264
244
  # @type Negative: Integer
265
245
 
266
246
  attr_accessor :Positive, :Negative
@@ -279,13 +259,10 @@ module TencentCloud
279
259
  # 该字段用于返回审核结果明细字段的标签及分数
280
260
  class Tag < TencentCloud::Common::AbstractModel
281
261
  # @param Keyword: 该字段用于返回命中的关键词
282
- # 注意:此字段可能返回 null,表示取不到有效值。
283
262
  # @type Keyword: String
284
263
  # @param SubLabel: 该字段用于返回子标签
285
- # 注意:此字段可能返回 null,表示取不到有效值。
286
264
  # @type SubLabel: String
287
265
  # @param Score: 该字段用于返回子标签对应的分数
288
- # 注意:此字段可能返回 null,表示取不到有效值。
289
266
  # @type Score: Integer
290
267
 
291
268
  attr_accessor :Keyword, :SubLabel, :Score
@@ -307,7 +284,7 @@ module TencentCloud
307
284
  class TextModerationRequest < TencentCloud::Common::AbstractModel
308
285
  # @param Content: 该字段表示待检测对象的文本内容,文本需要按utf-8格式编码,长度不能超过10000个字符(按unicode编码计算),并进行 Base64加密
309
286
  # @type Content: String
310
- # @param BizType: 该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](#https://console.cloud.tencent.com/cms/clouds/manage)中配置,控制台访问地址:。
287
+ # @param BizType: 该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中配置,控制台访问地址:。
311
288
  # 备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
312
289
  # @type BizType: String
313
290
  # @param DataId: 该字段表示您为待检测对象分配的数据ID,传入后可方便您对文件进行标识和管理。<br>取值:由英文字母(大小写均可)、数字及四个特殊符号(_,-,@,#)组成,**长度不超过64个字符**
@@ -316,9 +293,9 @@ module TencentCloud
316
293
  # @type User: :class:`Tencentcloud::Tms.v20201229.models.User`
317
294
  # @param Device: 该字段表示待检测对象对应的设备相关信息,传入后可便于甄别相应违规风险设备
318
295
  # @type Device: :class:`Tencentcloud::Tms.v20201229.models.Device`
319
- # @param SourceLanguage: 表示Content的原始语种,枚举值包括 "en" 和 "zh"。其中,"en" 表示英文,"zh" 表示中文。非中文场景的处理耗时较高,具体情况取决于送审文本长度,非中文场景需[反馈工单](#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)确认。
296
+ # @param SourceLanguage: 表示Content的原始语种,枚举值包括 "en" 和 "zh"。其中,"en" 表示英文,"zh" 表示中文。非中文场景的处理耗时较高,具体情况取决于送审文本长度,非中文场景需[反馈工单](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)确认。
320
297
  # @type SourceLanguage: String
321
- # @param Type: 审核的业务类型,枚举值包括 "TEXT" "TEXT_AIGC""TEXT" 表示传统文本审核,"TEXT_AIGC" 表示文本AIGC审核。
298
+ # @param Type: 审核的业务类型,枚举值包括"TEXT"和"TEXT_AIGC"。其中"TEXT"表示传统文本审核,"TEXT_AIGC”表示AI生成检测(生成检测能力具体能力了解可[参见文档](https://cloud.tencent.com/document/product/1124/118694))。
322
299
  # @type Type: String
323
300
 
324
301
  attr_accessor :Content, :BizType, :DataId, :User, :Device, :SourceLanguage, :Type
@@ -370,16 +347,12 @@ module TencentCloud
370
347
  # 注意:此字段可能返回 null,表示取不到有效值。
371
348
  # @type RiskDetails: Array
372
349
  # @param Extra: 该字段用于返回根据您的需求配置的额外附加信息(Extra),如未配置则默认返回值为空。<br>备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理
373
- # 注意:此字段可能返回 null,表示取不到有效值。
374
350
  # @type Extra: String
375
351
  # @param DataId: 该字段用于返回检测对象对应请求参数中的DataId,与输入的DataId字段中的内容对应
376
- # 注意:此字段可能返回 null,表示取不到有效值。
377
352
  # @type DataId: String
378
353
  # @param SubLabel: 该字段用于返回当前标签(Label)下的二级标签。
379
- # 注意:此字段可能返回 null,表示取不到有效值。
380
354
  # @type SubLabel: String
381
355
  # @param ContextText: 该字段用于返回上下文关联文本
382
- # 注意:此字段可能返回 null,表示取不到有效值。
383
356
  # @type ContextText: String
384
357
  # @param SentimentAnalysis: 情感分析结果
385
358
  # 注意:此字段可能返回 null,表示取不到有效值。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1074
4
+ version: 3.0.1091
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common