tencentcloud-sdk-python-mps 3.1.106__tar.gz → 3.1.110__tar.gz

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 (17) hide show
  1. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/setup.py +1 -1
  3. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud/mps/v20190612/models.py +317 -2
  5. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_mps-3.1.110/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_mps-3.1.106/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/README.rst +0 -0
  9. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud/mps/__init__.py +0 -0
  11. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud/mps/v20190612/__init__.py +0 -0
  12. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  14. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
  15. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_mps-3.1.106 → tencentcloud_sdk_python_mps-3.1.110}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.106
3
+ Version: 3.1.110
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.106
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.110
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-mps',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.106,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.110,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Mps SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.106'
17
+ __version__ = '3.1.110'
@@ -16110,7 +16110,7 @@ class BlindWatermarkEmbedInfo(AbstractModel):
16110
16110
 
16111
16111
  def __init__(self):
16112
16112
  r"""
16113
- :param _EmbedText: 盲水印文字,经过URL安全的Base64编码的4Byte数据。Base64解码之后,少于4Byte将会填充0x00到4Byte,超过4Byte将会截断为4Byte。
16113
+ :param _EmbedText: <p>盲水印文字,经过URL安全的Base64编码的数据。Base64解码之后,少于12Byte将会填充0x00到12Byte,超过12Byte将会截断为12Byte。</p>
16114
16114
  注意:此字段可能返回 null,表示取不到有效值。
16115
16115
  :type EmbedText: str
16116
16116
  """
@@ -16118,7 +16118,7 @@ class BlindWatermarkEmbedInfo(AbstractModel):
16118
16118
 
16119
16119
  @property
16120
16120
  def EmbedText(self):
16121
- r"""盲水印文字,经过URL安全的Base64编码的4Byte数据。Base64解码之后,少于4Byte将会填充0x00到4Byte,超过4Byte将会截断为4Byte。
16121
+ r"""<p>盲水印文字,经过URL安全的Base64编码的数据。Base64解码之后,少于12Byte将会填充0x00到12Byte,超过12Byte将会截断为12Byte。</p>
16122
16122
  注意:此字段可能返回 null,表示取不到有效值。
16123
16123
  :rtype: str
