tencentcloud-sdk-python-adp 3.1.199__tar.gz → 3.1.205__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.
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/setup.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud/adp/v20260520/models.py +381 -42
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_adp-3.1.205/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_adp-3.1.199/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/README.rst +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/setup.cfg +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud/adp/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud/adp/v20260520/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud/adp/v20260520/adp_client.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud/adp/v20260520/adp_client_async.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud/adp/v20260520/errorcodes.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.199 → tencentcloud_sdk_python_adp-3.1.205}/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.
|
|
3
|
+
Version: 3.1.205
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.205,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Adp SDK for Python',
|
|
@@ -18,6 +18,42 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class A2AConfig(AbstractModel):
|
|
22
|
+
r"""A2AConfig
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _Enabled: <p>企业共享开关</p>
|
|
29
|
+
:type Enabled: bool
|
|
30
|
+
"""
|
|
31
|
+
self._Enabled = None
|
|
32
|
+
|
|
33
|
+
@property
|
|
34
|
+
def Enabled(self):
|
|
35
|
+
r"""<p>企业共享开关</p>
|
|
36
|
+
:rtype: bool
|
|
37
|
+
"""
|
|
38
|
+
return self._Enabled
|
|
39
|
+
|
|
40
|
+
@Enabled.setter
|
|
41
|
+
def Enabled(self, Enabled):
|
|
42
|
+
self._Enabled = Enabled
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _deserialize(self, params):
|
|
46
|
+
self._Enabled = params.get("Enabled")
|
|
47
|
+
memeber_set = set(params.keys())
|
|
48
|
+
for name, value in vars(self).items():
|
|
49
|
+
property_name = name[1:]
|
|
50
|
+
if property_name in memeber_set:
|
|
51
|
+
memeber_set.remove(property_name)
|
|
52
|
+
if len(memeber_set) > 0:
|
|
53
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
21
57
|
class AICallConfig(AbstractModel):
|
|
22
58
|
r"""智能通话配置
|
|
23
59
|
|
|
@@ -953,7 +989,7 @@ class AgentInput(AbstractModel):
|
|
|
953
989
|
|
|
954
990
|
def __init__(self):
|
|
955
991
|
r"""
|
|
956
|
-
:param _InputType: <p
|
|
992
|
+
:param _InputType: <p>输入来源类型</p><p>枚举值:</p><ul><li>1: 用户输入</li><li>2: 系统变量</li><li>3: 自定义变量(API参数)</li><li>4: 环境变量</li><li>5: 应用变量</li><li>6: 工具参数</li></ul>
|
|
957
993
|
:type InputType: int
|
|
958
994
|
:param _UserInputValue: <p>用户手写输入</p>
|
|
959
995
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -977,7 +1013,7 @@ class AgentInput(AbstractModel):
|
|
|
977
1013
|
|
|
978
1014
|
@property
|
|
979
1015
|
def InputType(self):
|
|
980
|
-
r"""<p
|
|
1016
|
+
r"""<p>输入来源类型</p><p>枚举值:</p><ul><li>1: 用户输入</li><li>2: 系统变量</li><li>3: 自定义变量(API参数)</li><li>4: 环境变量</li><li>5: 应用变量</li><li>6: 工具参数</li></ul>
|
|
981
1017
|
:rtype: int
|
|
982
1018
|
"""
|
|
983
1019
|
return self._InputType
|
|
@@ -3412,6 +3448,9 @@ class App(AbstractModel):
|
|
|
3412
3448
|
:param _FileVolumeMountList: <p>应用挂载云盘</p>
|
|
3413
3449
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3414
3450
|
:type FileVolumeMountList: list of FileVolumeMount
|
|
3451
|
+
:param _A2AConfig: <p>A2A配置</p>
|
|
3452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3453
|
+
:type A2AConfig: :class:`tencentcloud.adp.v20260520.models.A2AConfig`
|
|
3415
3454
|
"""
|
|
3416
3455
|
self._AuxiliaryInfo = None
|
|
3417
3456
|
self._Config = None
|
|
@@ -3423,6 +3462,7 @@ class App(AbstractModel):
|
|
|
3423
3462
|
self._SharedKbList = None
|
|
3424
3463
|
self._PortalShareConfig = None
|
|
3425
3464
|
self._FileVolumeMountList = None
|
|
3465
|
+
self._A2AConfig = None
|
|
3426
3466
|
|
|
3427
3467
|
@property
|
|
3428
3468
|
def AuxiliaryInfo(self):
|
|
@@ -3544,6 +3584,18 @@ class App(AbstractModel):
|
|
|
3544
3584
|
def FileVolumeMountList(self, FileVolumeMountList):
|
|
3545
3585
|
self._FileVolumeMountList = FileVolumeMountList
|
|
3546
3586
|
|
|
3587
|
+
@property
|
|
3588
|
+
def A2AConfig(self):
|
|
3589
|
+
r"""<p>A2A配置</p>
|
|
3590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3591
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.A2AConfig`
|
|
3592
|
+
"""
|
|
3593
|
+
return self._A2AConfig
|
|
3594
|
+
|
|
3595
|
+
@A2AConfig.setter
|
|
3596
|
+
def A2AConfig(self, A2AConfig):
|
|
3597
|
+
self._A2AConfig = A2AConfig
|
|
3598
|
+
|
|
3547
3599
|
|
|
3548
3600
|
def _deserialize(self, params):
|
|
3549
3601
|
if params.get("AuxiliaryInfo") is not None:
|
|
@@ -3582,6 +3634,9 @@ class App(AbstractModel):
|
|
|
3582
3634
|
obj = FileVolumeMount()
|
|
3583
3635
|
obj._deserialize(item)
|
|
3584
3636
|
self._FileVolumeMountList.append(obj)
|
|
3637
|
+
if params.get("A2AConfig") is not None:
|
|
3638
|
+
self._A2AConfig = A2AConfig()
|
|
3639
|
+
self._A2AConfig._deserialize(params.get("A2AConfig"))
|
|
3585
3640
|
memeber_set = set(params.keys())
|
|
3586
3641
|
for name, value in vars(self).items():
|
|
3587
3642
|
property_name = name[1:]
|
|
@@ -8161,6 +8216,12 @@ class CallSource(AbstractModel):
|
|
|
8161
8216
|
|
|
8162
8217
|
def __init__(self):
|
|
8163
8218
|
r"""
|
|
8219
|
+
:param _DeploymentUuid: <p>环境 UUID(来源于上报字段 channel_uuid);公有云可为空,不能用 deployment_type 替代</p>
|
|
8220
|
+
:type DeploymentUuid: str
|
|
8221
|
+
:param _SpaceId: <p>空间 ID</p>
|
|
8222
|
+
:type SpaceId: str
|
|
8223
|
+
:param _SpaceName: <p>空间名称;空间不存在或查询失败时为空</p>
|
|
8224
|
+
:type SpaceName: str
|
|
8164
8225
|
:param _SubjectId: <p>调用主体 ID,含义由 subject_type 决定(如 app_id、kb_id 等)</p>
|
|
8165
8226
|
:type SubjectId: str
|
|
8166
8227
|
:param _SubjectName: <p>调用主体名称</p>
|
|
@@ -8168,10 +8229,46 @@ class CallSource(AbstractModel):
|
|
|
8168
8229
|
:param _SubjectType: <p>调用主体类型:APP/KB/WIDGET/OPEN_CLAW/KB_RECALL_TEST/WORKBENCH/MODEL_API</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>METRIC_SOURCE_TYPE_UNSPECIFIED</td><td>0</td><td></td></tr><tr><td>METRIC_SOURCE_TYPE_APP</td><td>1</td><td>应用开发</td></tr><tr><td>METRIC_SOURCE_TYPE_KB</td><td>2</td><td>知识库</td></tr><tr><td>METRIC_SOURCE_TYPE_WIDGET</td><td>3</td><td>Widget</td></tr><tr><td>METRIC_SOURCE_TYPE_OPEN_CLAW</td><td>4</td><td>ClawPro</td></tr><tr><td>METRIC_SOURCE_TYPE_KB_RECALL_TEST</td><td>5</td><td>知识库召回测试</td></tr><tr><td>METRIC_SOURCE_TYPE_WORKBENCH</td><td>6</td><td>智能工作台</td></tr><tr><td>METRIC_SOURCE_TYPE_MODEL_API</td><td>7</td><td>模型 API 调用</td></tr></tbody></table>
|
|
8169
8230
|
:type SubjectType: int
|
|
8170
8231
|
"""
|
|
8232
|
+
self._DeploymentUuid = None
|
|
8233
|
+
self._SpaceId = None
|
|
8234
|
+
self._SpaceName = None
|
|
8171
8235
|
self._SubjectId = None
|
|
8172
8236
|
self._SubjectName = None
|
|
8173
8237
|
self._SubjectType = None
|
|
8174
8238
|
|
|
8239
|
+
@property
|
|
8240
|
+
def DeploymentUuid(self):
|
|
8241
|
+
r"""<p>环境 UUID(来源于上报字段 channel_uuid);公有云可为空,不能用 deployment_type 替代</p>
|
|
8242
|
+
:rtype: str
|
|
8243
|
+
"""
|
|
8244
|
+
return self._DeploymentUuid
|
|
8245
|
+
|
|
8246
|
+
@DeploymentUuid.setter
|
|
8247
|
+
def DeploymentUuid(self, DeploymentUuid):
|
|
8248
|
+
self._DeploymentUuid = DeploymentUuid
|
|
8249
|
+
|
|
8250
|
+
@property
|
|
8251
|
+
def SpaceId(self):
|
|
8252
|
+
r"""<p>空间 ID</p>
|
|
8253
|
+
:rtype: str
|
|
8254
|
+
"""
|
|
8255
|
+
return self._SpaceId
|
|
8256
|
+
|
|
8257
|
+
@SpaceId.setter
|
|
8258
|
+
def SpaceId(self, SpaceId):
|
|
8259
|
+
self._SpaceId = SpaceId
|
|
8260
|
+
|
|
8261
|
+
@property
|
|
8262
|
+
def SpaceName(self):
|
|
8263
|
+
r"""<p>空间名称;空间不存在或查询失败时为空</p>
|
|
8264
|
+
:rtype: str
|
|
8265
|
+
"""
|
|
8266
|
+
return self._SpaceName
|
|
8267
|
+
|
|
8268
|
+
@SpaceName.setter
|
|
8269
|
+
def SpaceName(self, SpaceName):
|
|
8270
|
+
self._SpaceName = SpaceName
|
|
8271
|
+
|
|
8175
8272
|
@property
|
|
8176
8273
|
def SubjectId(self):
|
|
8177
8274
|
r"""<p>调用主体 ID,含义由 subject_type 决定(如 app_id、kb_id 等)</p>
|
|
@@ -8207,6 +8304,9 @@ class CallSource(AbstractModel):
|
|
|
8207
8304
|
|
|
8208
8305
|
|
|
8209
8306
|
def _deserialize(self, params):
|
|
8307
|
+
self._DeploymentUuid = params.get("DeploymentUuid")
|
|
8308
|
+
self._SpaceId = params.get("SpaceId")
|
|
8309
|
+
self._SpaceName = params.get("SpaceName")
|
|
8210
8310
|
self._SubjectId = params.get("SubjectId")
|
|
8211
8311
|
self._SubjectName = params.get("SubjectName")
|
|
8212
8312
|
self._SubjectType = params.get("SubjectType")
|
|
@@ -14034,6 +14134,8 @@ class CreateReleaseRequest(AbstractModel):
|
|
|
14034
14134
|
:type IsPublishAsTemplate: bool
|
|
14035
14135
|
:param _PortalShareConfig: <p>portal配置</p>
|
|
14036
14136
|
:type PortalShareConfig: :class:`tencentcloud.adp.v20260520.models.PortalShareConfig`
|
|
14137
|
+
:param _A2AConfig: <p>A2A配置</p>
|
|
14138
|
+
:type A2AConfig: :class:`tencentcloud.adp.v20260520.models.A2AConfig`
|
|
14037
14139
|
"""
|
|
14038
14140
|
self._AppId = None
|
|
14039
14141
|
self._AppShareAccessControl = None
|
|
@@ -14043,6 +14145,7 @@ class CreateReleaseRequest(AbstractModel):
|
|
|
14043
14145
|
self._IsDevToRelease = None
|
|
14044
14146
|
self._IsPublishAsTemplate = None
|
|
14045
14147
|
self._PortalShareConfig = None
|
|
14148
|
+
self._A2AConfig = None
|
|
14046
14149
|
|
|
14047
14150
|
@property
|
|
14048
14151
|
def AppId(self):
|
|
@@ -14132,6 +14235,17 @@ class CreateReleaseRequest(AbstractModel):
|
|
|
14132
14235
|
def PortalShareConfig(self, PortalShareConfig):
|
|
14133
14236
|
self._PortalShareConfig = PortalShareConfig
|
|
14134
14237
|
|
|
14238
|
+
@property
|
|
14239
|
+
def A2AConfig(self):
|
|
14240
|
+
r"""<p>A2A配置</p>
|
|
14241
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.A2AConfig`
|
|
14242
|
+
"""
|
|
14243
|
+
return self._A2AConfig
|
|
14244
|
+
|
|
14245
|
+
@A2AConfig.setter
|
|
14246
|
+
def A2AConfig(self, A2AConfig):
|
|
14247
|
+
self._A2AConfig = A2AConfig
|
|
14248
|
+
|
|
14135
14249
|
|
|
14136
14250
|
def _deserialize(self, params):
|
|
14137
14251
|
self._AppId = params.get("AppId")
|
|
@@ -14148,6 +14262,9 @@ class CreateReleaseRequest(AbstractModel):
|
|
|
14148
14262
|
if params.get("PortalShareConfig") is not None:
|
|
14149
14263
|
self._PortalShareConfig = PortalShareConfig()
|
|
14150
14264
|
self._PortalShareConfig._deserialize(params.get("PortalShareConfig"))
|
|
14265
|
+
if params.get("A2AConfig") is not None:
|
|
14266
|
+
self._A2AConfig = A2AConfig()
|
|
14267
|
+
self._A2AConfig._deserialize(params.get("A2AConfig"))
|
|
14151
14268
|
memeber_set = set(params.keys())
|
|
14152
14269
|
for name, value in vars(self).items():
|
|
14153
14270
|
property_name = name[1:]
|
|
@@ -17836,7 +17953,7 @@ class DescribeAppRequest(AbstractModel):
|
|
|
17836
17953
|
:type AppId: str
|
|
17837
17954
|
:param _Domain: <p>应用域: ADP_DOMAIN_DEV(1)=开发域, ADP_DOMAIN_PROD(2)=发布域。枚举值: 1:开发域, 2:生产域</p>
|
|
17838
17955
|
:type Domain: int
|
|
17839
|
-
:param _FieldMask: <p>字段掩码,指定需要返回的字段(Paths为空则返回所有字段)。Paths枚举值:AppConfig(应用配置), SecretInfo(应用密钥信息), ShareUrlInfo(分享链接信息), SpecialStatusInfo(特殊状态信息), SearchResourceStatus(搜索资源状态), SharedKbList(应用引用的共享知识库列表),CorpShareConfig(企业共享配置), FileVolumeMountList(云盘挂载列表)</p>
|
|
17956
|
+
:param _FieldMask: <p>字段掩码,指定需要返回的字段(Paths为空则返回所有字段)。Paths枚举值:AppConfig(应用配置), SecretInfo(应用密钥信息), ShareUrlInfo(分享链接信息), SpecialStatusInfo(特殊状态信息), SearchResourceStatus(搜索资源状态), SharedKbList(应用引用的共享知识库列表),CorpShareConfig(企业共享配置), FileVolumeMountList(云盘挂载列表), A2AConfig(A2A启用配置)</p>
|
|
17840
17957
|
:type FieldMask: :class:`tencentcloud.adp.v20260520.models.FieldMask`
|
|
17841
17958
|
:param _StatusType: <p>特殊状态类型(当FieldMask包含SpecialStatusInfo时必填)。枚举值: 1:回滚状态, 2:首次导入状态</p>
|
|
17842
17959
|
:type StatusType: int
|
|
@@ -17870,7 +17987,7 @@ class DescribeAppRequest(AbstractModel):
|
|
|
17870
17987
|
|
|
17871
17988
|
@property
|
|
17872
17989
|
def FieldMask(self):
|
|
17873
|
-
r"""<p>字段掩码,指定需要返回的字段(Paths为空则返回所有字段)。Paths枚举值:AppConfig(应用配置), SecretInfo(应用密钥信息), ShareUrlInfo(分享链接信息), SpecialStatusInfo(特殊状态信息), SearchResourceStatus(搜索资源状态), SharedKbList(应用引用的共享知识库列表),CorpShareConfig(企业共享配置), FileVolumeMountList(云盘挂载列表)</p>
|
|
17990
|
+
r"""<p>字段掩码,指定需要返回的字段(Paths为空则返回所有字段)。Paths枚举值:AppConfig(应用配置), SecretInfo(应用密钥信息), ShareUrlInfo(分享链接信息), SpecialStatusInfo(特殊状态信息), SearchResourceStatus(搜索资源状态), SharedKbList(应用引用的共享知识库列表),CorpShareConfig(企业共享配置), FileVolumeMountList(云盘挂载列表), A2AConfig(A2A启用配置)</p>
|
|
17874
17991
|
:rtype: :class:`tencentcloud.adp.v20260520.models.FieldMask`
|
|
17875
17992
|
"""
|
|
17876
17993
|
return self._FieldMask
|
|
@@ -22332,7 +22449,7 @@ class DescribeMetricOverviewListRequest(AbstractModel):
|
|
|
22332
22449
|
|
|
22333
22450
|
def __init__(self):
|
|
22334
22451
|
r"""
|
|
22335
|
-
:param _ResourceType: <p>看板域,必填,决定返回哪个域的 KPI 数据</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>RESOURCE_TYPE_UNSPECIFIED</td><td>0</td><td></td></tr><tr><td>RESOURCE_TYPE_MODEL</td><td>1</td><td>模型用量</td></tr><tr><td>RESOURCE_TYPE_PLUGIN</td><td>2</td><td
|
|
22452
|
+
:param _ResourceType: <p>看板域,必填,决定返回哪个域的 KPI 数据</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>RESOURCE_TYPE_UNSPECIFIED</td><td>0</td><td></td></tr><tr><td>RESOURCE_TYPE_MODEL</td><td>1</td><td>模型用量</td></tr><tr><td>RESOURCE_TYPE_PLUGIN</td><td>2</td><td>插件用量(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_PLATFORM</td><td>3</td><td>平台功能用量(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_MODEL_CONCURRENCY</td><td>4</td><td>模型并发超限(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_KB_CAPACITY</td><td>5</td><td>知识库容量(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_USAGE_SUMMARY</td><td>6</td><td>用量汇总(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_RESOURCE_CONSUME</td><td>7</td><td>资源消耗(计费明细)(预留,暂不支持)</td></tr></tbody></table>
|
|
22336
22453
|
:type ResourceType: int
|
|
22337
22454
|
:param _TimeRange: <p>查询时间范围(Unix 秒)</p>
|
|
22338
22455
|
:type TimeRange: :class:`tencentcloud.adp.v20260520.models.TimeRange`
|
|
@@ -22340,15 +22457,18 @@ class DescribeMetricOverviewListRequest(AbstractModel):
|
|
|
22340
22457
|
:type ViewScope: :class:`tencentcloud.adp.v20260520.models.ViewScope`
|
|
22341
22458
|
:param _FilterList: <p>扩展过滤(resource_type=MODEL)。Filter 组合规则:多项 AND,同项 value_list OR。支持 Name:model_name(模型名)、user_id(用户ID)、space_id(空间ID)、resource_id/source_id(来源ID)、metric_source_type(METRIC_SOURCE_TYPE_* 枚举名或整数)</p>
|
|
22342
22459
|
:type FilterList: list of Filter
|
|
22460
|
+
:param _SpaceId: <p>空间 ID,用于服务端校验当前用户的空间权限;空间或应用视图需传入,企业视图可不传。VIEW_TYPE_SPACE 时应与 ViewScope.ScopeId 一致,VIEW_TYPE_APP 时须校验应用归属该空间;与 FilterList 的 space_id 同传须一致。服务端不得仅凭请求中的 SpaceId 授权</p>
|
|
22461
|
+
:type SpaceId: str
|
|
22343
22462
|
"""
|
|
22344
22463
|
self._ResourceType = None
|
|
22345
22464
|
self._TimeRange = None
|
|
22346
22465
|
self._ViewScope = None
|
|
22347
22466
|
self._FilterList = None
|
|
22467
|
+
self._SpaceId = None
|
|
22348
22468
|
|
|
22349
22469
|
@property
|
|
22350
22470
|
def ResourceType(self):
|
|
22351
|
-
r"""<p>看板域,必填,决定返回哪个域的 KPI 数据</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>RESOURCE_TYPE_UNSPECIFIED</td><td>0</td><td></td></tr><tr><td>RESOURCE_TYPE_MODEL</td><td>1</td><td>模型用量</td></tr><tr><td>RESOURCE_TYPE_PLUGIN</td><td>2</td><td
|
|
22471
|
+
r"""<p>看板域,必填,决定返回哪个域的 KPI 数据</p><table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>RESOURCE_TYPE_UNSPECIFIED</td><td>0</td><td></td></tr><tr><td>RESOURCE_TYPE_MODEL</td><td>1</td><td>模型用量</td></tr><tr><td>RESOURCE_TYPE_PLUGIN</td><td>2</td><td>插件用量(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_PLATFORM</td><td>3</td><td>平台功能用量(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_MODEL_CONCURRENCY</td><td>4</td><td>模型并发超限(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_KB_CAPACITY</td><td>5</td><td>知识库容量(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_USAGE_SUMMARY</td><td>6</td><td>用量汇总(预留,暂不支持)</td></tr><tr><td>RESOURCE_TYPE_RESOURCE_CONSUME</td><td>7</td><td>资源消耗(计费明细)(预留,暂不支持)</td></tr></tbody></table>
|
|
22352
22472
|
:rtype: int
|
|
22353
22473
|
"""
|
|
22354
22474
|
return self._ResourceType
|
|
@@ -22390,6 +22510,17 @@ class DescribeMetricOverviewListRequest(AbstractModel):
|
|
|
22390
22510
|
def FilterList(self, FilterList):
|
|
22391
22511
|
self._FilterList = FilterList
|
|
22392
22512
|
|
|
22513
|
+
@property
|
|
22514
|
+
def SpaceId(self):
|
|
22515
|
+
r"""<p>空间 ID,用于服务端校验当前用户的空间权限;空间或应用视图需传入,企业视图可不传。VIEW_TYPE_SPACE 时应与 ViewScope.ScopeId 一致,VIEW_TYPE_APP 时须校验应用归属该空间;与 FilterList 的 space_id 同传须一致。服务端不得仅凭请求中的 SpaceId 授权</p>
|
|
22516
|
+
:rtype: str
|
|
22517
|
+
"""
|
|
22518
|
+
return self._SpaceId
|
|
22519
|
+
|
|
22520
|
+
@SpaceId.setter
|
|
22521
|
+
def SpaceId(self, SpaceId):
|
|
22522
|
+
self._SpaceId = SpaceId
|
|
22523
|
+
|
|
22393
22524
|
|
|
22394
22525
|
def _deserialize(self, params):
|
|
22395
22526
|
self._ResourceType = params.get("ResourceType")
|
|
@@ -22405,6 +22536,7 @@ class DescribeMetricOverviewListRequest(AbstractModel):
|
|
|
22405
22536
|
obj = Filter()
|
|
22406
22537
|
obj._deserialize(item)
|
|
22407
22538
|
self._FilterList.append(obj)
|
|
22539
|
+
self._SpaceId = params.get("SpaceId")
|
|
22408
22540
|
memeber_set = set(params.keys())
|
|
22409
22541
|
for name, value in vars(self).items():
|
|
22410
22542
|
property_name = name[1:]
|
|
@@ -25002,6 +25134,8 @@ class DescribeUsageDetailListRequest(AbstractModel):
|
|
|
25002
25134
|
:type PageNumber: int
|
|
25003
25135
|
:param _PageSize: <p>每页数量,最大 100</p>
|
|
25004
25136
|
:type PageSize: int
|
|
25137
|
+
:param _SpaceId: <p>空间 ID;空间或应用视图必传,由服务端校验空间权限</p>
|
|
25138
|
+
:type SpaceId: str
|
|
25005
25139
|
"""
|
|
25006
25140
|
self._ResourceType = None
|
|
25007
25141
|
self._TimeRange = None
|
|
@@ -25009,6 +25143,7 @@ class DescribeUsageDetailListRequest(AbstractModel):
|
|
|
25009
25143
|
self._FilterList = None
|
|
25010
25144
|
self._PageNumber = None
|
|
25011
25145
|
self._PageSize = None
|
|
25146
|
+
self._SpaceId = None
|
|
25012
25147
|
|
|
25013
25148
|
@property
|
|
25014
25149
|
def ResourceType(self):
|
|
@@ -25076,6 +25211,17 @@ class DescribeUsageDetailListRequest(AbstractModel):
|
|
|
25076
25211
|
def PageSize(self, PageSize):
|
|
25077
25212
|
self._PageSize = PageSize
|
|
25078
25213
|
|
|
25214
|
+
@property
|
|
25215
|
+
def SpaceId(self):
|
|
25216
|
+
r"""<p>空间 ID;空间或应用视图必传,由服务端校验空间权限</p>
|
|
25217
|
+
:rtype: str
|
|
25218
|
+
"""
|
|
25219
|
+
return self._SpaceId
|
|
25220
|
+
|
|
25221
|
+
@SpaceId.setter
|
|
25222
|
+
def SpaceId(self, SpaceId):
|
|
25223
|
+
self._SpaceId = SpaceId
|
|
25224
|
+
|
|
25079
25225
|
|
|
25080
25226
|
def _deserialize(self, params):
|
|
25081
25227
|
self._ResourceType = params.get("ResourceType")
|
|
@@ -25093,6 +25239,7 @@ class DescribeUsageDetailListRequest(AbstractModel):
|
|
|
25093
25239
|
self._FilterList.append(obj)
|
|
25094
25240
|
self._PageNumber = params.get("PageNumber")
|
|
25095
25241
|
self._PageSize = params.get("PageSize")
|
|
25242
|
+
self._SpaceId = params.get("SpaceId")
|
|
25096
25243
|
memeber_set = set(params.keys())
|
|
25097
25244
|
for name, value in vars(self).items():
|
|
25098
25245
|
property_name = name[1:]
|
|
@@ -25185,6 +25332,8 @@ class DescribeUsageSummaryListRequest(AbstractModel):
|
|
|
25185
25332
|
:type PageNumber: int
|
|
25186
25333
|
:param _PageSize: <p>每页数量,最大 100</p>
|
|
25187
25334
|
:type PageSize: int
|
|
25335
|
+
:param _SpaceId: <p>空间 ID,空间或应用视图必传;服务端据登录态校验空间权限</p>
|
|
25336
|
+
:type SpaceId: str
|
|
25188
25337
|
"""
|
|
25189
25338
|
self._ResourceType = None
|
|
25190
25339
|
self._TimeRange = None
|
|
@@ -25192,6 +25341,7 @@ class DescribeUsageSummaryListRequest(AbstractModel):
|
|
|
25192
25341
|
self._FilterList = None
|
|
25193
25342
|
self._PageNumber = None
|
|
25194
25343
|
self._PageSize = None
|
|
25344
|
+
self._SpaceId = None
|
|
25195
25345
|
|
|
25196
25346
|
@property
|
|
25197
25347
|
def ResourceType(self):
|
|
@@ -25259,6 +25409,17 @@ class DescribeUsageSummaryListRequest(AbstractModel):
|
|
|
25259
25409
|
def PageSize(self, PageSize):
|
|
25260
25410
|
self._PageSize = PageSize
|
|
25261
25411
|
|
|
25412
|
+
@property
|
|
25413
|
+
def SpaceId(self):
|
|
25414
|
+
r"""<p>空间 ID,空间或应用视图必传;服务端据登录态校验空间权限</p>
|
|
25415
|
+
:rtype: str
|
|
25416
|
+
"""
|
|
25417
|
+
return self._SpaceId
|
|
25418
|
+
|
|
25419
|
+
@SpaceId.setter
|
|
25420
|
+
def SpaceId(self, SpaceId):
|
|
25421
|
+
self._SpaceId = SpaceId
|
|
25422
|
+
|
|
25262
25423
|
|
|
25263
25424
|
def _deserialize(self, params):
|
|
25264
25425
|
self._ResourceType = params.get("ResourceType")
|
|
@@ -25276,6 +25437,7 @@ class DescribeUsageSummaryListRequest(AbstractModel):
|
|
|
25276
25437
|
self._FilterList.append(obj)
|
|
25277
25438
|
self._PageNumber = params.get("PageNumber")
|
|
25278
25439
|
self._PageSize = params.get("PageSize")
|
|
25440
|
+
self._SpaceId = params.get("SpaceId")
|
|
25279
25441
|
memeber_set = set(params.keys())
|
|
25280
25442
|
for name, value in vars(self).items():
|
|
25281
25443
|
property_name = name[1:]
|
|
@@ -27595,6 +27757,117 @@ class DocUpdatePeriod(AbstractModel):
|
|
|
27595
27757
|
|
|
27596
27758
|
|
|
27597
27759
|
|
|
27760
|
+
class DocumentParseUsageDetail(AbstractModel):
|
|
27761
|
+
r"""文档解析单次调用明细
|
|
27762
|
+
|
|
27763
|
+
"""
|
|
27764
|
+
|
|
27765
|
+
def __init__(self):
|
|
27766
|
+
r"""
|
|
27767
|
+
:param _AppId: <p>应用 ID</p>
|
|
27768
|
+
:type AppId: str
|
|
27769
|
+
:param _ConsumptionPu: <p>消耗资源数(PU)</p>
|
|
27770
|
+
:type ConsumptionPu: float
|
|
27771
|
+
:param _DocId: <p>文档 ID</p>
|
|
27772
|
+
:type DocId: str
|
|
27773
|
+
:param _DocUsageMethod: <p>文档解析方式:离线文档解析、实时文档解析。上报值 OfflineUpload 对应离线文档解析;RealtimeUpload、RealTimeDocParse 对应实时文档解析</p>
|
|
27774
|
+
:type DocUsageMethod: str
|
|
27775
|
+
:param _KbId: <p>知识库 ID</p>
|
|
27776
|
+
:type KbId: str
|
|
27777
|
+
:param _ParsedPageCount: <p>解析页数</p>
|
|
27778
|
+
:type ParsedPageCount: str
|
|
27779
|
+
"""
|
|
27780
|
+
self._AppId = None
|
|
27781
|
+
self._ConsumptionPu = None
|
|
27782
|
+
self._DocId = None
|
|
27783
|
+
self._DocUsageMethod = None
|
|
27784
|
+
self._KbId = None
|
|
27785
|
+
self._ParsedPageCount = None
|
|
27786
|
+
|
|
27787
|
+
@property
|
|
27788
|
+
def AppId(self):
|
|
27789
|
+
r"""<p>应用 ID</p>
|
|
27790
|
+
:rtype: str
|
|
27791
|
+
"""
|
|
27792
|
+
return self._AppId
|
|
27793
|
+
|
|
27794
|
+
@AppId.setter
|
|
27795
|
+
def AppId(self, AppId):
|
|
27796
|
+
self._AppId = AppId
|
|
27797
|
+
|
|
27798
|
+
@property
|
|
27799
|
+
def ConsumptionPu(self):
|
|
27800
|
+
r"""<p>消耗资源数(PU)</p>
|
|
27801
|
+
:rtype: float
|
|
27802
|
+
"""
|
|
27803
|
+
return self._ConsumptionPu
|
|
27804
|
+
|
|
27805
|
+
@ConsumptionPu.setter
|
|
27806
|
+
def ConsumptionPu(self, ConsumptionPu):
|
|
27807
|
+
self._ConsumptionPu = ConsumptionPu
|
|
27808
|
+
|
|
27809
|
+
@property
|
|
27810
|
+
def DocId(self):
|
|
27811
|
+
r"""<p>文档 ID</p>
|
|
27812
|
+
:rtype: str
|
|
27813
|
+
"""
|
|
27814
|
+
return self._DocId
|
|
27815
|
+
|
|
27816
|
+
@DocId.setter
|
|
27817
|
+
def DocId(self, DocId):
|
|
27818
|
+
self._DocId = DocId
|
|
27819
|
+
|
|
27820
|
+
@property
|
|
27821
|
+
def DocUsageMethod(self):
|
|
27822
|
+
r"""<p>文档解析方式:离线文档解析、实时文档解析。上报值 OfflineUpload 对应离线文档解析;RealtimeUpload、RealTimeDocParse 对应实时文档解析</p>
|
|
27823
|
+
:rtype: str
|
|
27824
|
+
"""
|
|
27825
|
+
return self._DocUsageMethod
|
|
27826
|
+
|
|
27827
|
+
@DocUsageMethod.setter
|
|
27828
|
+
def DocUsageMethod(self, DocUsageMethod):
|
|
27829
|
+
self._DocUsageMethod = DocUsageMethod
|
|
27830
|
+
|
|
27831
|
+
@property
|
|
27832
|
+
def KbId(self):
|
|
27833
|
+
r"""<p>知识库 ID</p>
|
|
27834
|
+
:rtype: str
|
|
27835
|
+
"""
|
|
27836
|
+
return self._KbId
|
|
27837
|
+
|
|
27838
|
+
@KbId.setter
|
|
27839
|
+
def KbId(self, KbId):
|
|
27840
|
+
self._KbId = KbId
|
|
27841
|
+
|
|
27842
|
+
@property
|
|
27843
|
+
def ParsedPageCount(self):
|
|
27844
|
+
r"""<p>解析页数</p>
|
|
27845
|
+
:rtype: str
|
|
27846
|
+
"""
|
|
27847
|
+
return self._ParsedPageCount
|
|
27848
|
+
|
|
27849
|
+
@ParsedPageCount.setter
|
|
27850
|
+
def ParsedPageCount(self, ParsedPageCount):
|
|
27851
|
+
self._ParsedPageCount = ParsedPageCount
|
|
27852
|
+
|
|
27853
|
+
|
|
27854
|
+
def _deserialize(self, params):
|
|
27855
|
+
self._AppId = params.get("AppId")
|
|
27856
|
+
self._ConsumptionPu = params.get("ConsumptionPu")
|
|
27857
|
+
self._DocId = params.get("DocId")
|
|
27858
|
+
self._DocUsageMethod = params.get("DocUsageMethod")
|
|
27859
|
+
self._KbId = params.get("KbId")
|
|
27860
|
+
self._ParsedPageCount = params.get("ParsedPageCount")
|
|
27861
|
+
memeber_set = set(params.keys())
|
|
27862
|
+
for name, value in vars(self).items():
|
|
27863
|
+
property_name = name[1:]
|
|
27864
|
+
if property_name in memeber_set:
|
|
27865
|
+
memeber_set.remove(property_name)
|
|
27866
|
+
if len(memeber_set) > 0:
|
|
27867
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27868
|
+
|
|
27869
|
+
|
|
27870
|
+
|
|
27598
27871
|
class DuplexBilling(AbstractModel):
|
|
27599
27872
|
r"""DuplexBilling
|
|
27600
27873
|
|
|
@@ -33189,22 +33462,50 @@ class ModelUsageDetail(AbstractModel):
|
|
|
33189
33462
|
|
|
33190
33463
|
def __init__(self):
|
|
33191
33464
|
r"""
|
|
33465
|
+
:param _ApiKeyDisplay: <p>API Key 别名或脱敏值;禁止返回明文密钥</p>
|
|
33466
|
+
:type ApiKeyDisplay: str
|
|
33467
|
+
:param _BillingType: <p>计费方式;非模型 API 或历史数据可为未指定;后付费不产生 PU</p>
|
|
33468
|
+
:type BillingType: int
|
|
33192
33469
|
:param _CallType: <p>调用类型,来源于计费 scene_billing(与 filter.call_type 对应)</p>
|
|
33193
33470
|
:type CallType: str
|
|
33471
|
+
:param _ConsumptionPU: <p>本次调用消耗 PU 量</p>
|
|
33472
|
+
:type ConsumptionPU: float
|
|
33194
33473
|
:param _IsDefaultKB: <p>是否默认知识库,仅ResourceType=5(知识库容量)业务下有意义</p>
|
|
33195
33474
|
:type IsDefaultKB: bool
|
|
33196
33475
|
:param _ModelName: <p>模型名称</p>
|
|
33197
33476
|
:type ModelName: str
|
|
33198
33477
|
:param _ResourceConsumptionList: <p>MODEL 域单次调用的消耗计量列表(权威字段):按单位+label 分项列出每类计量。unit=TOKEN 时 label 区分 Token 子类别(input/output/avg_*/cache_*),label 为空表示 total_tokens;unit=PAGE_COUNT 表示模型消耗页数</p>
|
|
33199
33478
|
:type ResourceConsumptionList: list of ResourceConsumption
|
|
33200
|
-
:param _ConsumptionPU: <p>本次调用消耗 PU 量</p>
|
|
33201
|
-
:type ConsumptionPU: float
|
|
33202
33479
|
"""
|
|
33480
|
+
self._ApiKeyDisplay = None
|
|
33481
|
+
self._BillingType = None
|
|
33203
33482
|
self._CallType = None
|
|
33483
|
+
self._ConsumptionPU = None
|
|
33204
33484
|
self._IsDefaultKB = None
|
|
33205
33485
|
self._ModelName = None
|
|
33206
33486
|
self._ResourceConsumptionList = None
|
|
33207
|
-
|
|
33487
|
+
|
|
33488
|
+
@property
|
|
33489
|
+
def ApiKeyDisplay(self):
|
|
33490
|
+
r"""<p>API Key 别名或脱敏值;禁止返回明文密钥</p>
|
|
33491
|
+
:rtype: str
|
|
33492
|
+
"""
|
|
33493
|
+
return self._ApiKeyDisplay
|
|
33494
|
+
|
|
33495
|
+
@ApiKeyDisplay.setter
|
|
33496
|
+
def ApiKeyDisplay(self, ApiKeyDisplay):
|
|
33497
|
+
self._ApiKeyDisplay = ApiKeyDisplay
|
|
33498
|
+
|
|
33499
|
+
@property
|
|
33500
|
+
def BillingType(self):
|
|
33501
|
+
r"""<p>计费方式;非模型 API 或历史数据可为未指定;后付费不产生 PU</p>
|
|
33502
|
+
:rtype: int
|
|
33503
|
+
"""
|
|
33504
|
+
return self._BillingType
|
|
33505
|
+
|
|
33506
|
+
@BillingType.setter
|
|
33507
|
+
def BillingType(self, BillingType):
|
|
33508
|
+
self._BillingType = BillingType
|
|
33208
33509
|
|
|
33209
33510
|
@property
|
|
33210
33511
|
def CallType(self):
|
|
@@ -33217,6 +33518,17 @@ class ModelUsageDetail(AbstractModel):
|
|
|
33217
33518
|
def CallType(self, CallType):
|
|
33218
33519
|
self._CallType = CallType
|
|
33219
33520
|
|
|
33521
|
+
@property
|
|
33522
|
+
def ConsumptionPU(self):
|
|
33523
|
+
r"""<p>本次调用消耗 PU 量</p>
|
|
33524
|
+
:rtype: float
|
|
33525
|
+
"""
|
|
33526
|
+
return self._ConsumptionPU
|
|
33527
|
+
|
|
33528
|
+
@ConsumptionPU.setter
|
|
33529
|
+
def ConsumptionPU(self, ConsumptionPU):
|
|
33530
|
+
self._ConsumptionPU = ConsumptionPU
|
|
33531
|
+
|
|
33220
33532
|
@property
|
|
33221
33533
|
def IsDefaultKB(self):
|
|
33222
33534
|
r"""<p>是否默认知识库,仅ResourceType=5(知识库容量)业务下有意义</p>
|
|
@@ -33250,20 +33562,12 @@ class ModelUsageDetail(AbstractModel):
|
|
|
33250
33562
|
def ResourceConsumptionList(self, ResourceConsumptionList):
|
|
33251
33563
|
self._ResourceConsumptionList = ResourceConsumptionList
|
|
33252
33564
|
|
|
33253
|
-
@property
|
|
33254
|
-
def ConsumptionPU(self):
|
|
33255
|
-
r"""<p>本次调用消耗 PU 量</p>
|
|
33256
|
-
:rtype: float
|
|
33257
|
-
"""
|
|
33258
|
-
return self._ConsumptionPU
|
|
33259
|
-
|
|
33260
|
-
@ConsumptionPU.setter
|
|
33261
|
-
def ConsumptionPU(self, ConsumptionPU):
|
|
33262
|
-
self._ConsumptionPU = ConsumptionPU
|
|
33263
|
-
|
|
33264
33565
|
|
|
33265
33566
|
def _deserialize(self, params):
|
|
33567
|
+
self._ApiKeyDisplay = params.get("ApiKeyDisplay")
|
|
33568
|
+
self._BillingType = params.get("BillingType")
|
|
33266
33569
|
self._CallType = params.get("CallType")
|
|
33570
|
+
self._ConsumptionPU = params.get("ConsumptionPU")
|
|
33267
33571
|
self._IsDefaultKB = params.get("IsDefaultKB")
|
|
33268
33572
|
self._ModelName = params.get("ModelName")
|
|
33269
33573
|
if params.get("ResourceConsumptionList") is not None:
|
|
@@ -33272,7 +33576,6 @@ class ModelUsageDetail(AbstractModel):
|
|
|
33272
33576
|
obj = ResourceConsumption()
|
|
33273
33577
|
obj._deserialize(item)
|
|
33274
33578
|
self._ResourceConsumptionList.append(obj)
|
|
33275
|
-
self._ConsumptionPU = params.get("ConsumptionPU")
|
|
33276
33579
|
memeber_set = set(params.keys())
|
|
33277
33580
|
for name, value in vars(self).items():
|
|
33278
33581
|
property_name = name[1:]
|
|
@@ -33292,20 +33595,20 @@ class ModelUsageSummary(AbstractModel):
|
|
|
33292
33595
|
r"""
|
|
33293
33596
|
:param _CallCount: <p>调用次数(业务调用维度的顶层计数)</p>
|
|
33294
33597
|
:type CallCount: float
|
|
33598
|
+
:param _ConsumptionPU: <p>模型消耗 PU 总量(聚合维度内的 PU 消耗之和)</p>
|
|
33599
|
+
:type ConsumptionPU: float
|
|
33295
33600
|
:param _IsDefaultKB: <p>是否默认知识库</p>
|
|
33296
33601
|
:type IsDefaultKB: bool
|
|
33297
33602
|
:param _ModelName: <p>模型名称,标识使用的 AI 模型</p>
|
|
33298
33603
|
:type ModelName: str
|
|
33299
33604
|
:param _ResourceConsumptionList: <p>MODEL 域消耗计量列表(权威字段):按单位+label 分项列出每类计量。unit=TOKEN 时 label 区分 Token 子类别(input/output/avg_*/cache_*),label 为空表示 total_tokens;unit=PAGE_COUNT 表示模型消耗页数</p>
|
|
33300
33605
|
:type ResourceConsumptionList: list of ResourceConsumption
|
|
33301
|
-
:param _ConsumptionPU: <p>模型消耗 PU 总量(聚合维度内的 PU 消耗之和)</p>
|
|
33302
|
-
:type ConsumptionPU: float
|
|
33303
33606
|
"""
|
|
33304
33607
|
self._CallCount = None
|
|
33608
|
+
self._ConsumptionPU = None
|
|
33305
33609
|
self._IsDefaultKB = None
|
|
33306
33610
|
self._ModelName = None
|
|
33307
33611
|
self._ResourceConsumptionList = None
|
|
33308
|
-
self._ConsumptionPU = None
|
|
33309
33612
|
|
|
33310
33613
|
@property
|
|
33311
33614
|
def CallCount(self):
|
|
@@ -33318,6 +33621,17 @@ class ModelUsageSummary(AbstractModel):
|
|
|
33318
33621
|
def CallCount(self, CallCount):
|
|
33319
33622
|
self._CallCount = CallCount
|
|
33320
33623
|
|
|
33624
|
+
@property
|
|
33625
|
+
def ConsumptionPU(self):
|
|
33626
|
+
r"""<p>模型消耗 PU 总量(聚合维度内的 PU 消耗之和)</p>
|
|
33627
|
+
:rtype: float
|
|
33628
|
+
"""
|
|
33629
|
+
return self._ConsumptionPU
|
|
33630
|
+
|
|
33631
|
+
@ConsumptionPU.setter
|
|
33632
|
+
def ConsumptionPU(self, ConsumptionPU):
|
|
33633
|
+
self._ConsumptionPU = ConsumptionPU
|
|
33634
|
+
|
|
33321
33635
|
@property
|
|
33322
33636
|
def IsDefaultKB(self):
|
|
33323
33637
|
r"""<p>是否默认知识库</p>
|
|
@@ -33351,20 +33665,10 @@ class ModelUsageSummary(AbstractModel):
|
|
|
33351
33665
|
def ResourceConsumptionList(self, ResourceConsumptionList):
|
|
33352
33666
|
self._ResourceConsumptionList = ResourceConsumptionList
|
|
33353
33667
|
|
|
33354
|
-
@property
|
|
33355
|
-
def ConsumptionPU(self):
|
|
33356
|
-
r"""<p>模型消耗 PU 总量(聚合维度内的 PU 消耗之和)</p>
|
|
33357
|
-
:rtype: float
|
|
33358
|
-
"""
|
|
33359
|
-
return self._ConsumptionPU
|
|
33360
|
-
|
|
33361
|
-
@ConsumptionPU.setter
|
|
33362
|
-
def ConsumptionPU(self, ConsumptionPU):
|
|
33363
|
-
self._ConsumptionPU = ConsumptionPU
|
|
33364
|
-
|
|
33365
33668
|
|
|
33366
33669
|
def _deserialize(self, params):
|
|
33367
33670
|
self._CallCount = params.get("CallCount")
|
|
33671
|
+
self._ConsumptionPU = params.get("ConsumptionPU")
|
|
33368
33672
|
self._IsDefaultKB = params.get("IsDefaultKB")
|
|
33369
33673
|
self._ModelName = params.get("ModelName")
|
|
33370
33674
|
if params.get("ResourceConsumptionList") is not None:
|
|
@@ -33373,7 +33677,6 @@ class ModelUsageSummary(AbstractModel):
|
|
|
33373
33677
|
obj = ResourceConsumption()
|
|
33374
33678
|
obj._deserialize(item)
|
|
33375
33679
|
self._ResourceConsumptionList.append(obj)
|
|
33376
|
-
self._ConsumptionPU = params.get("ConsumptionPU")
|
|
33377
33680
|
memeber_set = set(params.keys())
|
|
33378
33681
|
for name, value in vars(self).items():
|
|
33379
33682
|
property_name = name[1:]
|
|
@@ -38477,11 +38780,11 @@ class PluginUsageDetail(AbstractModel):
|
|
|
38477
38780
|
|
|
38478
38781
|
def __init__(self):
|
|
38479
38782
|
r"""
|
|
38480
|
-
:param _PluginName: <p
|
|
38783
|
+
:param _PluginName: <p>连接器与工具名称</p>
|
|
38481
38784
|
:type PluginName: str
|
|
38482
|
-
:param _ResourceConsumptionList: <p
|
|
38785
|
+
:param _ResourceConsumptionList: <p>插件单次调用计量:TOKEN 总量用 total_tokens(兼容空 Label),输入/输出用 input/output;其余消耗量按 Unit 区分,PU 的 Label 为 total_pu</p>
|
|
38483
38786
|
:type ResourceConsumptionList: list of ResourceConsumption
|
|
38484
|
-
:param _ToolName: <p
|
|
38787
|
+
:param _ToolName: <p>工具名称</p>
|
|
38485
38788
|
:type ToolName: str
|
|
38486
38789
|
"""
|
|
38487
38790
|
self._PluginName = None
|
|
@@ -38490,7 +38793,7 @@ class PluginUsageDetail(AbstractModel):
|
|
|
38490
38793
|
|
|
38491
38794
|
@property
|
|
38492
38795
|
def PluginName(self):
|
|
38493
|
-
r"""<p
|
|
38796
|
+
r"""<p>连接器与工具名称</p>
|
|
38494
38797
|
:rtype: str
|
|
38495
38798
|
"""
|
|
38496
38799
|
return self._PluginName
|
|
@@ -38501,7 +38804,7 @@ class PluginUsageDetail(AbstractModel):
|
|
|
38501
38804
|
|
|
38502
38805
|
@property
|
|
38503
38806
|
def ResourceConsumptionList(self):
|
|
38504
|
-
r"""<p
|
|
38807
|
+
r"""<p>插件单次调用计量:TOKEN 总量用 total_tokens(兼容空 Label),输入/输出用 input/output;其余消耗量按 Unit 区分,PU 的 Label 为 total_pu</p>
|
|
38505
38808
|
:rtype: list of ResourceConsumption
|
|
38506
38809
|
"""
|
|
38507
38810
|
return self._ResourceConsumptionList
|
|
@@ -38512,7 +38815,7 @@ class PluginUsageDetail(AbstractModel):
|
|
|
38512
38815
|
|
|
38513
38816
|
@property
|
|
38514
38817
|
def ToolName(self):
|
|
38515
|
-
r"""<p
|
|
38818
|
+
r"""<p>工具名称</p>
|
|
38516
38819
|
:rtype: str
|
|
38517
38820
|
"""
|
|
38518
38821
|
return self._ToolName
|
|
@@ -40325,6 +40628,9 @@ class ReleaseSummary(AbstractModel):
|
|
|
40325
40628
|
:param _PortalShareConfig: <p>portal配置</p>
|
|
40326
40629
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40327
40630
|
:type PortalShareConfig: :class:`tencentcloud.adp.v20260520.models.PortalShareConfig`
|
|
40631
|
+
:param _A2AConfig: <p>A2A配置</p>
|
|
40632
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40633
|
+
:type A2AConfig: :class:`tencentcloud.adp.v20260520.models.A2AConfig`
|
|
40328
40634
|
"""
|
|
40329
40635
|
self._CreateTime = None
|
|
40330
40636
|
self._Description = None
|
|
@@ -40335,6 +40641,7 @@ class ReleaseSummary(AbstractModel):
|
|
|
40335
40641
|
self._ChannelIdList = None
|
|
40336
40642
|
self._CorpShareConfig = None
|
|
40337
40643
|
self._PortalShareConfig = None
|
|
40644
|
+
self._A2AConfig = None
|
|
40338
40645
|
|
|
40339
40646
|
@property
|
|
40340
40647
|
def CreateTime(self):
|
|
@@ -40438,6 +40745,18 @@ class ReleaseSummary(AbstractModel):
|
|
|
40438
40745
|
def PortalShareConfig(self, PortalShareConfig):
|
|
40439
40746
|
self._PortalShareConfig = PortalShareConfig
|
|
40440
40747
|
|
|
40748
|
+
@property
|
|
40749
|
+
def A2AConfig(self):
|
|
40750
|
+
r"""<p>A2A配置</p>
|
|
40751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40752
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.A2AConfig`
|
|
40753
|
+
"""
|
|
40754
|
+
return self._A2AConfig
|
|
40755
|
+
|
|
40756
|
+
@A2AConfig.setter
|
|
40757
|
+
def A2AConfig(self, A2AConfig):
|
|
40758
|
+
self._A2AConfig = A2AConfig
|
|
40759
|
+
|
|
40441
40760
|
|
|
40442
40761
|
def _deserialize(self, params):
|
|
40443
40762
|
self._CreateTime = params.get("CreateTime")
|
|
@@ -40455,6 +40774,9 @@ class ReleaseSummary(AbstractModel):
|
|
|
40455
40774
|
if params.get("PortalShareConfig") is not None:
|
|
40456
40775
|
self._PortalShareConfig = PortalShareConfig()
|
|
40457
40776
|
self._PortalShareConfig._deserialize(params.get("PortalShareConfig"))
|
|
40777
|
+
if params.get("A2AConfig") is not None:
|
|
40778
|
+
self._A2AConfig = A2AConfig()
|
|
40779
|
+
self._A2AConfig._deserialize(params.get("A2AConfig"))
|
|
40458
40780
|
memeber_set = set(params.keys())
|
|
40459
40781
|
for name, value in vars(self).items():
|
|
40460
40782
|
property_name = name[1:]
|
|
@@ -46406,6 +46728,8 @@ class UsageDetail(AbstractModel):
|
|
|
46406
46728
|
r"""
|
|
46407
46729
|
:param _CallSource: <p>调用来源</p>
|
|
46408
46730
|
:type CallSource: :class:`tencentcloud.adp.v20260520.models.CallSource`
|
|
46731
|
+
:param _DocumentParse: <p>MODEL 类型的文档解析明细</p>
|
|
46732
|
+
:type DocumentParse: :class:`tencentcloud.adp.v20260520.models.DocumentParseUsageDetail`
|
|
46409
46733
|
:param _DosageId: <p>计量 ID,用于对账/回溯</p>
|
|
46410
46734
|
:type DosageId: str
|
|
46411
46735
|
:param _EventTime: <p>调用时间戳(Unix 秒)</p>
|
|
@@ -46420,6 +46744,7 @@ class UsageDetail(AbstractModel):
|
|
|
46420
46744
|
:type UserId: str
|
|
46421
46745
|
"""
|
|
46422
46746
|
self._CallSource = None
|
|
46747
|
+
self._DocumentParse = None
|
|
46423
46748
|
self._DosageId = None
|
|
46424
46749
|
self._EventTime = None
|
|
46425
46750
|
self._Model = None
|
|
@@ -46438,6 +46763,17 @@ class UsageDetail(AbstractModel):
|
|
|
46438
46763
|
def CallSource(self, CallSource):
|
|
46439
46764
|
self._CallSource = CallSource
|
|
46440
46765
|
|
|
46766
|
+
@property
|
|
46767
|
+
def DocumentParse(self):
|
|
46768
|
+
r"""<p>MODEL 类型的文档解析明细</p>
|
|
46769
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DocumentParseUsageDetail`
|
|
46770
|
+
"""
|
|
46771
|
+
return self._DocumentParse
|
|
46772
|
+
|
|
46773
|
+
@DocumentParse.setter
|
|
46774
|
+
def DocumentParse(self, DocumentParse):
|
|
46775
|
+
self._DocumentParse = DocumentParse
|
|
46776
|
+
|
|
46441
46777
|
@property
|
|
46442
46778
|
def DosageId(self):
|
|
46443
46779
|
r"""<p>计量 ID,用于对账/回溯</p>
|
|
@@ -46509,6 +46845,9 @@ class UsageDetail(AbstractModel):
|
|
|
46509
46845
|
if params.get("CallSource") is not None:
|
|
46510
46846
|
self._CallSource = CallSource()
|
|
46511
46847
|
self._CallSource._deserialize(params.get("CallSource"))
|
|
46848
|
+
if params.get("DocumentParse") is not None:
|
|
46849
|
+
self._DocumentParse = DocumentParseUsageDetail()
|
|
46850
|
+
self._DocumentParse._deserialize(params.get("DocumentParse"))
|
|
46512
46851
|
self._DosageId = params.get("DosageId")
|
|
46513
46852
|
self._EventTime = params.get("EventTime")
|
|
46514
46853
|
if params.get("Model") is not None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-adp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.205
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.199
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|