tencentcloud-sdk-python-adp 3.1.176__tar.gz → 3.1.178__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_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/setup.py +1 -1
  3. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud/adp/v20260520/adp_client.py +47 -1
  5. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud/adp/v20260520/adp_client_async.py +37 -1
  6. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud/adp/v20260520/models.py +775 -46
  7. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_adp-3.1.178/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_adp-3.1.176/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/README.rst +0 -0
  11. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud/adp/__init__.py +0 -0
  13. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud/adp/v20260520/__init__.py +0 -0
  14. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud/adp/v20260520/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.178}/tencentcloud_sdk_python_adp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-adp
3
- Version: 3.1.176
3
+ Version: 3.1.178
4
4
  Summary: Tencent Cloud Adp 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.176
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.178
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-adp',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.176,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.178,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Adp SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.176'
17
+ __version__ = '3.1.178'
@@ -27,7 +27,7 @@ class AdpClient(AbstractClient):
27
27
 
28
28
 
29
29
  def CheckLabel(self, request):
30
- r"""校验标签下的标准词是否已存在
30
+ r"""校验标签
31
31
 
32
32
  :param request: Request instance for CheckLabel.
33
33
  :type request: :class:`tencentcloud.adp.v20260520.models.CheckLabelRequest`
@@ -1038,6 +1038,29 @@ class AdpClient(AbstractClient):
1038
1038
  raise TencentCloudSDKException(type(e).__name__, str(e))
1039
1039
 
1040
1040
 
1041
+ def DescribeAppStatisticsOverview(self, request):
1042
+ r"""查询应用视图下的调用统计总览,包含总调用次数、调用成功率、总tokens平均耗时及首tokens平均耗时;RAG 应用额外返回各回复方式的调用次数及占比,用于绘制饼图
1043
+
1044
+ :param request: Request instance for DescribeAppStatisticsOverview.
1045
+ :type request: :class:`tencentcloud.adp.v20260520.models.DescribeAppStatisticsOverviewRequest`
1046
+ :rtype: :class:`tencentcloud.adp.v20260520.models.DescribeAppStatisticsOverviewResponse`
1047
+
1048
+ """
1049
+ try:
1050
+ params = request._serialize()
1051
+ headers = request.headers
1052
+ body = self.call("DescribeAppStatisticsOverview", params, headers=headers)
1053
+ response = json.loads(body)
1054
+ model = models.DescribeAppStatisticsOverviewResponse()
1055
+ model._deserialize(response["Response"])
1056
+ return model
1057
+ except Exception as e:
1058
+ if isinstance(e, TencentCloudSDKException):
1059
+ raise
1060
+ else:
1061
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1062
+
1063
+
1041
1064
  def DescribeAppSummaryList(self, request):
1042
1065
  r"""获取应用摘要列表
1043
1066
 
@@ -1820,6 +1843,29 @@ class AdpClient(AbstractClient):
1820
1843
  raise TencentCloudSDKException(type(e).__name__, str(e))
1821
1844
 
1822
1845
 
1846
+ def DescribeResourceSummary(self, request):
1847
+ r"""获取用户资源套餐和增值包用量信息
1848
+
1849
+ :param request: Request instance for DescribeResourceSummary.
1850
+ :type request: :class:`tencentcloud.adp.v20260520.models.DescribeResourceSummaryRequest`
1851
+ :rtype: :class:`tencentcloud.adp.v20260520.models.DescribeResourceSummaryResponse`
1852
+
1853
+ """
1854
+ try:
1855
+ params = request._serialize()
1856
+ headers = request.headers
1857
+ body = self.call("DescribeResourceSummary", params, headers=headers)
1858
+ response = json.loads(body)
1859
+ model = models.DescribeResourceSummaryResponse()
1860
+ model._deserialize(response["Response"])
1861
+ return model
1862
+ except Exception as e:
1863
+ if isinstance(e, TencentCloudSDKException):
1864
+ raise
1865
+ else:
1866
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1867
+
1868
+
1823
1869
  def DescribeSkillCategoryList(self, request):
1824
1870
  r"""查询 Skill 分类列表
1825
1871
 
@@ -31,7 +31,7 @@ class AdpClient(AbstractClient):
31
31
  opts: Dict = None,
32
32
  ) -> models.CheckLabelResponse:
33
33
  """
34
- 校验标签下的标准词是否已存在
34
+ 校验标签
35
35
  """
36
36
 
37
37
  kwargs = {}
@@ -817,6 +817,24 @@ class AdpClient(AbstractClient):
817
817
 
818
818
  return await self.call_and_deserialize(**kwargs)
819
819
 