16124
16124
  """
@@ -50277,6 +50277,304 @@ class InputAddress(AbstractModel):
50277
50277
 
50278
50278
 
50279
50279
 
50280
+ class LLMDetectionIssue(AbstractModel):
50281
+ r"""LLM 大模型检测发现的单条问题
50282
+
50283
+ """
50284
+
50285
+ def __init__(self):
50286
+ r"""
50287
+ :param _Tag: <p>问题分类标签。</p>
50288
+ :type Tag: str
50289
+ :param _Description: <p>问题描述。</p>
50290
+ :type Description: str
50291
+ :param _Score: <p>该问题的质量得分,范围 [0, 100]。</p>
50292
+ :type Score: float
50293
+ :param _Confidence: <p>该问题的判断置信度,范围 [0, 100]。</p>
50294
+ :type Confidence: float
50295
+ :param _StartTimeMs: <p>问题起始时间(毫秒)。</p>
50296
+ :type StartTimeMs: int
50297
+ :param _EndTimeMs: <p>问题结束时间(毫秒)</p>
50298
+ :type EndTimeMs: int
50299
+ :param _ExtraData: <p>附加数据(JSON 格式),如严重程度等补充信息。</p>
50300
+ :type ExtraData: str
50301
+ """
50302
+ self._Tag = None
50303
+ self._Description = None
50304
+ self._Score = None
50305
+ self._Confidence = None
50306
+ self._StartTimeMs = None
50307
+ self._EndTimeMs = None
50308
+ self._ExtraData = None
50309
+
50310
+ @property
50311
+ def Tag(self):
50312
+ r"""<p>问题分类标签。</p>
50313
+ :rtype: str
50314
+ """
50315
+ return self._Tag
50316
+
50317
+ @Tag.setter
50318
+ def Tag(self, Tag):
50319
+ self._Tag = Tag
50320
+
50321
+ @property
50322
+ def Description(self):
50323
+ r"""<p>问题描述。</p>
50324
+ :rtype: str
50325
+ """
50326
+ return self._Description
50327
+
50328
+ @Description.setter
50329
+ def Description(self, Description):
50330
+ self._Description = Description
50331
+
50332
+ @property
50333
+ def Score(self):
50334
+ r"""<p>该问题的质量得分,范围 [0, 100]。</p>
50335
+ :rtype: float
50336
+ """
50337
+ return self._Score
50338
+
50339
+ @Score.setter
50340
+ def Score(self, Score):
50341
+ self._Score = Score
50342
+
50343
+ @property
50344
+ def Confidence(self):
50345
+ r"""<p>该问题的判断置信度,范围 [0, 100]。</p>
50346
+ :rtype: float
50347
+ """
50348
+ return self._Confidence
50349
+
50350
+ @Confidence.setter
50351
+ def Confidence(self, Confidence):
50352
+ self._Confidence = Confidence
50353
+
50354
+ @property
50355
+ def StartTimeMs(self):
50356
+ r"""<p>问题起始时间(毫秒)。</p>
50357
+ :rtype: int
50358
+ """
50359
+ return self._StartTimeMs
50360
+
50361
+ @StartTimeMs.setter
50362
+ def StartTimeMs(self, StartTimeMs):
50363
+ self._StartTimeMs = StartTimeMs
50364
+
50365
+ @property
50366
+ def EndTimeMs(self):
50367
+ r"""<p>问题结束时间(毫秒)</p>
50368
+ :rtype: int
50369
+ """
50370
+ return self._EndTimeMs
50371
+
50372
+ @EndTimeMs.setter
50373
+ def EndTimeMs(self, EndTimeMs):
50374
+ self._EndTimeMs = EndTimeMs
50375
+
50376
+ @property
50377
+ def ExtraData(self):
50378
+ r"""<p>附加数据(JSON 格式),如严重程度等补充信息。</p>
50379
+ :rtype: str
50380
+ """
50381
+ return self._ExtraData
50382
+
50383
+ @ExtraData.setter
50384
+ def ExtraData(self, ExtraData):
50385
+ self._ExtraData = ExtraData
50386
+
50387
+
50388
+ def _deserialize(self, params):
50389
+ self._Tag = params.get("Tag")
50390
+ self._Description = params.get("Description")
50391
+ self._Score = params.get("Score")
50392
+ self._Confidence = params.get("Confidence")
50393
+ self._StartTimeMs = params.get("StartTimeMs")
50394
+ self._EndTimeMs = params.get("EndTimeMs")
50395
+ self._ExtraData = params.get("ExtraData")
50396
+ memeber_set = set(params.keys())
50397
+ for name, value in vars(self).items():
50398
+ property_name = name[1:]
50399
+ if property_name in memeber_set:
50400
+ memeber_set.remove(property_name)
50401
+ if len(memeber_set) > 0:
50402
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
50403
+
50404
+
50405
+
50406
+ class LLMDetectionReport(AbstractModel):
50407
+ r"""LLM 大模型检测结果报告
50408
+
50409
+ """
50410
+
50411
+ def __init__(self):
50412
+ r"""
50413
+ :param _ResultCount: <p>检测结果数量。</p>
50414
+ :type ResultCount: int
50415
+ :param _ResultSet: <p>各检测项结果列表。</p>
50416
+ :type ResultSet: list of LLMDetectionResultItem
50417
+ """
50418
+ self._ResultCount = None
50419
+ self._ResultSet = None
50420
+
50421
+ @property
50422
+ def ResultCount(self):
50423
+ r"""<p>检测结果数量。</p>
50424
+ :rtype: int
50425
+ """
50426
+ return self._ResultCount
50427
+
50428
+ @ResultCount.setter
50429
+ def ResultCount(self, ResultCount):
50430
+ self._ResultCount = ResultCount
50431
+
50432
+ @property
50433
+ def ResultSet(self):
50434
+ r"""<p>各检测项结果列表。</p>
50435
+ :rtype: list of LLMDetectionResultItem
50436
+ """
50437
+ return self._ResultSet
50438
+
50439
+ @ResultSet.setter
50440
+ def ResultSet(self, ResultSet):
50441
+ self._ResultSet = ResultSet
50442
+
50443
+
50444
+ def _deserialize(self, params):
50445
+ self._ResultCount = params.get("ResultCount")
50446
+ if params.get("ResultSet") is not None:
50447
+ self._ResultSet = []
50448
+ for item in params.get("ResultSet"):
50449
+ obj = LLMDetectionResultItem()
50450
+ obj._deserialize(item)
50451
+ self._ResultSet.append(obj)
50452
+ memeber_set = set(params.keys())
50453
+ for name, value in vars(self).items():
50454
+ property_name = name[1:]
50455
+ if property_name in memeber_set:
50456
+ memeber_set.remove(property_name)
50457
+ if len(memeber_set) > 0:
50458
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
50459
+
50460
+
50461
+
50462
+ class LLMDetectionResultItem(AbstractModel):
50463
+ r"""LLM 大模型单个检测项的聚合结果
50464
+
50465
+ """
50466
+
50467
+ def __init__(self):
50468
+ r"""
50469
+ :param _Category: <p>检测分类。</p><p>枚举值:</p><ul><li>AIGCQualityCharacteristics: AIGC 质量特征</li></ul>
50470
+ :type Category: str
50471
+ :param _Group: <p>检测分组。</p><p>枚举值:</p><ul><li>AIGCAuthenticity: AIGC 真实性,包括人体合理性、物理合理性、跨帧一致性等</li><li>AIGCTechQuality: AIGC 技术质量,包括画幅、黑边、强行竖屏等</li></ul>
50472
+ :type Group: str
50473
+ :param _Type: <p>检测类型名称。</p><p>枚举值:</p><ul><li>BodyPoseCheck: 人体姿态合理性,属于 AIGCAuthenticity</li><li>BodyDetailCheck: 人体细节合理性,包括手指数、五官对称等,属于 AIGCAuthenticity</li><li>PhysicRulesCheck: 物理规律合理性,包括透视、光影、重力等,属于 AIGCAuthenticity</li><li>ObjectConsistencyCheck: 跨帧物体一致性,属于 AIGCAuthenticity</li><li>FormatCheck: 画幅、黑边、强行竖屏等格式问题,属于 AIGCTechQuality</li></ul>
50474
+ :type Type: str
50475
+ :param _Score: <p>整体质量得分,范围 [0, 100],越高越好。</p>
50476
+ :type Score: float
50477
+ :param _Confidence: <p>判断置信度,范围 [0, 100],越高表示越确定。</p>
50478
+ :type Confidence: float
50479
+ :param _IssueSet: <p>检测发现的问题列表,无问题时为空。</p>
50480
+ :type IssueSet: list of LLMDetectionIssue
50481
+ """
50482
+ self._Category = None
50483
+ self._Group = None
50484
+ self._Type = None
50485
+ self._Score = None
50486
+ self._Confidence = None
50487
+ self._IssueSet = None
50488
+
50489
+ @property
50490
+ def Category(self):
50491
+ r"""<p>检测分类。</p><p>枚举值:</p><ul><li>AIGCQualityCharacteristics: AIGC 质量特征</li></ul>
50492
+ :rtype: str
50493
+ """
50494
+ return self._Category
50495
+
50496
+ @Category.setter
50497
+ def Category(self, Category):
50498
+ self._Category = Category
50499
+
50500
+ @property
50501
+ def Group(self):
50502
+ r"""<p>检测分组。</p><p>枚举值:</p><ul><li>AIGCAuthenticity: AIGC 真实性,包括人体合理性、物理合理性、跨帧一致性等</li><li>AIGCTechQuality: AIGC 技术质量,包括画幅、黑边、强行竖屏等</li></ul>
50503
+ :rtype: str
50504
+ """
50505
+ return self._Group
50506
+
50507
+ @Group.setter
50508
+ def Group(self, Group):
50509
+ self._Group = Group
50510
+
50511
+ @property
50512
+ def Type(self):
50513
+ r"""<p>检测类型名称。</p><p>枚举值:</p><ul><li>BodyPoseCheck: 人体姿态合理性,属于 AIGCAuthenticity</li><li>BodyDetailCheck: 人体细节合理性,包括手指数、五官对称等,属于 AIGCAuthenticity</li><li>PhysicRulesCheck: 物理规律合理性,包括透视、光影、重力等,属于 AIGCAuthenticity</li><li>ObjectConsistencyCheck: 跨帧物体一致性,属于 AIGCAuthenticity</li><li>FormatCheck: 画幅、黑边、强行竖屏等格式问题,属于 AIGCTechQuality</li></ul>
50514
+ :rtype: str
50515
+ """
50516
+ return self._Type
50517
+
50518
+ @Type.setter
50519
+ def Type(self, Type):
50520
+ self._Type = Type
50521
+
50522
+ @property
50523
+ def Score(self):
50524
+ r"""<p>整体质量得分,范围 [0, 100],越高越好。</p>
50525
+ :rtype: float
50526
+ """
50527
+ return self._Score
50528
+
50529
+ @Score.setter
50530
+ def Score(self, Score):
50531
+ self._Score = Score
50532
+
50533
+ @property
50534
+ def Confidence(self):
50535
+ r"""<p>判断置信度,范围 [0, 100],越高表示越确定。</p>
50536
+ :rtype: float
50537
+ """
50538
+ return self._Confidence
50539
+
50540
+ @Confidence.setter
50541
+ def Confidence(self, Confidence):
50542
+ self._Confidence = Confidence
50543
+
50544
+ @property
50545
+ def IssueSet(self):
50546
+ r"""<p>检测发现的问题列表,无问题时为空。</p>
50547
+ :rtype: list of LLMDetectionIssue
50548
+ """
50549
+ return self._IssueSet
50550
+
50551
+ @IssueSet.setter
50552
+ def IssueSet(self, IssueSet):
50553
+ self._IssueSet = IssueSet
50554
+
50555
+
50556
+ def _deserialize(self, params):
50557
+ self._Category = params.get("Category")
50558
+ self._Group = params.get("Group")
50559
+ self._Type = params.get("Type")
50560
+ self._Score = params.get("Score")
50561
+ self._Confidence = params.get("Confidence")
50562
+ if params.get("IssueSet") is not None:
50563
+ self._IssueSet = []
50564
+ for item in params.get("IssueSet"):
50565
+ obj = LLMDetectionIssue()
50566
+ obj._deserialize(item)
50567
+ self._IssueSet.append(obj)
50568
+ memeber_set = set(params.keys())
50569
+ for name, value in vars(self).items():
50570
+ property_name = name[1:]
50571
+ if property_name in memeber_set:
50572
+ memeber_set.remove(property_name)
50573
+ if len(memeber_set) > 0:
50574
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
50575
+
50576
+
50577
+
50280
50578
  class LinearAssemblyChannelInfo(AbstractModel):
50281
50579
  r"""线性组装频道信息。
