tencentcloud-sdk-python 3.0.1270__py2.py3-none-any.whl → 3.0.1272__py2.py3-none-any.whl

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 (31) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +6 -2
  3. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  4. tencentcloud/cdb/v20170320/models.py +8 -4
  5. tencentcloud/cdn/v20180606/cdn_client.py +0 -1
  6. tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
  7. tencentcloud/cdwch/v20200915/models.py +175 -0
  8. tencentcloud/cdwdoris/v20211228/models.py +73 -0
  9. tencentcloud/cfg/v20210820/cfg_client.py +23 -0
  10. tencentcloud/cfg/v20210820/models.py +210 -0
  11. tencentcloud/cynosdb/v20190107/models.py +34 -2
  12. tencentcloud/dnspod/v20210323/errorcodes.py +3 -3
  13. tencentcloud/ess/v20201111/models.py +33 -4
  14. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  15. tencentcloud/essbasic/v20210526/models.py +50 -6
  16. tencentcloud/lke/v20231130/lke_client.py +23 -0
  17. tencentcloud/lke/v20231130/models.py +220 -0
  18. tencentcloud/market/v20191010/models.py +0 -2
  19. tencentcloud/mps/v20190612/models.py +284 -0
  20. tencentcloud/mps/v20190612/mps_client.py +25 -0
  21. tencentcloud/ocr/v20181119/models.py +31 -0
  22. tencentcloud/thpc/v20230321/models.py +4 -4
  23. tencentcloud/trtc/v20190722/models.py +2 -2
  24. tencentcloud/vpc/v20170312/models.py +0 -6
  25. tencentcloud/vpc/v20170312/vpc_client.py +0 -1
  26. tencentcloud/wedata/v20210820/models.py +79 -4
  27. {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/METADATA +1 -1
  28. {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/RECORD +31 -31
  29. {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/LICENSE +0 -0
  30. {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/WHEEL +0 -0
  31. {tencentcloud_sdk_python-3.0.1270.dist-info → tencentcloud_sdk_python-3.0.1272.dist-info}/top_level.txt +0 -0
@@ -4089,6 +4089,8 @@ class ClusterInstanceDetail(AbstractModel):
4089
4089
  :param _InstanceStorageType: 实例存储类型
4090
4090
  注意:此字段可能返回 null,表示取不到有效值。
4091
4091
  :type InstanceStorageType: str
4092
+ :param _DbMode: 数据库类型
4093
+ :type DbMode: str
4092
4094
  """
4093
4095
  self._InstanceId = None
4094
4096
  self._InstanceName = None
@@ -4106,6 +4108,7 @@ class ClusterInstanceDetail(AbstractModel):
4106
4108
  self._InstanceTasks = None
4107
4109
  self._InstanceDeviceType = None
4108
4110
  self._InstanceStorageType = None
4111
+ self._DbMode = None
4109
4112
 
4110
4113
  @property
4111
4114
  def InstanceId(self):
@@ -4290,6 +4293,17 @@ class ClusterInstanceDetail(AbstractModel):
4290
4293
  def InstanceStorageType(self, InstanceStorageType):
4291
4294
  self._InstanceStorageType = InstanceStorageType
4292
4295
 
4296
+ @property
4297
+ def DbMode(self):
4298
+ """数据库类型
4299
+ :rtype: str
4300
+ """
4301
+ return self._DbMode
4302
+
4303
+ @DbMode.setter
4304
+ def DbMode(self, DbMode):
4305
+ self._DbMode = DbMode
4306
+
4293
4307
 
4294
4308
  def _deserialize(self, params):
4295
4309
  self._InstanceId = params.get("InstanceId")
@@ -4313,6 +4327,7 @@ class ClusterInstanceDetail(AbstractModel):
4313
4327
  self._InstanceTasks.append(obj)
4314
4328
  self._InstanceDeviceType = params.get("InstanceDeviceType")
4315
4329
  self._InstanceStorageType = params.get("InstanceStorageType")
4330
+ self._DbMode = params.get("DbMode")
4316
4331
  memeber_set = set(params.keys())
4317
4332
  for name, value in vars(self).items():
4318
4333
  property_name = name[1:]
@@ -8325,7 +8340,7 @@ pausing
8325
8340
  :type CreateTime: str
8326
8341
  :param _DbType: 数据库类型
8327
8342
  :type DbType: str
8328
- :param _DbMode: 数据库类型,normal,serverless
8343
+ :param _DbMode: Db类型:<li>NORMAL</li><li>SERVERLESS</li>
8329
8344
  注意:此字段可能返回 null,表示取不到有效值。
8330
8345
  :type DbMode: str
8331
8346
  :param _DbVersion: 数据库版本
@@ -8689,7 +8704,7 @@ pausing
8689
8704
 
8690
8705
  @property
8691
8706
  def DbMode(self):
8692
- """数据库类型,normal,serverless
8707
+ """Db类型:<li>NORMAL</li><li>SERVERLESS</li>
8693
8708
  注意:此字段可能返回 null,表示取不到有效值。
8694
8709
  :rtype: str
8695
8710
  """
@@ -10193,6 +10208,9 @@ pause
10193
10208
  :type MinCpu: float
10194
10209
  :param _MaxCpu: serverless实例cpu上限
10195
10210
  :type MaxCpu: float
10211
+ :param _DbMode: Db类型:<li>NORMAL</li><li>SERVERLESS</li>
10212
+ 注意:此字段可能返回 null,表示取不到有效值。
10213
+ :type DbMode: str
10196
10214
  """
10197
10215
  self._Uin = None
10198
10216
  self._AppId = None
@@ -10228,6 +10246,7 @@ pause
10228
10246
  self._RenewFlag = None
10229
10247
  self._MinCpu = None
10230
10248
  self._MaxCpu = None
10249
+ self._DbMode = None
10231
10250
 
10232
10251
  @property
10233
10252
  def Uin(self):
@@ -10605,6 +10624,18 @@ pause
10605
10624
  def MaxCpu(self, MaxCpu):
10606
10625
  self._MaxCpu = MaxCpu
10607
10626
 
10627
+ @property
10628
+ def DbMode(self):
10629
+ """Db类型:<li>NORMAL</li><li>SERVERLESS</li>
10630
+ 注意:此字段可能返回 null,表示取不到有效值。
10631
+ :rtype: str
10632
+ """
10633
+ return self._DbMode
10634
+
10635
+ @DbMode.setter
10636
+ def DbMode(self, DbMode):
10637
+ self._DbMode = DbMode
10638
+
10608
10639
 
10609
10640
  def _deserialize(self, params):
10610
10641
  self._Uin = params.get("Uin")
@@ -10641,6 +10672,7 @@ pause
10641
10672
  self._RenewFlag = params.get("RenewFlag")
10642
10673
  self._MinCpu = params.get("MinCpu")
10643
10674
  self._MaxCpu = params.get("MaxCpu")
10675
+ self._DbMode = params.get("DbMode")
10644
10676
  memeber_set = set(params.keys())
10645
10677
  for name, value in vars(self).items():
10646
10678
  property_name = name[1:]
@@ -173,7 +173,7 @@ INVALIDPARAMETER_BATCHRECORDREMOVEACTIONERROR = 'InvalidParameter.BatchRecordRem
173
173
  # 批量替换记录任务失败,原因:内部错误。
174
174
  INVALIDPARAMETER_BATCHRECORDREPLACEACTIONERROR = 'InvalidParameter.BatchRecordReplaceActionError'
175
175
 
176
- # 超过批量任务数上限。
176
+ # 超过单个账号的批量任务数并发上限4个。
177
177
  INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = 'InvalidParameter.BatchTaskCountLimit'
178
178
 
179
179
  # 任务不存在,无法获取任务详情。
@@ -359,7 +359,7 @@ INVALIDPARAMETER_IPAREA = 'InvalidParameter.IpArea'
359
359
  # ips 过长。
360
360
  INVALIDPARAMETER_IPSEXCEEDLIMIT = 'InvalidParameter.IpsExceedLimit'
361
361
 
362
- # 单次任务数量超过上限。
362
+ # 单次任务记录数量超过上限5000条。
363
363
  INVALIDPARAMETER_JOBGREATERTHANLIMIT = 'InvalidParameter.JobGreaterThanLimit'
364
364
 
365
365
  # 线路格式不正确。
@@ -692,7 +692,7 @@ OPERATIONDENIED_VIPDOMAINALLOWED = 'OperationDenied.VipDomainAllowed'
692
692
  # 请求的次数超过了频率限制。
693
693
  REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
694
694
 
695
- # 您的IP添加了过多任务,请稍后重试。
695
+ # 您的IP添加了过多任务。每个小时内,一个IP最多可提交80个任务,请稍后重试。
696
696
  REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = 'RequestLimitExceeded.BatchTaskLimit'
697
697
 
698
698
  # 您的账号在短时间内添加了大量的域名,请控制添加频率。
@@ -3883,19 +3883,29 @@ class CreateBatchInitOrganizationUrlRequest(AbstractModel):
3883
3883
  注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
3884
3884
  :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
3885
3885
  :param _OperateTypes: 初始化操作类型
3886
- <ul><li>CREATE_SEAL : 创建印章</li>
3886
+ <ul>
3887
+ <li>CREATE_SEAL : 创建印章</li>
3887
3888
  <li>AUTH_JOIN_ORGANIZATION_GROUP : 加入集团企业</li>
3888
- <li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
3889
+ <li>OPEN_AUTO_SIGN :开通企业自动签署</li>
3890
+ <li>PARTNER_AUTO_SIGN_AUTH :合作方企业授权自动签</li>
3891
+ </ul>
3889
3892
  :type OperateTypes: list of str
3890
3893
  :param _OrganizationIds: 批量操作的企业Id列表,最大支持50个
3891
3894
  :type OrganizationIds: list of str
3892
3895
  :param _Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
3893
3896
  :type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
3897
+ :param _AuthorizedOrganizationId: 被授权的合作方企业在电子签的企业电子签账号,当操作类型包含 PARTNER_AUTO_SIGN_AUTH (合作方企业授权自动签)时必传。
3898
+
3899
+ 企业电子签账号可在[电子签的网页端](https://qian.tencent.com/console/company-settings/company-center) ,于企业设置-企业信息菜单栏下复制获取。
3900
+
3901
+ ![企业电子签账号](https://qcloudimg.tencent-cloud.cn/raw/4e6b30ee92f00671f7f1c5bd127c27db.png)
3902
+ :type AuthorizedOrganizationId: str
3894
3903
  """
3895
3904
  self._Operator = None
3896
3905
  self._OperateTypes = None
3897
3906
  self._OrganizationIds = None
3898
3907
  self._Agent = None
3908
+ self._AuthorizedOrganizationId = None
3899
3909
 
3900
3910
  @property
3901
3911
  def Operator(self):
@@ -3912,9 +3922,12 @@ class CreateBatchInitOrganizationUrlRequest(AbstractModel):
3912
3922
  @property
3913
3923
  def OperateTypes(self):
3914
3924
  """初始化操作类型
3915
- <ul><li>CREATE_SEAL : 创建印章</li>
3925
+ <ul>
3926
+ <li>CREATE_SEAL : 创建印章</li>
3916
3927
  <li>AUTH_JOIN_ORGANIZATION_GROUP : 加入集团企业</li>
3917
- <li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
3928
+ <li>OPEN_AUTO_SIGN :开通企业自动签署</li>
3929
+ <li>PARTNER_AUTO_SIGN_AUTH :合作方企业授权自动签</li>
3930
+ </ul>
3918
3931
  :rtype: list of str
3919
3932
  """
3920
3933
  return self._OperateTypes
@@ -3945,6 +3958,21 @@ class CreateBatchInitOrganizationUrlRequest(AbstractModel):
3945
3958
  def Agent(self, Agent):
3946
3959
  self._Agent = Agent
3947
3960
 
3961
+ @property
3962
+ def AuthorizedOrganizationId(self):
3963
+ """被授权的合作方企业在电子签的企业电子签账号,当操作类型包含 PARTNER_AUTO_SIGN_AUTH (合作方企业授权自动签)时必传。
3964
+
3965
+ 企业电子签账号可在[电子签的网页端](https://qian.tencent.com/console/company-settings/company-center) ,于企业设置-企业信息菜单栏下复制获取。
3966
+
3967
+ ![企业电子签账号](https://qcloudimg.tencent-cloud.cn/raw/4e6b30ee92f00671f7f1c5bd127c27db.png)
3968
+ :rtype: str
3969
+ """
3970
+ return self._AuthorizedOrganizationId
3971
+
3972
+ @AuthorizedOrganizationId.setter
3973
+ def AuthorizedOrganizationId(self, AuthorizedOrganizationId):
3974
+ self._AuthorizedOrganizationId = AuthorizedOrganizationId
3975
+
3948
3976
 
3949
3977
  def _deserialize(self, params):
3950
3978
  if params.get("Operator") is not None:
@@ -3955,6 +3983,7 @@ class CreateBatchInitOrganizationUrlRequest(AbstractModel):
3955
3983
  if params.get("Agent") is not None:
3956
3984
  self._Agent = Agent()
3957
3985
  self._Agent._deserialize(params.get("Agent"))
3986
+ self._AuthorizedOrganizationId = params.get("AuthorizedOrganizationId")
3958
3987
  memeber_set = set(params.keys())
3959
3988
  for name, value in vars(self).items():
3960
3989
  property_name = name[1:]
@@ -1240,7 +1240,7 @@ class EssbasicClient(AbstractClient):
1240
1240
  无论是<font color="red"><b>发起方还是签署方</b></font>填写的控件,均包含在查询结果中。
1241
1241
 
1242
1242
  ![image](https://qcloudimg.tencent-cloud.cn/raw/08f6ea50d3ae88b51c280c2b17c2a126.png)
1243
- ### 2. 那些控件会出现在结果里边?
1243
+ ### 2. 哪些控件会出现在结果里边?
1244
1244
  **A.不返回的控件类型:**
1245
1245
  - 动态表格
1246
1246
  - 附件控件
@@ -12582,15 +12582,28 @@ class CreateBatchInitOrganizationUrlRequest(AbstractModel):
12582
12582
  :param _Agent: 应用相关信息。 此接口Agent.AppId 必填。
12583
12583
  :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
12584
12584
  :param _OperateTypes: 初始化操作类型
12585
- <ul><li>CREATE_SEAL : 创建印章</li>
12586
- <li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
12585
+ <ul>
12586
+ <li>CREATE_SEAL : 创建印章</li>
12587
+ <li>OPEN_AUTO_SIGN :开通企业自动签署</li>
12588
+ <li>PARTNER_AUTO_SIGN_AUTH :合作方企业或应用平台方授权自动签</li>
12589
+ </ul>
12587
12590
  :type OperateTypes: list of str
12588
12591
  :param _ProxyOrganizationOpenIds: 批量操作的企业列表在第三方平台的企业Id列表,即ProxyOrganizationOpenId列表,最大支持50个
12589
12592
  :type ProxyOrganizationOpenIds: list of str
12593
+ :param _IsAuthorizePlatformApplication: 当操作类型包含 PARTNER_AUTO_SIGN_AUTH 且是给应用平台方授权自动签时传true。
12594
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/f9aba7c999a6d79ada20b4384520e120.png)
12595
+ :type IsAuthorizePlatformApplication: bool
12596
+ :param _AuthorizedProxyOrganizationOpenId: 被授权的合作方企业在第三方平台子客企业标识,即ProxyOrganizationOpenId,当操作类型包含 PARTNER_AUTO_SIGN_AUTH 且要进行合作方企业授权自动签时必传。
12597
+
12598
+
12599
+
12600
+ :type AuthorizedProxyOrganizationOpenId: str
12590
12601
  """
12591
12602
  self._Agent = None
12592
12603
  self._OperateTypes = None
12593
12604
  self._ProxyOrganizationOpenIds = None
12605
+ self._IsAuthorizePlatformApplication = None
12606
+ self._AuthorizedProxyOrganizationOpenId = None
12594
12607
 
12595
12608
  @property
12596
12609
  def Agent(self):
@@ -12606,8 +12619,11 @@ class CreateBatchInitOrganizationUrlRequest(AbstractModel):
12606
12619
  @property
12607
12620
  def OperateTypes(self):
12608
12621
  """初始化操作类型
12609
- <ul><li>CREATE_SEAL : 创建印章</li>
12610
- <li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
12622
+ <ul>
12623
+ <li>CREATE_SEAL : 创建印章</li>
12624
+ <li>OPEN_AUTO_SIGN :开通企业自动签署</li>
12625
+ <li>PARTNER_AUTO_SIGN_AUTH :合作方企业或应用平台方授权自动签</li>
12626
+ </ul>
12611
12627
  :rtype: list of str
12612
12628
  """
12613
12629
  return self._OperateTypes
@@ -12627,6 +12643,32 @@ class CreateBatchInitOrganizationUrlRequest(AbstractModel):
12627
12643
  def ProxyOrganizationOpenIds(self, ProxyOrganizationOpenIds):
12628
12644
  self._ProxyOrganizationOpenIds = ProxyOrganizationOpenIds
12629
12645
 
12646
+ @property
12647
+ def IsAuthorizePlatformApplication(self):
12648
+ """当操作类型包含 PARTNER_AUTO_SIGN_AUTH 且是给应用平台方授权自动签时传true。
12649
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/f9aba7c999a6d79ada20b4384520e120.png)
12650
+ :rtype: bool
12651
+ """
12652
+ return self._IsAuthorizePlatformApplication
12653
+
12654
+ @IsAuthorizePlatformApplication.setter
12655
+ def IsAuthorizePlatformApplication(self, IsAuthorizePlatformApplication):
12656
+ self._IsAuthorizePlatformApplication = IsAuthorizePlatformApplication
12657
+
12658
+ @property
12659
+ def AuthorizedProxyOrganizationOpenId(self):
12660
+ """被授权的合作方企业在第三方平台子客企业标识,即ProxyOrganizationOpenId,当操作类型包含 PARTNER_AUTO_SIGN_AUTH 且要进行合作方企业授权自动签时必传。
12661
+
12662
+
12663
+
12664
+ :rtype: str
12665
+ """
12666
+ return self._AuthorizedProxyOrganizationOpenId
12667
+
12668
+ @AuthorizedProxyOrganizationOpenId.setter
12669
+ def AuthorizedProxyOrganizationOpenId(self, AuthorizedProxyOrganizationOpenId):
12670
+ self._AuthorizedProxyOrganizationOpenId = AuthorizedProxyOrganizationOpenId
12671
+
12630
12672
 
12631
12673
  def _deserialize(self, params):
12632
12674
  if params.get("Agent") is not None:
@@ -12634,6 +12676,8 @@ class CreateBatchInitOrganizationUrlRequest(AbstractModel):
12634
12676
  self._Agent._deserialize(params.get("Agent"))
12635
12677
  self._OperateTypes = params.get("OperateTypes")
12636
12678
  self._ProxyOrganizationOpenIds = params.get("ProxyOrganizationOpenIds")
12679
+ self._IsAuthorizePlatformApplication = params.get("IsAuthorizePlatformApplication")
12680
+ self._AuthorizedProxyOrganizationOpenId = params.get("AuthorizedProxyOrganizationOpenId")
12637
12681
  memeber_set = set(params.keys())
12638
12682
  for name, value in vars(self).items():
12639
12683
  property_name = name[1:]
@@ -18096,7 +18140,7 @@ class DescribeTemplatesRequest(AbstractModel):
18096
18140
 
18097
18141
  设置为true之后, 返回参数PdfUrl,为模板PDF文件链接,有效期5分钟, 可以用于将PDF文件下载到本地
18098
18142
 
18099
- 注: `此功能为白名单功能,使用前请联系对接的客户经理沟通。`
18143
+ 注: `此功能需要开通功能白名单【第三方应用集成企业获取模版PDF下载链接】,使用前请联系对接的客户经理沟通。`
18100
18144
  :type WithPdfUrl: bool
18101
18145
  :param _Operator: 操作者的信息
18102
18146
  :type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
@@ -18271,7 +18315,7 @@ class DescribeTemplatesRequest(AbstractModel):
18271
18315
 
18272
18316
  设置为true之后, 返回参数PdfUrl,为模板PDF文件链接,有效期5分钟, 可以用于将PDF文件下载到本地
18273
18317
 
18274
- 注: `此功能为白名单功能,使用前请联系对接的客户经理沟通。`
18318
+ 注: `此功能需要开通功能白名单【第三方应用集成企业获取模版PDF下载链接】,使用前请联系对接的客户经理沟通。`
18275
18319
  :rtype: bool
18276
18320
  """
18277
18321
  return self._WithPdfUrl
@@ -2013,6 +2013,29 @@ class LkeClient(AbstractClient):
2013
2013
  raise TencentCloudSDKException(type(e).__name__, str(e))
2014
2014
 
2015
2015
 
2016
+ def RunReRank(self, request):
2017
+ """重排序
2018
+
2019
+ :param request: Request instance for RunReRank.
2020
+ :type request: :class:`tencentcloud.lke.v20231130.models.RunReRankRequest`
2021
+ :rtype: :class:`tencentcloud.lke.v20231130.models.RunReRankResponse`
2022
+
2023
+ """
2024
+ try:
2025
+ params = request._serialize()
2026
+ headers = request.headers
2027
+ body = self.call("RunReRank", params, headers=headers)
2028
+ response = json.loads(body)
2029
+ model = models.RunReRankResponse()
2030
+ model._deserialize(response["Response"])
2031
+ return model
2032
+ except Exception as e:
2033
+ if isinstance(e, TencentCloudSDKException):
2034
+ raise
2035
+ else:
2036
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2037
+
2038
+
2016
2039
  def SaveDoc(self, request):
2017
2040
  """保存文档
2018
2041
 
@@ -18539,6 +18539,57 @@ class RateMsgRecordResponse(AbstractModel):
18539
18539
  self._RequestId = params.get("RequestId")
18540
18540
 
18541
18541
 
18542
+ class ReRankDataObject(AbstractModel):
18543
+ """重排数据, 计算2段内容的关联性
18544
+
18545
+ """
18546
+
18547
+ def __init__(self):
18548
+ r"""
18549
+ :param _PromptA: 第一段内容
18550
+ :type PromptA: str
18551
+ :param _PromptB: 第二段内容
18552
+ :type PromptB: str
18553
+ """
18554
+ self._PromptA = None
18555
+ self._PromptB = None
18556
+
18557
+ @property
18558
+ def PromptA(self):
18559
+ """第一段内容
18560
+ :rtype: str
18561
+ """
18562
+ return self._PromptA
18563
+
18564
+ @PromptA.setter
18565
+ def PromptA(self, PromptA):
18566
+ self._PromptA = PromptA
18567
+
18568
+ @property
18569
+ def PromptB(self):
18570
+ """第二段内容
18571
+ :rtype: str
18572
+ """
18573
+ return self._PromptB
18574
+
18575
+ @PromptB.setter
18576
+ def PromptB(self, PromptB):
18577
+ self._PromptB = PromptB
18578
+
18579
+
18580
+ def _deserialize(self, params):
18581
+ self._PromptA = params.get("PromptA")
18582
+ self._PromptB = params.get("PromptB")
18583
+ memeber_set = set(params.keys())
18584
+ for name, value in vars(self).items():
18585
+ property_name = name[1:]
18586
+ if property_name in memeber_set:
18587
+ memeber_set.remove(property_name)
18588
+ if len(memeber_set) > 0:
18589
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18590
+
18591
+
18592
+
18542
18593
  class ReconstructDocumentConfig(AbstractModel):
18543
18594
  """ReconstructDocument配置选项
18544
18595
 
@@ -20196,6 +20247,175 @@ class RunNodeInfo(AbstractModel):
20196
20247
 
20197
20248
 
20198
20249
 
20250
+ class RunReRankRequest(AbstractModel):
20251
+ """RunReRank请求参数结构体
20252
+
20253
+ """
20254
+
20255
+ def __init__(self):
20256
+ r"""
20257
+ :param _Query: 模型名称, 必填,默认: lke-reranker-base
20258
+ :type Query: str
20259
+ :param _Docs: 文档列表,必填,最多20个
20260
+ :type Docs: list of str
20261
+ :param _Model: 模型名称, 非必填,默认: lke-reranker-base
20262
+ :type Model: str
20263
+ :param _DataList: 需要计算关联性的2段内容
20264
+ :type DataList: list of ReRankDataObject
20265
+ :param _Online: 是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false
20266
+ :type Online: bool
20267
+ """
20268
+ self._Query = None
20269
+ self._Docs = None
20270
+ self._Model = None
20271
+ self._DataList = None
20272
+ self._Online = None
20273
+
20274
+ @property
20275
+ def Query(self):
20276
+ """模型名称, 必填,默认: lke-reranker-base
20277
+ :rtype: str
20278
+ """
20279
+ return self._Query
20280
+
20281
+ @Query.setter
20282
+ def Query(self, Query):
20283
+ self._Query = Query
20284
+
20285
+ @property
20286
+ def Docs(self):
20287
+ """文档列表,必填,最多20个
20288
+ :rtype: list of str
20289
+ """
20290
+ return self._Docs
20291
+
20292
+ @Docs.setter
20293
+ def Docs(self, Docs):
20294
+ self._Docs = Docs
20295
+
20296
+ @property
20297
+ def Model(self):
20298
+ """模型名称, 非必填,默认: lke-reranker-base
20299
+ :rtype: str
20300
+ """
20301
+ return self._Model
20302
+
20303
+ @Model.setter
20304
+ def Model(self, Model):
20305
+ self._Model = Model
20306
+
20307
+ @property
20308
+ def DataList(self):
20309
+ warnings.warn("parameter `DataList` is deprecated", DeprecationWarning)
20310
+
20311
+ """需要计算关联性的2段内容
20312
+ :rtype: list of ReRankDataObject
20313
+ """
20314
+ return self._DataList
20315
+
20316
+ @DataList.setter
20317
+ def DataList(self, DataList):
20318
+ warnings.warn("parameter `DataList` is deprecated", DeprecationWarning)
20319
+
20320
+ self._DataList = DataList
20321
+
20322
+ @property
20323
+ def Online(self):
20324
+ warnings.warn("parameter `Online` is deprecated", DeprecationWarning)
20325
+
20326
+ """是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false
20327
+ :rtype: bool
20328
+ """
20329
+ return self._Online
20330
+
20331
+ @Online.setter
20332
+ def Online(self, Online):
20333
+ warnings.warn("parameter `Online` is deprecated", DeprecationWarning)
20334
+
20335
+ self._Online = Online
20336
+
20337
+
20338
+ def _deserialize(self, params):
20339
+ self._Query = params.get("Query")
20340
+ self._Docs = params.get("Docs")
20341
+ self._Model = params.get("Model")
20342
+ if params.get("DataList") is not None:
20343
+ self._DataList = []
20344
+ for item in params.get("DataList"):
20345
+ obj = ReRankDataObject()
20346
+ obj._deserialize(item)
20347
+ self._DataList.append(obj)
20348
+ self._Online = params.get("Online")
20349
+ memeber_set = set(params.keys())
20350
+ for name, value in vars(self).items():
20351
+ property_name = name[1:]
20352
+ if property_name in memeber_set:
20353
+ memeber_set.remove(property_name)
20354
+ if len(memeber_set) > 0:
20355
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20356
+
20357
+
20358
+
20359
+ class RunReRankResponse(AbstractModel):
20360
+ """RunReRank返回参数结构体
20361
+
20362
+ """
20363
+
20364
+ def __init__(self):
20365
+ r"""
20366
+ :param _ScoreList: 相关性, 数值越大越相关
20367
+ :type ScoreList: list of float
20368
+ :param _Usage: 消耗量,仅返回TotalToken
20369
+ :type Usage: :class:`tencentcloud.lke.v20231130.models.Usage`
20370
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20371
+ :type RequestId: str
20372
+ """
20373
+ self._ScoreList = None
20374
+ self._Usage = None
20375
+ self._RequestId = None
20376
+
20377
+ @property
20378
+ def ScoreList(self):
20379
+ """相关性, 数值越大越相关
20380
+ :rtype: list of float
20381
+ """
20382
+ return self._ScoreList
20383
+
20384
+ @ScoreList.setter
20385
+ def ScoreList(self, ScoreList):
20386
+ self._ScoreList = ScoreList
20387
+
20388
+ @property
20389
+ def Usage(self):
20390
+ """消耗量,仅返回TotalToken
20391
+ :rtype: :class:`tencentcloud.lke.v20231130.models.Usage`
20392
+ """
20393
+ return self._Usage
20394
+
20395
+ @Usage.setter
20396
+ def Usage(self, Usage):
20397
+ self._Usage = Usage
20398
+
20399
+ @property
20400
+ def RequestId(self):
20401
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20402
+ :rtype: str
20403
+ """
20404
+ return self._RequestId
20405
+
20406
+ @RequestId.setter
20407
+ def RequestId(self, RequestId):
20408
+ self._RequestId = RequestId
20409
+
20410
+
20411
+ def _deserialize(self, params):
20412
+ self._ScoreList = params.get("ScoreList")
20413
+ if params.get("Usage") is not None:
20414
+ self._Usage = Usage()
20415
+ self._Usage._deserialize(params.get("Usage"))
20416
+ self._RequestId = params.get("RequestId")
20417
+
20418
+
20199
20419
  class SaveDocRequest(AbstractModel):
20200
20420
  """SaveDoc请求参数结构体
20201
20421
 
@@ -141,7 +141,6 @@ class FlowProductRemindResponse(AbstractModel):
141
141
  :param _FlowId: 流水号
142
142
  :type FlowId: str
143
143
  :param _Info: 消息
144
- 注意:此字段可能返回 null,表示取不到有效值。
145
144
  :type Info: str
146
145
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
147
146
  :type RequestId: str
@@ -176,7 +175,6 @@ class FlowProductRemindResponse(AbstractModel):
176
175
  @property
177
176
  def Info(self):
178
177
  """消息
179
- 注意:此字段可能返回 null,表示取不到有效值。
180
178
  :rtype: str
181
179
  """
182
180
  return self._Info