820
+ async def DescribeAppStatisticsOverview(
821
+ self,
822
+ request: models.DescribeAppStatisticsOverviewRequest,
823
+ opts: Dict = None,
824
+ ) -> models.DescribeAppStatisticsOverviewResponse:
825
+ """
826
+ 查询应用视图下的调用统计总览,包含总调用次数、调用成功率、总tokens平均耗时及首tokens平均耗时;RAG 应用额外返回各回复方式的调用次数及占比,用于绘制饼图
827
+ """
828
+
829
+ kwargs = {}
830
+ kwargs["action"] = "DescribeAppStatisticsOverview"
831
+ kwargs["params"] = request._serialize()
832
+ kwargs["resp_cls"] = models.DescribeAppStatisticsOverviewResponse
833
+ kwargs["headers"] = request.headers
834
+ kwargs["opts"] = opts or {}
835
+
836
+ return await self.call_and_deserialize(**kwargs)
837
+
820
838
  async def DescribeAppSummaryList(
821
839
  self,
822
840
  request: models.DescribeAppSummaryListRequest,
@@ -1429,6 +1447,24 @@ class AdpClient(AbstractClient):
1429
1447
 
1430
1448
  return await self.call_and_deserialize(**kwargs)
1431
1449
 
1450
+ async def DescribeResourceSummary(
1451
+ self,
1452
+ request: models.DescribeResourceSummaryRequest,
1453
+ opts: Dict = None,
1454
+ ) -> models.DescribeResourceSummaryResponse:
1455
+ """
1456
+ 获取用户资源套餐和增值包用量信息
1457
+ """
1458
+
1459
+ kwargs = {}
1460
+ kwargs["action"] = "DescribeResourceSummary"
1461
+ kwargs["params"] = request._serialize()
1462
+ kwargs["resp_cls"] = models.DescribeResourceSummaryResponse
1463
+ kwargs["headers"] = request.headers
1464
+ kwargs["opts"] = opts or {}
1465
+
1466
+ return await self.call_and_deserialize(**kwargs)
1467
+
1432
1468
  async def DescribeSkillCategoryList(
1433
1469
  self,
1434
1470
  request: models.DescribeSkillCategoryListRequest,
@@ -420,6 +420,162 @@ class AccountInfo(AbstractModel):
420
420
 
421
421
 
422
422
 
423
+ class AddOnPackageInfo(AbstractModel):
424
+ r"""计费增值包用量信息
425
+
426
+ """
427
+
428
+ def __init__(self):
429
+ r"""
430
+ :param _AddOnTotal: <p>增值包总量</p>
431
+ :type AddOnTotal: float
432
+ :param _AddOnUsage: <p>增值包用量</p>
433
+ :type AddOnUsage: float
434
+ :param _ExclusiveConcurrency: <p>专属并发总数</p>
435
+ :type ExclusiveConcurrency: int
436
+ :param _ResourceStatus: <p>资源包状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>2: 已用完</li><li>3: 已过期</li></ul>
437
+ :type ResourceStatus: int
438
+ :param _ConcurrencyStatus: <p>专属并发状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li></ul>
439
+ :type ConcurrencyStatus: int
440
+ :param _ExclusiveTpm: <p>专属tpm</p>
441
+ :type ExclusiveTpm: int
442
+ :param _ExclusiveTpmStatus: <p>专属tpm状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li></ul>
443
+ :type ExclusiveTpmStatus: int
444
+ :param _ExclusiveComputeUnit: <p>专属计算单元</p>
445
+ :type ExclusiveComputeUnit: int
446
+ :param _ExclusiveComputeUnitStatus: <p>专属计算单元状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li><li>4: 已销毁</li><li>5: 已隔离</li><li>6: 未生效</li><li>7: 暂不可用(套餐包过期时)</li></ul>
447
+ :type ExclusiveComputeUnitStatus: int
448
+ """
449
+ self._AddOnTotal = None
450
+ self._AddOnUsage = None
451
+ self._ExclusiveConcurrency = None
452
+ self._ResourceStatus = None
453
+ self._ConcurrencyStatus = None
454
+ self._ExclusiveTpm = None
455
+ self._ExclusiveTpmStatus = None
456
+ self._ExclusiveComputeUnit = None
457
+ self._ExclusiveComputeUnitStatus = None
458
+
459
+ @property
460
+ def AddOnTotal(self):
461
+ r"""<p>增值包总量</p>
462
+ :rtype: float
463
+ """
464
+ return self._AddOnTotal
465
+
466
+ @AddOnTotal.setter
467
+ def AddOnTotal(self, AddOnTotal):
468
+ self._AddOnTotal = AddOnTotal
469
+
470
+ @property
471
+ def AddOnUsage(self):
472
+ r"""<p>增值包用量</p>
473
+ :rtype: float
474
+ """
475
+ return self._AddOnUsage
476
+
477
+ @AddOnUsage.setter
478
+ def AddOnUsage(self, AddOnUsage):
479
+ self._AddOnUsage = AddOnUsage
480
+
481
+ @property
482
+ def ExclusiveConcurrency(self):
483
+ r"""<p>专属并发总数</p>
484
+ :rtype: int
485
+ """
486
+ return self._ExclusiveConcurrency
487
+
488
+ @ExclusiveConcurrency.setter
489
+ def ExclusiveConcurrency(self, ExclusiveConcurrency):
490
+ self._ExclusiveConcurrency = ExclusiveConcurrency
491
+
492
+ @property
493
+ def ResourceStatus(self):
494
+ r"""<p>资源包状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>2: 已用完</li><li>3: 已过期</li></ul>
495
+ :rtype: int
496
+ """
497
+ return self._ResourceStatus
498
+
499
+ @ResourceStatus.setter
500
+ def ResourceStatus(self, ResourceStatus):
501
+ self._ResourceStatus = ResourceStatus
502
+
503
+ @property
504
+ def ConcurrencyStatus(self):
505
+ r"""<p>专属并发状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li></ul>
506
+ :rtype: int
507
+ """
508
+ return self._ConcurrencyStatus
509
+
510
+ @ConcurrencyStatus.setter
511
+ def ConcurrencyStatus(self, ConcurrencyStatus):
512
+ self._ConcurrencyStatus = ConcurrencyStatus
513
+
514
+ @property
515
+ def ExclusiveTpm(self):
516
+ r"""<p>专属tpm</p>
517
+ :rtype: int
518
+ """
519
+ return self._ExclusiveTpm
520
+
521
+ @ExclusiveTpm.setter
522
+ def ExclusiveTpm(self, ExclusiveTpm):
523
+ self._ExclusiveTpm = ExclusiveTpm
524
+
525
+ @property
526
+ def ExclusiveTpmStatus(self):
527
+ r"""<p>专属tpm状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li></ul>
528
+ :rtype: int
529
+ """
530
+ return self._ExclusiveTpmStatus
531
+
532
+ @ExclusiveTpmStatus.setter
533
+ def ExclusiveTpmStatus(self, ExclusiveTpmStatus):
534
+ self._ExclusiveTpmStatus = ExclusiveTpmStatus
535
+
536
+ @property
537
+ def ExclusiveComputeUnit(self):
538
+ r"""<p>专属计算单元</p>
539
+ :rtype: int
540
+ """
541
+ return self._ExclusiveComputeUnit
542
+
543
+ @ExclusiveComputeUnit.setter
544
+ def ExclusiveComputeUnit(self, ExclusiveComputeUnit):
545
+ self._ExclusiveComputeUnit = ExclusiveComputeUnit
546
+
547
+ @property
548
+ def ExclusiveComputeUnitStatus(self):
549
+ r"""<p>专属计算单元状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li><li>4: 已销毁</li><li>5: 已隔离</li><li>6: 未生效</li><li>7: 暂不可用(套餐包过期时)</li></ul>
550
+ :rtype: int
551
+ """
552
+ return self._ExclusiveComputeUnitStatus
553
+
554
+ @ExclusiveComputeUnitStatus.setter
555
+ def ExclusiveComputeUnitStatus(self, ExclusiveComputeUnitStatus):
556
+ self._ExclusiveComputeUnitStatus = ExclusiveComputeUnitStatus
557
+
558
+
559
+ def _deserialize(self, params):
560
+ self._AddOnTotal = params.get("AddOnTotal")
561
+ self._AddOnUsage = params.get("AddOnUsage")
562
+ self._ExclusiveConcurrency = params.get("ExclusiveConcurrency")
563
+ self._ResourceStatus = params.get("ResourceStatus")
564
+ self._ConcurrencyStatus = params.get("ConcurrencyStatus")
565
+ self._ExclusiveTpm = params.get("ExclusiveTpm")
566
+ self._ExclusiveTpmStatus = params.get("ExclusiveTpmStatus")
567
+ self._ExclusiveComputeUnit = params.get("ExclusiveComputeUnit")
568
+ self._ExclusiveComputeUnitStatus = params.get("ExclusiveComputeUnitStatus")
569
+ memeber_set = set(params.keys())
570
+ for name, value in vars(self).items():
571
+ property_name = name[1:]
572
+ if property_name in memeber_set:
573
+ memeber_set.remove(property_name)
574
+ if len(memeber_set) > 0:
575
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
576
+
577
+
578
+
423
579
  class AgentAdvancedConfig(AbstractModel):
424
580
  r"""Agent高级设置
425
581
 
@@ -8458,9 +8614,9 @@ class CheckResult(AbstractModel):
8458
8614
 
8459
8615
  def __init__(self):
8460
8616
  r"""
8461
- :param _Passed: <p>是否通过校验</p>
8617
+ :param _Passed: 是否通过校验
8462
8618
  :type Passed: bool
8463
- :param _Reason: <p>失败原因(passed=false 时填充)</p>
8619
+ :param _Reason: 失败原因(passed=false 时填充)
8464
8620
  :type Reason: str
8465
8621
  """
8466
8622
  self._Passed = None
@@ -8468,7 +8624,7 @@ class CheckResult(AbstractModel):
8468
8624
 
8469
8625
  @property
8470
8626
  def Passed(self):
8471
- r"""<p>是否通过校验</p>
8627
+ r"""是否通过校验
8472
8628
  :rtype: bool
8473
8629
  """
8474
8630
  return self._Passed
@@ -8479,7 +8635,7 @@ class CheckResult(AbstractModel):
8479
8635
 
8480
8636
  @property
8481
8637
  def Reason(self):
8482
- r"""<p>失败原因(passed=false 时填充)</p>
8638
+ r"""失败原因(passed=false 时填充)
8483
8639
  :rtype: str
8484
8640
  """
8485
8641
  return self._Reason
@@ -16531,6 +16687,234 @@ class DescribeAppResponse(AbstractModel):
16531
16687
  self._RequestId = params.get("RequestId")
16532
16688
 
16533
16689
 
16690
+ class DescribeAppStatisticsOverviewRequest(AbstractModel):
16691
+ r"""DescribeAppStatisticsOverview请求参数结构体
16692
+
16693
+ """
16694
+
16695
+ def __init__(self):
16696
+ r"""
16697
+ :param _AppType: <p>应用类型。可选值:APP_TYPE_RAG(RAG)、APP_TYPE_WORKFLOW(Workflow)、APP_TYPE_CLAW(Claw)、APP_TYPE_MULTIAGENT(MultiAgent);本期仅 APP_TYPE_RAG 生效,其余为预留值,传入将返回 InvalidParameter</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>APP_TYPE_UNSPECIFIED</td><td>0</td><td>未指定(无效值,请求勿传)</td></tr><tr><td>APP_TYPE_RAG</td><td>1</td><td>RAG(本期唯一支持)</td></tr><tr><td>APP_TYPE_WORKFLOW</td><td>2</td><td>Workflow(预留,暂不支持)</td></tr><tr><td>APP_TYPE_CLAW</td><td>3</td><td>Claw(预留,暂不支持)</td></tr><tr><td>APP_TYPE_MULTIAGENT</td><td>4</td><td>MultiAgent(预留,暂不支持)</td></tr></tbody></table>
16698
+ :type AppType: int
16699
+ :param _TimeRange: <p>查询时间范围(Unix 秒)</p>
16700
+ :type TimeRange: :class:`tencentcloud.adp.v20260520.models.TimeRange`
16701
+ :param _ViewScope: <p>视图范围:应用视图(VIEW_TYPE_APP),scope_id 填应用 ID(uint64 雪花 ID 的十进制字符串)</p>
16702
+ :type ViewScope: :class:`tencentcloud.adp.v20260520.models.ViewScope`
16703
+ :param _SpaceId: <p>空间 ID</p><p>参数格式:<p>空间 ID</p></p><p>默认值:default_space</p>
16704
+ :type SpaceId: str
16705
+ :param _AppId: <p>应用 ID</p><p>参数格式:</p><p>应用 ID</p><p></p><p>参考值:2099767969573745984</p>
16706
+ :type AppId: str
16707
+ :param _FilterList: <p>扩展过滤。Filter 组合规则:多项 AND,同项 value_list OR。支持 Name:space_id(空间 ID)、channel_type(调用方式/渠道类型,取值参考 trpc.adp.common.v2.ChannelType 枚举名);channel_type 不传时按全部渠道聚合</p>
16708
+ :type FilterList: list of Filter
16709
+ """
16710
+ self._AppType = None
16711
+ self._TimeRange = None
16712
+ self._ViewScope = None
16713
+ self._SpaceId = None
16714
+ self._AppId = None
16715
+ self._FilterList = None
16716
+
16717
+ @property
16718
+ def AppType(self):
16719
+ r"""<p>应用类型。可选值:APP_TYPE_RAG(RAG)、APP_TYPE_WORKFLOW(Workflow)、APP_TYPE_CLAW(Claw)、APP_TYPE_MULTIAGENT(MultiAgent);本期仅 APP_TYPE_RAG 生效,其余为预留值,传入将返回 InvalidParameter</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>APP_TYPE_UNSPECIFIED</td><td>0</td><td>未指定(无效值,请求勿传)</td></tr><tr><td>APP_TYPE_RAG</td><td>1</td><td>RAG(本期唯一支持)</td></tr><tr><td>APP_TYPE_WORKFLOW</td><td>2</td><td>Workflow(预留,暂不支持)</td></tr><tr><td>APP_TYPE_CLAW</td><td>3</td><td>Claw(预留,暂不支持)</td></tr><tr><td>APP_TYPE_MULTIAGENT</td><td>4</td><td>MultiAgent(预留,暂不支持)</td></tr></tbody></table>
16720
+ :rtype: int
16721
+ """
16722
+ return self._AppType
16723
+
16724
+ @AppType.setter
16725
+ def AppType(self, AppType):
16726
+ self._AppType = AppType
16727
+
16728
+ @property
16729
+ def TimeRange(self):
16730
+ r"""<p>查询时间范围(Unix 秒)</p>
16731
+ :rtype: :class:`tencentcloud.adp.v20260520.models.TimeRange`
16732
+ """
16733
+ return self._TimeRange
16734
+
16735
+ @TimeRange.setter
16736
+ def TimeRange(self, TimeRange):
16737
+ self._TimeRange = TimeRange
16738
+
16739
+ @property
16740
+ def ViewScope(self):
16741
+ r"""<p>视图范围:应用视图(VIEW_TYPE_APP),scope_id 填应用 ID(uint64 雪花 ID 的十进制字符串)</p>
16742
+ :rtype: :class:`tencentcloud.adp.v20260520.models.ViewScope`
16743
+ """
16744
+ return self._ViewScope
16745
+
16746
+ @ViewScope.setter
16747
+ def ViewScope(self, ViewScope):
16748
+ self._ViewScope = ViewScope
16749
+
16750
+ @property
16751
+ def SpaceId(self):
16752
+ r"""<p>空间 ID</p><p>参数格式:<p>空间 ID</p></p><p>默认值:default_space</p>
16753
+ :rtype: str
16754
+ """
16755
+ return self._SpaceId
16756
+
16757
+ @SpaceId.setter
16758
+ def SpaceId(self, SpaceId):
16759
+ self._SpaceId = SpaceId
16760
+
16761
+ @property
16762
+ def AppId(self):
16763
+ r"""<p>应用 ID</p><p>参数格式:</p><p>应用 ID</p><p></p><p>参考值:2099767969573745984</p>
16764
+ :rtype: str
16765
+ """
16766
+ return self._AppId
16767
+
16768
+ @AppId.setter
16769
+ def AppId(self, AppId):
16770
+ self._AppId = AppId
16771
+
16772
+ @property
16773
+ def FilterList(self):
16774
+ r"""<p>扩展过滤。Filter 组合规则:多项 AND,同项 value_list OR。支持 Name:space_id(空间 ID)、channel_type(调用方式/渠道类型,取值参考 trpc.adp.common.v2.ChannelType 枚举名);channel_type 不传时按全部渠道聚合</p>
16775
+ :rtype: list of Filter
16776
+ """
16777
+ return self._FilterList
16778
+
16779
+ @FilterList.setter
16780
+ def FilterList(self, FilterList):
16781
+ self._FilterList = FilterList
16782
+
16783
+
16784
+ def _deserialize(self, params):
16785
+ self._AppType = params.get("AppType")
16786
+ if params.get("TimeRange") is not None:
16787
+ self._TimeRange = TimeRange()
16788
+ self._TimeRange._deserialize(params.get("TimeRange"))
16789
+ if params.get("ViewScope") is not None:
16790
+ self._ViewScope = ViewScope()
16791
+ self._ViewScope._deserialize(params.get("ViewScope"))
16792
+ self._SpaceId = params.get("SpaceId")
16793
+ self._AppId = params.get("AppId")
16794
+ if params.get("FilterList") is not None:
16795
+ self._FilterList = []
16796
+ for item in params.get("FilterList"):
16797
+ obj = Filter()
16798
+ obj._deserialize(item)
16799
+ self._FilterList.append(obj)
16800
+ memeber_set = set(params.keys())
16801
+ for name, value in vars(self).items():
16802
+ property_name = name[1:]
16803
+ if property_name in memeber_set:
16804
+ memeber_set.remove(property_name)
16805
+ if len(memeber_set) > 0:
16806
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16807
+
16808
+
16809
+
16810
+ class DescribeAppStatisticsOverviewResponse(AbstractModel):
16811
+ r"""DescribeAppStatisticsOverview返回参数结构体
16812
+
16813
+ """
16814
+
16815
+ def __init__(self):
16816
+ r"""
16817
+ :param _AvgFirstTokenTime: <p>首 tokens 平均耗时(毫秒)</p>
16818
+ :type AvgFirstTokenTime: str
16819
+ :param _AvgTotalTokenTime: <p>总 tokens 平均耗时(毫秒)</p>
16820
+ :type AvgTotalTokenTime: str
16821
+ :param _CallSuccessRate: <p>应用调用成功率(百分比,0~100)</p>
16822
+ :type CallSuccessRate: float
16823
+ :param _ReplyTypeDistributionList: <p>回复类型分布列表;按 app_type 统计,已补全所有回复方式并按固定顺序返回,无数据的回复方式 call_count 为 0</p>
16824
+ :type ReplyTypeDistributionList: list of Distribution
16825
+ :param _TotalCallCount: <p>总调用次数</p>
16826
+ :type TotalCallCount: str
16827
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16828
+ :type RequestId: str
16829
+ """
16830
+ self._AvgFirstTokenTime = None
16831
+ self._AvgTotalTokenTime = None
16832
+ self._CallSuccessRate = None
16833
+ self._ReplyTypeDistributionList = None
16834
+ self._TotalCallCount = None
16835
+ self._RequestId = None
16836
+
16837
+ @property
16838
+ def AvgFirstTokenTime(self):
16839
+ r"""<p>首 tokens 平均耗时(毫秒)</p>
16840
+ :rtype: str
16841
+ """
16842
+ return self._AvgFirstTokenTime
16843
+
16844
+ @AvgFirstTokenTime.setter
16845
+ def AvgFirstTokenTime(self, AvgFirstTokenTime):
16846
+ self._AvgFirstTokenTime = AvgFirstTokenTime
16847
+
16848
+ @property
16849
+ def AvgTotalTokenTime(self):
16850
+ r"""<p>总 tokens 平均耗时(毫秒)</p>
16851
+ :rtype: str
16852
+ """
16853
+ return self._AvgTotalTokenTime
16854
+
16855
+ @AvgTotalTokenTime.setter
16856
+ def AvgTotalTokenTime(self, AvgTotalTokenTime):
16857
+ self._AvgTotalTokenTime = AvgTotalTokenTime
16858
+
16859
+ @property
16860
+ def CallSuccessRate(self):
16861
+ r"""<p>应用调用成功率(百分比,0~100)</p>
16862
+ :rtype: float
16863
+ """
16864
+ return self._CallSuccessRate
16865
+
16866
+ @CallSuccessRate.setter
16867
+ def CallSuccessRate(self, CallSuccessRate):
16868
+ self._CallSuccessRate = CallSuccessRate
16869
+
16870
+ @property
16871
+ def ReplyTypeDistributionList(self):
16872
+ r"""<p>回复类型分布列表;按 app_type 统计,已补全所有回复方式并按固定顺序返回,无数据的回复方式 call_count 为 0</p>
16873
+ :rtype: list of Distribution
16874
+ """
16875
+ return self._ReplyTypeDistributionList
16876
+
16877
+ @ReplyTypeDistributionList.setter
16878
+ def ReplyTypeDistributionList(self, ReplyTypeDistributionList):
16879
+ self._ReplyTypeDistributionList = ReplyTypeDistributionList
16880
+
16881
+ @property
16882
+ def TotalCallCount(self):
16883
+ r"""<p>总调用次数</p>
16884
+ :rtype: str
16885
+ """
16886
+ return self._TotalCallCount
16887
+
16888
+ @TotalCallCount.setter
16889
+ def TotalCallCount(self, TotalCallCount):
16890
+ self._TotalCallCount = TotalCallCount
16891
+
16892
+ @property
16893
+ def RequestId(self):
16894
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16895
+ :rtype: str
16896
+ """
16897
+ return self._RequestId
16898
+
16899
+ @RequestId.setter
16900
+ def RequestId(self, RequestId):
16901
+ self._RequestId = RequestId
16902
+
16903
+
16904
+ def _deserialize(self, params):
16905
+ self._AvgFirstTokenTime = params.get("AvgFirstTokenTime")
16906
+ self._AvgTotalTokenTime = params.get("AvgTotalTokenTime")
16907
+ self._CallSuccessRate = params.get("CallSuccessRate")
16908
+ if params.get("ReplyTypeDistributionList") is not None:
16909
+ self._ReplyTypeDistributionList = []
16910
+ for item in params.get("ReplyTypeDistributionList"):
16911
+ obj = Distribution()
16912
+ obj._deserialize(item)
16913
+ self._ReplyTypeDistributionList.append(obj)
16914
+ self._TotalCallCount = params.get("TotalCallCount")
16915
+ self._RequestId = params.get("RequestId")
16916
+
16917
+
16534
16918
  class DescribeAppSummaryListRequest(AbstractModel):
16535
16919
  r"""DescribeAppSummaryList请求参数结构体
16536
16920
 
@@ -22260,6 +22644,74 @@ class DescribeReleaseSummaryResponse(AbstractModel):
22260
22644
  self._RequestId = params.get("RequestId")
22261
22645
 
22262
22646
 
22647
+ class DescribeResourceSummaryRequest(AbstractModel):
22648
+ r"""DescribeResourceSummary请求参数结构体
22649
+
22650
+ """
22651
+
22652
+
22653
+ class DescribeResourceSummaryResponse(AbstractModel):
22654
+ r"""DescribeResourceSummary返回参数结构体
22655
+
22656
+ """
22657
+
22658
+ def __init__(self):
22659
+ r"""
22660
+ :param _ResourcePackage: <p>计费套餐包用量信息</p>
22661
+ :type ResourcePackage: :class:`tencentcloud.adp.v20260520.models.ResourcePackageInfo`
22662
+ :param _AddOnPackage: <p>计费增值包用量信息</p>
22663
+ :type AddOnPackage: :class:`tencentcloud.adp.v20260520.models.AddOnPackageInfo`
22664
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22665
+ :type RequestId: str
22666
+ """
22667
+ self._ResourcePackage = None
22668
+ self._AddOnPackage = None
22669
+ self._RequestId = None
22670
+
22671
+ @property
22672
+ def ResourcePackage(self):
22673
+ r"""<p>计费套餐包用量信息</p>
22674
+ :rtype: :class:`tencentcloud.adp.v20260520.models.ResourcePackageInfo`
22675
+ """
22676
+ return self._ResourcePackage
22677
+
22678
+ @ResourcePackage.setter
22679
+ def ResourcePackage(self, ResourcePackage):
22680
+ self._ResourcePackage = ResourcePackage
22681
+
22682
+ @property
22683
+ def AddOnPackage(self):
22684
+ r"""<p>计费增值包用量信息</p>
22685
+ :rtype: :class:`tencentcloud.adp.v20260520.models.AddOnPackageInfo`
22686
+ """
22687
+ return self._AddOnPackage
22688
+
22689
+ @AddOnPackage.setter
22690
+ def AddOnPackage(self, AddOnPackage):
22691
+ self._AddOnPackage = AddOnPackage
22692
+
22693
+ @property
22694
+ def RequestId(self):
22695
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22696
+ :rtype: str
22697
+ """
22698
+ return self._RequestId
22699
+
22700
+ @RequestId.setter
22701
+ def RequestId(self, RequestId):
22702
+ self._RequestId = RequestId
22703
+
22704
+
22705
+ def _deserialize(self, params):
22706
+ if params.get("ResourcePackage") is not None:
22707
+ self._ResourcePackage = ResourcePackageInfo()
22708
+ self._ResourcePackage._deserialize(params.get("ResourcePackage"))
22709
+ if params.get("AddOnPackage") is not None:
22710
+ self._AddOnPackage = AddOnPackageInfo()
22711
+ self._AddOnPackage._deserialize(params.get("AddOnPackage"))
22712
+ self._RequestId = params.get("RequestId")
22713
+
22714
+
22263
22715
  class DescribeSkillCategoryListRequest(AbstractModel):
22264
22716
  r"""DescribeSkillCategoryList请求参数结构体
22265
22717
 
@@ -23779,6 +24231,72 @@ class DingTalkChannelConfig(AbstractModel):
23779
24231
 
23780
24232
 
23781
24233
 
24234
+ class Distribution(AbstractModel):
24235
+ r"""回复类型分布项
24236
+
24237
+ """
24238
+
24239
+ def __init__(self):
24240
+ r"""
24241
+ :param _CallCount: <p>该回复方式的调用次数</p>
24242
+ :type CallCount: str
24243
+ :param _Percentage: <p>该回复方式在总调用次数中的占比(百分比,0~100,保留两位小数;无数据时全为 0,有数据时各项之和为 100)</p>
24244
+ :type Percentage: float
24245
+ :param _ReplyName: <p>回复方式名称(已按请求语言国际化;i18n 缺失时兜底为 reply_method 的枚举名)</p>
24246
+ :type ReplyName: str
24247
+ """
24248
+ self._CallCount = None
24249
+ self._Percentage = None
24250
+ self._ReplyName = None
24251
+
24252
+ @property
24253
+ def CallCount(self):
24254
+ r"""<p>该回复方式的调用次数</p>
24255
+ :rtype: str
24256
+ """
24257
+ return self._CallCount
24258
+
24259
+ @CallCount.setter
24260
+ def CallCount(self, CallCount):
24261
+ self._CallCount = CallCount
24262
+
24263
+ @property
24264
+ def Percentage(self):
24265
+ r"""<p>该回复方式在总调用次数中的占比(百分比,0~100,保留两位小数;无数据时全为 0,有数据时各项之和为 100)</p>
24266
+ :rtype: float
24267
+ """
24268
+ return self._Percentage
24269
+
24270
+ @Percentage.setter
24271
+ def Percentage(self, Percentage):
24272
+ self._Percentage = Percentage
24273
+
24274
+ @property
24275
+ def ReplyName(self):
24276
+ r"""<p>回复方式名称(已按请求语言国际化;i18n 缺失时兜底为 reply_method 的枚举名)</p>
24277
+ :rtype: str
24278
+ """
24279
+ return self._ReplyName
24280
+
24281
+ @ReplyName.setter
24282
+ def ReplyName(self, ReplyName):
24283
+ self._ReplyName = ReplyName
24284
+
24285
+
24286
+ def _deserialize(self, params):
24287
+ self._CallCount = params.get("CallCount")
24288
+ self._Percentage = params.get("Percentage")
24289
+ self._ReplyName = params.get("ReplyName")
24290
+ memeber_set = set(params.keys())
24291
+ for name, value in vars(self).items():
24292
+ property_name = name[1:]
24293
+ if property_name in memeber_set:
24294
+ memeber_set.remove(property_name)
24295
+ if len(memeber_set) > 0:
24296
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
24297
+
24298
+
24299
+
23782
24300
  class DocExternalLink(AbstractModel):
23783
24301
  r"""文档外部链接信息
23784
24302
 
@@ -26212,13 +26730,13 @@ class Identity(AbstractModel):
26212
26730
 
26213
26731
  def __init__(self):
26214
26732
  r"""
26215
- :param _Description: <p>描述</p>
26733
+ :param _Description: 描述
26216
26734
  :type Description: str
26217
- :param _Id: <p>数字 ID</p>
26735
+ :param _Id: 数字 ID
26218
26736
  :type Id: str
26219
- :param _Name: <p>名称</p>
26737
+ :param _Name: 名称
26220
26738
  :type Name: str
26221
- :param _StrId: <p>字符串 ID</p>
26739
+ :param _StrId: 字符串 ID
26222
26740
  :type StrId: str
26223
26741
  """
26224
26742
  self._Description = None
@@ -26228,7 +26746,7 @@ class Identity(AbstractModel):
26228
26746
 
26229
26747
  @property
26230
26748
  def Description(self):
26231
- r"""<p>描述</p>
26749
+ r"""描述
26232
26750
  :rtype: str
26233
26751
  """
26234
26752
  return self._Description
@@ -26239,7 +26757,7 @@ class Identity(AbstractModel):
26239
26757
 
26240
26758
  @property
26241
26759
  def Id(self):
26242
- r"""<p>数字 ID</p>
26760
+ r"""数字 ID
26243
26761
  :rtype: str
26244
26762
  """
26245
26763
  return self._Id
@@ -26250,7 +26768,7 @@ class Identity(AbstractModel):
26250
26768
 
26251
26769
  @property
26252
26770
  def Name(self):
26253
- r"""<p>名称</p>
26771
+ r"""名称
26254
26772
  :rtype: str
26255
26773
  """
26256
26774
  return self._Name
@@ -26261,7 +26779,7 @@ class Identity(AbstractModel):
26261
26779
 
26262
26780
  @property
26263
26781
  def StrId(self):
26264
- r"""<p>字符串 ID</p>
26782
+ r"""字符串 ID
26265
26783
  :rtype: str
26266
26784
  """
26267
26785
  return self._StrId
@@ -26888,6 +27406,72 @@ class KBModifyExtendFields(AbstractModel):
26888
27406
 
26889
27407
 
26890
27408
 
27409
+ class KBPermission(AbstractModel):
27410
+ r"""知识库操作权限信息
27411
+
27412
+ """
27413
+
27414
+ def __init__(self):
27415
+ r"""
27416
+ :param _CanDelete: <p>是否可删除</p>
27417
+ :type CanDelete: bool
27418
+ :param _CanEdit: <p>是否可编辑</p>
27419
+ :type CanEdit: bool
27420
+ :param _CanView: <p>是否可查看</p>
27421
+ :type CanView: bool
27422
+ """
27423
+ self._CanDelete = None
27424
+ self._CanEdit = None
27425
+ self._CanView = None
27426
+
27427
+ @property
27428
+ def CanDelete(self):
27429
+ r"""<p>是否可删除</p>
27430
+ :rtype: bool
27431
+ """
27432
+ return self._CanDelete
27433
+
27434
+ @CanDelete.setter
27435
+ def CanDelete(self, CanDelete):
27436
+ self._CanDelete = CanDelete
27437
+
27438
+ @property
27439
+ def CanEdit(self):
27440
+ r"""<p>是否可编辑</p>
27441
+ :rtype: bool
27442
+ """
27443
+ return self._CanEdit
27444
+
27445
+ @CanEdit.setter
27446
+ def CanEdit(self, CanEdit):
27447
+ self._CanEdit = CanEdit
27448
+
27449
+ @property
27450
+ def CanView(self):
27451
+ r"""<p>是否可查看</p>
27452
+ :rtype: bool
27453
+ """
27454
+ return self._CanView
27455
+
27456
+ @CanView.setter
27457
+ def CanView(self, CanView):
27458
+ self._CanView = CanView
27459
+
27460
+
27461
+ def _deserialize(self, params):
27462
+ self._CanDelete = params.get("CanDelete")
27463
+ self._CanEdit = params.get("CanEdit")
27464
+ self._CanView = params.get("CanView")
27465
+ memeber_set = set(params.keys())
27466
+ for name, value in vars(self).items():
27467
+ property_name = name[1:]
27468
+ if property_name in memeber_set:
27469
+ memeber_set.remove(property_name)
27470
+ if len(memeber_set) > 0:
27471
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27472
+
27473
+
27474
+
26891
27475
  class KBRetrievalConfig(AbstractModel):
26892
27476
  r"""单个知识库检索配置
26893
27477
 
@@ -27205,6 +27789,9 @@ class KBSummary(AbstractModel):
27205
27789
  :type LatestOperator: :class:`tencentcloud.adp.v20260520.models.Operator`
27206
27790
  :param _Name: <p>知识库名称</p>
27207
27791
  :type Name: str
27792
+ :param _Permission: <p>操作权限</p>
27793
+ 注意:此字段可能返回 null,表示取不到有效值。
27794
+ :type Permission: :class:`tencentcloud.adp.v20260520.models.KBPermission`
27208
27795
  :param _ProcessingFlagList: <p>处理中状态列表</p>
27209
27796
  :type ProcessingFlagList: list of int
27210
27797
  :param _SharedSubType: <p>共享子类型:1=普通,2=公众号<table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>SHARED_KB_SUB_TYPE_UNKNOWN</td><td>0</td><td></td></tr><tr><td>SHARED_KB_SUB_TYPE_NORMAL</td><td>1</td><td>普通</td></tr><tr><td>SHARED_KB_SUB_TYPE_PUBLIC_ACCOUNT</td><td>2</td><td>公众号</td></tr></tbody></table></p>
@@ -27222,6 +27809,7 @@ class KBSummary(AbstractModel):
27222
27809
  self._KbType = None
27223
27810
  self._LatestOperator = None
27224
27811
  self._Name = None
27812
+ self._Permission = None
27225
27813
  self._ProcessingFlagList = None
27226
27814
  self._SharedSubType = None
27227
27815
  self._UpdateTime = None
@@ -27338,6 +27926,18 @@ class KBSummary(AbstractModel):
27338
27926
  def Name(self, Name):
27339
27927
  self._Name = Name
27340
27928
 
27929
+ @property
27930
+ def Permission(self):
27931
+ r"""<p>操作权限</p>
27932
+ 注意:此字段可能返回 null,表示取不到有效值。
27933
+ :rtype: :class:`tencentcloud.adp.v20260520.models.KBPermission`
27934
+ """
27935
+ return self._Permission
27936
+
27937
+ @Permission.setter
27938
+ def Permission(self, Permission):
27939
+ self._Permission = Permission
27940
+
27341
27941
  @property
27342
27942
  def ProcessingFlagList(self):
27343
27943
  r"""<p>处理中状态列表</p>
@@ -27392,6 +27992,9 @@ class KBSummary(AbstractModel):
27392
27992
  self._LatestOperator = Operator()
27393
27993
  self._LatestOperator._deserialize(params.get("LatestOperator"))
27394
27994
  self._Name = params.get("Name")
27995
+ if params.get("Permission") is not None:
27996
+ self._Permission = KBPermission()
27997
+ self._Permission._deserialize(params.get("Permission"))
27395
27998
  self._ProcessingFlagList = params.get("ProcessingFlagList")
27396
27999
  self._SharedSubType = params.get("SharedSubType")
27397
28000
  self._UpdateTime = params.get("UpdateTime")
@@ -28283,12 +28886,12 @@ class LabelTermCheckResult(AbstractModel):
28283
28886
 
28284
28887
  def __init__(self):
28285
28888
  r"""
28286
- :param _CheckResult: <p>校验结果</p>
28889
+ :param _CheckResult: 校验结果
28287
28890
  注意:此字段可能返回 null,表示取不到有效值。
28288
28891
  :type CheckResult: :class:`tencentcloud.adp.v20260520.models.CheckResult`
28289
- :param _Term: <p>待校验的标准词</p>
28892
+ :param _Term: 待校验的标准词
28290
28893
  :type Term: str
28291
- :param _TermId: <p>已存在时返回对应标准词 ID</p>
28894
+ :param _TermId: 已存在时返回对应标准词 ID
28292
28895
  :type TermId: str
28293
28896
  """
28294
28897
  self._CheckResult = None
@@ -28297,7 +28900,7 @@ class LabelTermCheckResult(AbstractModel):
28297
28900
 
28298
28901
  @property
28299
28902
  def CheckResult(self):
28300
- r"""<p>校验结果</p>
28903
+ r"""校验结果
28301
28904
  注意:此字段可能返回 null,表示取不到有效值。
28302
28905
  :rtype: :class:`tencentcloud.adp.v20260520.models.CheckResult`
28303
28906
  """
@@ -28309,7 +28912,7 @@ class LabelTermCheckResult(AbstractModel):
28309
28912
 
28310
28913
  @property
28311
28914
  def Term(self):
28312
- r"""<p>待校验的标准词</p>
28915
+ r"""待校验的标准词
28313
28916
  :rtype: str
28314
28917
  """
28315
28918
  return self._Term
@@ -28320,7 +28923,7 @@ class LabelTermCheckResult(AbstractModel):
28320
28923
 
28321
28924
  @property
28322
28925
  def TermId(self):
28323
- r"""<p>已存在时返回对应标准词 ID</p>
28926
+ r"""已存在时返回对应标准词 ID
28324
28927
  :rtype: str
28325
28928
  """
28326
28929
  return self._TermId
@@ -29795,35 +30398,37 @@ class ModelParams(AbstractModel):
29795
30398
 
29796
30399
  def __init__(self):
29797
30400
  r"""
29798
- :param _DeepThinking: 是否开启深度思考
30401
+ :param _DeepThinking: <p>是否开启深度思考</p>
29799
30402
  :type DeepThinking: str
29800
- :param _FrequencyPenalty: 频率惩罚
30403
+ :param _FrequencyPenalty: <p>频率惩罚</p>
29801
30404
  注意:此字段可能返回 null,表示取不到有效值。
29802
30405
  :type FrequencyPenalty: float
29803
- :param _MaxTokens: 最大输出长度
30406
+ :param _MaxTokens: <p>最大输出长度</p>
29804
30407
  注意:此字段可能返回 null,表示取不到有效值。
29805
30408
  :type MaxTokens: int
29806
- :param _PresencePenalty: 存在惩罚
30409
+ :param _PresencePenalty: <p>存在惩罚</p>
29807
30410
  注意:此字段可能返回 null,表示取不到有效值。
29808
30411
  :type PresencePenalty: float
29809
- :param _ReasoningEffort: 深度思考效果
30412
+ :param _ReasoningEffort: <p>深度思考效果</p>
29810
30413
  :type ReasoningEffort: str
29811
- :param _RepetitionPenalty: 重复惩罚
30414
+ :param _RepetitionPenalty: <p>重复惩罚</p>
29812
30415
  注意:此字段可能返回 null,表示取不到有效值。
29813
30416
  :type RepetitionPenalty: float
29814
- :param _ReplyFormat: 输出格式(text、json_object)
30417
+ :param _ReplyFormat: <p>输出格式(text、json_object)</p>
29815
30418
  :type ReplyFormat: str
29816
- :param _Seed: seed 随机种子
30419
+ :param _Seed: <p>seed 随机种子</p>
29817
30420
  注意:此字段可能返回 null,表示取不到有效值。
29818
30421
  :type Seed: int
29819
- :param _StopSequenceList: 停止序列
30422
+ :param _StopSequenceList: <p>停止序列</p>
29820
30423
  :type StopSequenceList: list of str
29821
- :param _Temperature: 温度
30424
+ :param _Temperature: <p>温度</p>
29822
30425
  注意:此字段可能返回 null,表示取不到有效值。
29823
30426
  :type Temperature: float
29824
- :param _TopP: top_p
30427
+ :param _TopP: <p>top_p</p>
29825
30428
  注意:此字段可能返回 null,表示取不到有效值。
29826
30429
  :type TopP: float
30430
+ :param _TopK: <p>top_k</p>
30431
+ :type TopK: int
29827
30432
  """
29828
30433
  self._DeepThinking = None
29829
30434
  self._FrequencyPenalty = None
@@ -29836,10 +30441,11 @@ class ModelParams(AbstractModel):
29836
30441
  self._StopSequenceList = None
29837
30442
  self._Temperature = None
29838
30443
  self._TopP = None
30444
+ self._TopK = None
29839
30445
 
29840
30446
  @property
29841
30447
  def DeepThinking(self):
29842
- r"""是否开启深度思考
30448
+ r"""<p>是否开启深度思考</p>
29843
30449
  :rtype: str
29844
30450
  """
29845
30451
  return self._DeepThinking
@@ -29850,7 +30456,7 @@ class ModelParams(AbstractModel):
29850
30456
 
29851
30457
  @property
29852
30458
  def FrequencyPenalty(self):
29853
- r"""频率惩罚
30459
+ r"""<p>频率惩罚</p>
29854
30460
  注意:此字段可能返回 null,表示取不到有效值。
29855
30461
  :rtype: float
29856
30462
  """
@@ -29862,7 +30468,7 @@ class ModelParams(AbstractModel):
29862
30468
 
29863
30469
  @property
29864
30470
  def MaxTokens(self):
29865
- r"""最大输出长度
30471
+ r"""<p>最大输出长度</p>
29866
30472
  注意:此字段可能返回 null,表示取不到有效值。
29867
30473
  :rtype: int
29868
30474
  """
@@ -29874,7 +30480,7 @@ class ModelParams(AbstractModel):
29874
30480
 
29875
30481
  @property
29876
30482
  def PresencePenalty(self):
29877
- r"""存在惩罚
30483
+ r"""<p>存在惩罚</p>
29878
30484
  注意:此字段可能返回 null,表示取不到有效值。
29879
30485
  :rtype: float
29880
30486
  """
@@ -29886,7 +30492,7 @@ class ModelParams(AbstractModel):
29886
30492
 
29887
30493
  @property
29888
30494
  def ReasoningEffort(self):
29889
- r"""深度思考效果
30495
+ r"""<p>深度思考效果</p>
29890
30496
  :rtype: str
29891
30497
  """
29892
30498
  return self._ReasoningEffort
@@ -29897,7 +30503,7 @@ class ModelParams(AbstractModel):
29897
30503
 
29898
30504
  @property
29899
30505
  def RepetitionPenalty(self):
29900
- r"""重复惩罚
30506
+ r"""<p>重复惩罚</p>
29901
30507
  注意:此字段可能返回 null,表示取不到有效值。
29902
30508
  :rtype: float
29903
30509
  """
@@ -29909,7 +30515,7 @@ class ModelParams(AbstractModel):
29909
30515
 
29910
30516
  @property
29911
30517
  def ReplyFormat(self):
29912
- r"""输出格式(text、json_object)
30518
+ r"""<p>输出格式(text、json_object)</p>
29913
30519
  :rtype: str
29914
30520
  """
29915
30521
  return self._ReplyFormat
@@ -29920,7 +30526,7 @@ class ModelParams(AbstractModel):
29920
30526
 
29921
30527
  @property
29922
30528
  def Seed(self):
29923
- r"""seed 随机种子
30529
+ r"""<p>seed 随机种子</p>
29924
30530
  注意:此字段可能返回 null,表示取不到有效值。
29925
30531
  :rtype: int
29926
30532
  """
@@ -29932,7 +30538,7 @@ class ModelParams(AbstractModel):
29932
30538
 
29933
30539
  @property
29934
30540
  def StopSequenceList(self):
29935
- r"""停止序列
30541
+ r"""<p>停止序列</p>
29936
30542
  :rtype: list of str
29937
30543
  """
29938
30544
  return self._StopSequenceList
@@ -29943,7 +30549,7 @@ class ModelParams(AbstractModel):
29943
30549
 
29944
30550
  @property
29945
30551
  def Temperature(self):
29946
- r"""温度
30552
+ r"""<p>温度</p>
29947
30553
  注意:此字段可能返回 null,表示取不到有效值。
29948
30554
  :rtype: float
29949
30555
  """
@@ -29955,7 +30561,7 @@ class ModelParams(AbstractModel):
29955
30561
 
29956
30562
  @property
29957
30563
  def TopP(self):
29958
- r"""top_p
30564
+ r"""<p>top_p</p>
29959
30565
  注意:此字段可能返回 null,表示取不到有效值。
29960
30566
  :rtype: float
29961
30567
  """
@@ -29965,6 +30571,17 @@ class ModelParams(AbstractModel):
29965
30571
  def TopP(self, TopP):
29966
30572
  self._TopP = TopP
29967
30573
 
30574
+ @property
30575
+ def TopK(self):
30576
+ r"""<p>top_k</p>
30577
+ :rtype: int
30578
+ """
30579
+ return self._TopK
30580
+
30581
+ @TopK.setter
30582
+ def TopK(self, TopK):
30583
+ self._TopK = TopK
30584
+
29968
30585
 
29969
30586
  def _deserialize(self, params):
29970
30587
  self._DeepThinking = params.get("DeepThinking")
@@ -29978,6 +30595,7 @@ class ModelParams(AbstractModel):
29978
30595
  self._StopSequenceList = params.get("StopSequenceList")
29979
30596
  self._Temperature = params.get("Temperature")
29980
30597
  self._TopP = params.get("TopP")
30598
+ self._TopK = params.get("TopK")
29981
30599
  memeber_set = set(params.keys())
29982
30600
  for name, value in vars(self).items():
29983
30601
  property_name = name[1:]
@@ -33810,9 +34428,9 @@ class Operator(AbstractModel):
33810
34428
 
33811
34429
  def __init__(self):
33812
34430
  r"""
33813
- :param _UserId: <p>用户 ID</p>
34431
+ :param _UserId: 用户 ID
33814
34432
  :type UserId: str
33815
- :param _UserName: <p>用户姓名</p>
34433
+ :param _UserName: 用户姓名
33816
34434
  :type UserName: str
33817
34435
  """
33818
34436
  self._UserId = None
@@ -33820,7 +34438,7 @@ class Operator(AbstractModel):
33820
34438
 
33821
34439
  @property
33822
34440
  def UserId(self):
33823
- r"""<p>用户 ID</p>
34441
+ r"""用户 ID
33824
34442
  :rtype: str
33825
34443
  """
33826
34444
  return self._UserId
@@ -33831,7 +34449,7 @@ class Operator(AbstractModel):
33831
34449
 
33832
34450
  @property
33833
34451
  def UserName(self):
33834
- r"""<p>用户姓名</p>
34452
+ r"""用户姓名
33835
34453
  :rtype: str
33836
34454
  """
33837
34455
  return self._UserName
@@ -37103,6 +37721,117 @@ class ResourceConsumption(AbstractModel):
37103
37721
 
37104
37722
 
37105
37723
 
37724
+ class ResourcePackageInfo(AbstractModel):
37725
+ r"""计费套餐包用量信息
37726
+
37727
+ """
37728
+
37729
+ def __init__(self):
37730
+ r"""
37731
+ :param _PackageType: <p>套餐类型</p><p>枚举值:</p><ul><li>1: 免费版</li><li>2: 专业版</li><li>3: 企业版</li></ul>
37732
+ :type PackageType: int
37733
+ :param _ResourceTotal: <p>资源包总量</p>
37734
+ :type ResourceTotal: int
37735
+ :param _ResourceUsage: <p>资源包用量</p>
37736
+ :type ResourceUsage: float
37737
+ :param _KnowledgeCapacity: <p>知识库容量</p>
37738
+ :type KnowledgeCapacity: float
37739
+ :param _KnowledgeUsage: <p>知识库用量</p>
37740
+ :type KnowledgeUsage: float
37741
+ :param _ResourceStatus: <p>资源包状态</p><p>枚举值:</p><ul><li>1: 正常</li><li>3: 已到期</li><li>4: 即将到期</li></ul>
37742
+ :type ResourceStatus: int
37743
+ """
37744
+ self._PackageType = None
37745
+ self._ResourceTotal = None
37746
+ self._ResourceUsage = None
37747
+ self._KnowledgeCapacity = None
37748
+ self._KnowledgeUsage = None
37749
+ self._ResourceStatus = None
37750
+
37751
+ @property
37752
+ def PackageType(self):
37753
+ r"""<p>套餐类型</p><p>枚举值:</p><ul><li>1: 免费版</li><li>2: 专业版</li><li>3: 企业版</li></ul>
37754
+ :rtype: int
37755
+ """
37756
+ return self._PackageType
37757
+
37758
+ @PackageType.setter
37759
+ def PackageType(self, PackageType):
37760
+ self._PackageType = PackageType
37761
+
37762
+ @property
37763
+ def ResourceTotal(self):
37764
+ r"""<p>资源包总量</p>
37765
+ :rtype: int
37766
+ """
37767
+ return self._ResourceTotal
37768
+
37769
+ @ResourceTotal.setter
37770
+ def ResourceTotal(self, ResourceTotal):
37771
+ self._ResourceTotal = ResourceTotal
37772
+
37773
+ @property
37774
+ def ResourceUsage(self):
37775
+ r"""<p>资源包用量</p>
37776
+ :rtype: float
37777
+ """
37778
+ return self._ResourceUsage
37779
+
37780
+ @ResourceUsage.setter
37781
+ def ResourceUsage(self, ResourceUsage):
37782
+ self._ResourceUsage = ResourceUsage
37783
+
37784
+ @property
37785
+ def KnowledgeCapacity(self):
37786
+ r"""<p>知识库容量</p>
37787
+ :rtype: float
37788
+ """
37789
+ return self._KnowledgeCapacity
37790
+
37791
+ @KnowledgeCapacity.setter
37792
+ def KnowledgeCapacity(self, KnowledgeCapacity):
37793
+ self._KnowledgeCapacity = KnowledgeCapacity
37794
+
37795
+ @property
37796
+ def KnowledgeUsage(self):
37797
+ r"""<p>知识库用量</p>
37798
+ :rtype: float
37799
+ """
37800
+ return self._KnowledgeUsage
37801
+
37802
+ @KnowledgeUsage.setter
37803
+ def KnowledgeUsage(self, KnowledgeUsage):
37804
+ self._KnowledgeUsage = KnowledgeUsage
37805
+
37806
+ @property
37807
+ def ResourceStatus(self):
37808
+ r"""<p>资源包状态</p><p>枚举值:</p><ul><li>1: 正常</li><li>3: 已到期</li><li>4: 即将到期</li></ul>
37809
+ :rtype: int
37810
+ """
37811
+ return self._ResourceStatus
37812
+
37813
+ @ResourceStatus.setter
37814
+ def ResourceStatus(self, ResourceStatus):
37815
+ self._ResourceStatus = ResourceStatus
37816
+
37817
+
37818
+ def _deserialize(self, params):
37819
+ self._PackageType = params.get("PackageType")
37820
+ self._ResourceTotal = params.get("ResourceTotal")
37821
+ self._ResourceUsage = params.get("ResourceUsage")
37822
+ self._KnowledgeCapacity = params.get("KnowledgeCapacity")
37823
+ self._KnowledgeUsage = params.get("KnowledgeUsage")
37824
+ self._ResourceStatus = params.get("ResourceStatus")
37825
+ memeber_set = set(params.keys())
37826
+ for name, value in vars(self).items():
37827
+ property_name = name[1:]
37828
+ if property_name in memeber_set:
37829
+ memeber_set.remove(property_name)
37830
+ if len(memeber_set) > 0:
37831
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
37832
+
37833
+
37834
+
37106
37835
  class ResponseParam(AbstractModel):
37107
37836
  r"""ResponseParam
37108
37837
 
@@ -42243,7 +42972,7 @@ class ViewScope(AbstractModel):
42243
42972
 
42244
42973
  def __init__(self):
42245
42974
  r"""
42246
- :param _ViewType: <p>视图类型;枚举值:VIEW_TYPE_CORP(1) 企业视图、VIEW_TYPE_SPACE(2) 空间视图、VIEW_TYPE_APP(3) 应用视图</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>VIEW_TYPE_UNSPECIFIED</td><td>0</td><td>未指定(无效值,请求勿传)</td></tr><tr><td>VIEW_TYPE_CORP</td><td>1</td><td>企业视图</td></tr><tr><td>VIEW_TYPE_SPACE</td><td>2</td><td>空间视图</td></tr><tr><td>VIEW_TYPE_APP</td><td>3</td><td>应用视图</td></tr></tbody></table>
42975
+ :param _ViewType: <p>视图类型;枚举值:VIEW_TYPE_CORP(1) 企业视图、VIEW_TYPE_SPACE(2) 空间视图、VIEW_TYPE_APP(3) 应用视图</p><table><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>VIEW_TYPE_UNSPECIFIED</td><td>0</td><td>未指定(无效值,请求勿传)</td></tr><tr><td>VIEW_TYPE_CORP</td><td>1</td><td>企业视图</td></tr><tr><td>VIEW_TYPE_SPACE</td><td>2</td><td>空间视图</td></tr><tr><td>VIEW_TYPE_APP</td><td>3</td><td>应用视图</td></tr></table>
42247
42976
  :type ViewType: int
42248
42977
  :param _ScopeId: <p>视图范围 ID;VIEW_TYPE_CORP 留空;VIEW_TYPE_SPACE 填 space_id;VIEW_TYPE_APP 填 app_id(uint64 雪花 ID 的十进制字符串)</p>
42249
42978
  :type ScopeId: str
@@ -42253,7 +42982,7 @@ class ViewScope(AbstractModel):
42253
42982
 
42254
42983
  @property
42255
42984
  def ViewType(self):
42256
- r"""<p>视图类型;枚举值:VIEW_TYPE_CORP(1) 企业视图、VIEW_TYPE_SPACE(2) 空间视图、VIEW_TYPE_APP(3) 应用视图</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>VIEW_TYPE_UNSPECIFIED</td><td>0</td><td>未指定(无效值,请求勿传)</td></tr><tr><td>VIEW_TYPE_CORP</td><td>1</td><td>企业视图</td></tr><tr><td>VIEW_TYPE_SPACE</td><td>2</td><td>空间视图</td></tr><tr><td>VIEW_TYPE_APP</td><td>3</td><td>应用视图</td></tr></tbody></table>
42985
+ r"""<p>视图类型;枚举值:VIEW_TYPE_CORP(1) 企业视图、VIEW_TYPE_SPACE(2) 空间视图、VIEW_TYPE_APP(3) 应用视图</p><table><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>VIEW_TYPE_UNSPECIFIED</td><td>0</td><td>未指定(无效值,请求勿传)</td></tr><tr><td>VIEW_TYPE_CORP</td><td>1</td><td>企业视图</td></tr><tr><td>VIEW_TYPE_SPACE</td><td>2</td><td>空间视图</td></tr><tr><td>VIEW_TYPE_APP</td><td>3</td><td>应用视图</td></tr></table>
42257
42986
  :rtype: int
42258
42987
  """
42259
42988
  return self._ViewType
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-adp
3
- Version: 3.1.176
3
+ Version: 3.1.178
4
4
  Summary: Tencent Cloud Adp 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.176
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.178
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.178
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.176