50282
50580
 
@@ -69551,6 +69849,8 @@ class QualityControlData(AbstractModel):
69551
69849
  :type QualityControlResultSet: list of QualityControlResult
69552
69850
  :param _ContainerDiagnoseResultSet: <p>格式诊断检出异常项。</p>
69553
69851
  :type ContainerDiagnoseResultSet: list of ContainerDiagnoseResultItem
69852
+ :param _LLMDetectionReport: <p>LLM大模型AIGC质量检测结果。</p>
69853
+ :type LLMDetectionReport: :class:`tencentcloud.mps.v20190612.models.LLMDetectionReport`
69554
69854
  """
69555
69855
  self._NoAudio = None
69556
69856
  self._NoVideo = None
@@ -69559,6 +69859,7 @@ class QualityControlData(AbstractModel):
69559
69859
  self._AestheticEvaluationScore = None
69560
69860
  self._QualityControlResultSet = None
69561
69861
  self._ContainerDiagnoseResultSet = None
69862
+ self._LLMDetectionReport = None
69562
69863
 
69563
69864
  @property
69564
69865
  def NoAudio(self):
@@ -69637,6 +69938,17 @@ class QualityControlData(AbstractModel):
69637
69938
  def ContainerDiagnoseResultSet(self, ContainerDiagnoseResultSet):
69638
69939
  self._ContainerDiagnoseResultSet = ContainerDiagnoseResultSet
69639
69940
 
69941
+ @property
69942
+ def LLMDetectionReport(self):
69943
+ r"""<p>LLM大模型AIGC质量检测结果。</p>
69944
+ :rtype: :class:`tencentcloud.mps.v20190612.models.LLMDetectionReport`
69945
+ """
69946
+ return self._LLMDetectionReport
69947
+
69948
+ @LLMDetectionReport.setter
69949
+ def LLMDetectionReport(self, LLMDetectionReport):
69950
+ self._LLMDetectionReport = LLMDetectionReport
69951
+
69640
69952
 
69641
69953
  def _deserialize(self, params):
69642
69954
  self._NoAudio = params.get("NoAudio")
@@ -69656,6 +69968,9 @@ class QualityControlData(AbstractModel):
69656
69968
  obj = ContainerDiagnoseResultItem()
69657
69969
  obj._deserialize(item)
69658
69970
  self._ContainerDiagnoseResultSet.append(obj)
69971
+ if params.get("LLMDetectionReport") is not None:
69972
+ self._LLMDetectionReport = LLMDetectionReport()
69973
+ self._LLMDetectionReport._deserialize(params.get("LLMDetectionReport"))
69659
69974
  memeber_set = set(params.keys())
69660
69975
  for name, value in vars(self).items():
69661
69976
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.106
3
+ Version: 3.1.110
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.106
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.110
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.110
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.106