tencentcloud-sdk-python 3.0.1272__py2.py3-none-any.whl → 3.0.1273__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.
@@ -18,6 +18,61 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class ApiVarAttrInfo(AbstractModel):
22
+ """自定义变量和标签关系数据
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _ApiVarId: 自定义变量id
29
+ 注意:此字段可能返回 null,表示取不到有效值。
30
+ :type ApiVarId: str
31
+ :param _AttrBizId: 标签id
32
+ 注意:此字段可能返回 null,表示取不到有效值。
33
+ :type AttrBizId: str
34
+ """
35
+ self._ApiVarId = None
36
+ self._AttrBizId = None
37
+
38
+ @property
39
+ def ApiVarId(self):
40
+ """自定义变量id
41
+ 注意:此字段可能返回 null,表示取不到有效值。
42
+ :rtype: str
43
+ """
44
+ return self._ApiVarId
45
+
46
+ @ApiVarId.setter
47
+ def ApiVarId(self, ApiVarId):
48
+ self._ApiVarId = ApiVarId
49
+
50
+ @property
51
+ def AttrBizId(self):
52
+ """标签id
53
+ 注意:此字段可能返回 null,表示取不到有效值。
54
+ :rtype: str
55
+ """
56
+ return self._AttrBizId
57
+
58
+ @AttrBizId.setter
59
+ def AttrBizId(self, AttrBizId):
60
+ self._AttrBizId = AttrBizId
61
+
62
+
63
+ def _deserialize(self, params):
64
+ self._ApiVarId = params.get("ApiVarId")
65
+ self._AttrBizId = params.get("AttrBizId")
66
+ memeber_set = set(params.keys())
67
+ for name, value in vars(self).items():
68
+ property_name = name[1:]
69
+ if property_name in memeber_set:
70
+ memeber_set.remove(property_name)
71
+ if len(memeber_set) > 0:
72
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
73
+
74
+
75
+
21
76
  class AppConfig(AbstractModel):
22
77
  """应用配置
23
78
 
@@ -1777,10 +1832,14 @@ class CreateAppResponse(AbstractModel):
1777
1832
  :param _AppBizId: 应用ID
1778
1833
  注意:此字段可能返回 null,表示取不到有效值。
1779
1834
  :type AppBizId: str
1835
+ :param _IsCustomList: 判断账户应用列表权限是否是自定义的,用户交互提示
1836
+ 注意:此字段可能返回 null,表示取不到有效值。
1837
+ :type IsCustomList: bool
1780
1838
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1781
1839
  :type RequestId: str
1782
1840
  """
1783
1841
  self._AppBizId = None
1842
+ self._IsCustomList = None
1784
1843
  self._RequestId = None
1785
1844
 
1786
1845
  @property
@@ -1795,6 +1854,18 @@ class CreateAppResponse(AbstractModel):
1795
1854
  def AppBizId(self, AppBizId):
1796
1855
  self._AppBizId = AppBizId
1797
1856
 
1857
+ @property
1858
+ def IsCustomList(self):
1859
+ """判断账户应用列表权限是否是自定义的,用户交互提示
1860
+ 注意:此字段可能返回 null,表示取不到有效值。
1861
+ :rtype: bool
1862
+ """
1863
+ return self._IsCustomList
1864
+
1865
+ @IsCustomList.setter
1866
+ def IsCustomList(self, IsCustomList):
1867
+ self._IsCustomList = IsCustomList
1868
+
1798
1869
  @property
1799
1870
  def RequestId(self):
1800
1871
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -1809,6 +1880,7 @@ class CreateAppResponse(AbstractModel):
1809
1880
 
1810
1881
  def _deserialize(self, params):
1811
1882
  self._AppBizId = params.get("AppBizId")
1883
+ self._IsCustomList = params.get("IsCustomList")
1812
1884
  self._RequestId = params.get("RequestId")
1813
1885
 
1814
1886
 
@@ -1821,21 +1893,21 @@ class CreateAttributeLabelRequest(AbstractModel):
1821
1893
  r"""
1822
1894
  :param _BotBizId: 应用ID
1823
1895
  :type BotBizId: str
1824
- :param _AttrKey: 属性标识
1825
- :type AttrKey: str
1826
- :param _AttrName: 属性名称
1896
+ :param _AttrName: 标签名
1827
1897
  :type AttrName: str
1828
- :param _Labels: 属性标签
1898
+ :param _Labels: 标签值
1829
1899
  :type Labels: list of AttributeLabel
1900
+ :param _AttrKey: 标签标识(不生效,无需填写) 已作废
1901
+ :type AttrKey: str
1830
1902
  :param _LoginUin: 登录用户主账号(集成商模式必填)
1831
1903
  :type LoginUin: str
1832
1904
  :param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
1833
1905
  :type LoginSubAccountUin: str
1834
1906
  """
1835
1907
  self._BotBizId = None
1836
- self._AttrKey = None
1837
1908
  self._AttrName = None
1838
1909
  self._Labels = None
1910
+ self._AttrKey = None
1839
1911
  self._LoginUin = None
1840
1912
  self._LoginSubAccountUin = None
1841
1913
 
@@ -1850,20 +1922,9 @@ class CreateAttributeLabelRequest(AbstractModel):
1850
1922
  def BotBizId(self, BotBizId):
1851
1923
  self._BotBizId = BotBizId
1852
1924
 
1853
- @property
1854
- def AttrKey(self):
1855
- """属性标识
1856
- :rtype: str
1857
- """
1858
- return self._AttrKey
1859
-
1860
- @AttrKey.setter
1861
- def AttrKey(self, AttrKey):
1862
- self._AttrKey = AttrKey
1863
-
1864
1925
  @property
1865
1926
  def AttrName(self):
1866
- """属性名称
1927
+ """标签名
1867
1928
  :rtype: str
1868
1929
  """
1869
1930
  return self._AttrName
@@ -1874,7 +1935,7 @@ class CreateAttributeLabelRequest(AbstractModel):
1874
1935
 
1875
1936
  @property
1876
1937
  def Labels(self):
1877
- """属性标签
1938
+ """标签值
1878
1939
  :rtype: list of AttributeLabel
1879
1940
  """
1880
1941
  return self._Labels
@@ -1883,6 +1944,17 @@ class CreateAttributeLabelRequest(AbstractModel):
1883
1944
  def Labels(self, Labels):
1884
1945
  self._Labels = Labels
1885
1946
 
1947
+ @property
1948
+ def AttrKey(self):
1949
+ """标签标识(不生效,无需填写) 已作废
1950
+ :rtype: str
1951
+ """
1952
+ return self._AttrKey
1953
+
1954
+ @AttrKey.setter
1955
+ def AttrKey(self, AttrKey):
1956
+ self._AttrKey = AttrKey
1957
+
1886
1958
  @property
1887
1959
  def LoginUin(self):
1888
1960
  """登录用户主账号(集成商模式必填)
@@ -1908,7 +1980,6 @@ class CreateAttributeLabelRequest(AbstractModel):
1908
1980
 
1909
1981
  def _deserialize(self, params):
1910
1982
  self._BotBizId = params.get("BotBizId")
1911
- self._AttrKey = params.get("AttrKey")
1912
1983
  self._AttrName = params.get("AttrName")
1913
1984
  if params.get("Labels") is not None:
1914
1985
  self._Labels = []
@@ -1916,6 +1987,7 @@ class CreateAttributeLabelRequest(AbstractModel):
1916
1987
  obj = AttributeLabel()
1917
1988
  obj._deserialize(item)
1918
1989
  self._Labels.append(obj)
1990
+ self._AttrKey = params.get("AttrKey")
1919
1991
  self._LoginUin = params.get("LoginUin")
1920
1992
  self._LoginSubAccountUin = params.get("LoginSubAccountUin")
1921
1993
  memeber_set = set(params.keys())
@@ -1935,11 +2007,25 @@ class CreateAttributeLabelResponse(AbstractModel):
1935
2007
 
1936
2008
  def __init__(self):
1937
2009
  r"""
2010
+ :param _AttrBizId: 标签ID
2011
+ :type AttrBizId: str
1938
2012
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1939
2013
  :type RequestId: str
1940
2014
  """
2015
+ self._AttrBizId = None
1941
2016
  self._RequestId = None
1942
2017
 
2018
+ @property
2019
+ def AttrBizId(self):
2020
+ """标签ID
2021
+ :rtype: str
2022
+ """
2023
+ return self._AttrBizId
2024
+
2025
+ @AttrBizId.setter
2026
+ def AttrBizId(self, AttrBizId):
2027
+ self._AttrBizId = AttrBizId
2028
+
1943
2029
  @property
1944
2030
  def RequestId(self):
1945
2031
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -1953,6 +2039,7 @@ class CreateAttributeLabelResponse(AbstractModel):
1953
2039
 
1954
2040
 
1955
2041
  def _deserialize(self, params):
2042
+ self._AttrBizId = params.get("AttrBizId")
1956
2043
  self._RequestId = params.get("RequestId")
1957
2044
 
1958
2045
 
@@ -2253,11 +2340,11 @@ class CreateQARequest(AbstractModel):
2253
2340
  :type Question: str
2254
2341
  :param _Answer: 答案
2255
2342
  :type Answer: str
2256
- :param _AttrRange: 属性标签适用范围 1:全部,2:按条件
2343
+ :param _AttrRange: 标签适用范围 1:全部,2:按条件
2257
2344
  :type AttrRange: int
2258
2345
  :param _CustomParam: 自定义参数
2259
2346
  :type CustomParam: str
2260
- :param _AttrLabels: 属性标签引用
2347
+ :param _AttrLabels: 标签引用
2261
2348
  :type AttrLabels: list of AttrLabelRefer
2262
2349
  :param _DocBizId: 文档ID
2263
2350
  :type DocBizId: str
@@ -2269,6 +2356,8 @@ class CreateQARequest(AbstractModel):
2269
2356
  :type ExpireEnd: str
2270
2357
  :param _SimilarQuestions: 相似问内容
2271
2358
  :type SimilarQuestions: list of str
2359
+ :param _QuestionDesc: 问题描述
2360
+ :type QuestionDesc: str
2272
2361
  """
2273
2362
  self._BotBizId = None
2274
2363
  self._Question = None
@@ -2281,6 +2370,7 @@ class CreateQARequest(AbstractModel):
2281
2370
  self._ExpireStart = None
2282
2371
  self._ExpireEnd = None
2283
2372
  self._SimilarQuestions = None
2373
+ self._QuestionDesc = None
2284
2374
 
2285
2375
  @property
2286
2376
  def BotBizId(self):
@@ -2317,7 +2407,7 @@ class CreateQARequest(AbstractModel):
2317
2407
 
2318
2408
  @property
2319
2409
  def AttrRange(self):
2320
- """属性标签适用范围 1:全部,2:按条件
2410
+ """标签适用范围 1:全部,2:按条件
2321
2411
  :rtype: int
2322
2412
  """
2323
2413
  return self._AttrRange
@@ -2339,7 +2429,7 @@ class CreateQARequest(AbstractModel):
2339
2429
 
2340
2430
  @property
2341
2431
  def AttrLabels(self):
2342
- """属性标签引用
2432
+ """标签引用
2343
2433
  :rtype: list of AttrLabelRefer
2344
2434
  """
2345
2435
  return self._AttrLabels
@@ -2403,6 +2493,17 @@ class CreateQARequest(AbstractModel):
2403
2493
  def SimilarQuestions(self, SimilarQuestions):
2404
2494
  self._SimilarQuestions = SimilarQuestions
2405
2495
 
2496
+ @property
2497
+ def QuestionDesc(self):
2498
+ """问题描述
2499
+ :rtype: str
2500
+ """
2501
+ return self._QuestionDesc
2502
+
2503
+ @QuestionDesc.setter
2504
+ def QuestionDesc(self, QuestionDesc):
2505
+ self._QuestionDesc = QuestionDesc
2506
+
2406
2507
 
2407
2508
  def _deserialize(self, params):
2408
2509
  self._BotBizId = params.get("BotBizId")
@@ -2421,6 +2522,7 @@ class CreateQARequest(AbstractModel):
2421
2522
  self._ExpireStart = params.get("ExpireStart")
2422
2523
  self._ExpireEnd = params.get("ExpireEnd")
2423
2524
  self._SimilarQuestions = params.get("SimilarQuestions")
2525
+ self._QuestionDesc = params.get("QuestionDesc")
2424
2526
  memeber_set = set(params.keys())
2425
2527
  for name, value in vars(self).items():
2426
2528
  property_name = name[1:]
@@ -3078,7 +3180,7 @@ class DeleteAttributeLabelRequest(AbstractModel):
3078
3180
  r"""
3079
3181
  :param _BotBizId: 应用ID
3080
3182
  :type BotBizId: str
3081
- :param _AttributeBizIds: 属性ID
3183
+ :param _AttributeBizIds: 标签ID
3082
3184
  :type AttributeBizIds: list of str
3083
3185
  :param _LoginUin: 登录用户主账号(集成商模式必填)
3084
3186
  :type LoginUin: str
@@ -3103,7 +3205,7 @@ class DeleteAttributeLabelRequest(AbstractModel):
3103
3205
 
3104
3206
  @property
3105
3207
  def AttributeBizIds(self):
3106
- """属性ID
3208
+ """标签ID
3107
3209
  :rtype: list of str
3108
3210
  """
3109
3211
  return self._AttributeBizIds
@@ -4044,12 +4146,14 @@ class DescribeCallStatsGraphRequest(AbstractModel):
4044
4146
  :type SubBizType: str
4045
4147
  :param _ModelName: 模型标识
4046
4148
  :type ModelName: str
4047
- :param _StartTime: 开始时间
4149
+ :param _StartTime: 开始时间戳, 单位为秒
4048
4150
  :type StartTime: str
4049
- :param _EndTime: 结束时间
4151
+ :param _EndTime: 结束时间戳, 单位为秒
4050
4152
  :type EndTime: str
4051
4153
  :param _AppBizIds: 应用id列表
4052
4154
  :type AppBizIds: list of str
4155
+ :param _SubScenes: 筛选子场景(文档解析场景使用)
4156
+ :type SubScenes: list of str
4053
4157
  """
4054
4158
  self._UinAccount = None
4055
4159
  self._LoginUin = None
@@ -4059,6 +4163,7 @@ class DescribeCallStatsGraphRequest(AbstractModel):
4059
4163
  self._StartTime = None
4060
4164
  self._EndTime = None
4061
4165
  self._AppBizIds = None
4166
+ self._SubScenes = None
4062
4167
 
4063
4168
  @property
4064
4169
  def UinAccount(self):
@@ -4117,7 +4222,7 @@ class DescribeCallStatsGraphRequest(AbstractModel):
4117
4222
 
4118
4223
  @property
4119
4224
  def StartTime(self):
4120
- """开始时间
4225
+ """开始时间戳, 单位为秒
4121
4226
  :rtype: str
4122
4227
  """
4123
4228
  return self._StartTime
@@ -4128,7 +4233,7 @@ class DescribeCallStatsGraphRequest(AbstractModel):
4128
4233
 
4129
4234
  @property
4130
4235
  def EndTime(self):
4131
- """结束时间
4236
+ """结束时间戳, 单位为秒
4132
4237
  :rtype: str
4133
4238
  """
4134
4239
  return self._EndTime
@@ -4148,6 +4253,17 @@ class DescribeCallStatsGraphRequest(AbstractModel):
4148
4253
  def AppBizIds(self, AppBizIds):
4149
4254
  self._AppBizIds = AppBizIds
4150
4255
 
4256
+ @property
4257
+ def SubScenes(self):
4258
+ """筛选子场景(文档解析场景使用)
4259
+ :rtype: list of str
4260
+ """
4261
+ return self._SubScenes
4262
+
4263
+ @SubScenes.setter
4264
+ def SubScenes(self, SubScenes):
4265
+ self._SubScenes = SubScenes
4266
+
4151
4267
 
4152
4268
  def _deserialize(self, params):
4153
4269
  self._UinAccount = params.get("UinAccount")
@@ -4158,6 +4274,7 @@ class DescribeCallStatsGraphRequest(AbstractModel):
4158
4274
  self._StartTime = params.get("StartTime")
4159
4275
  self._EndTime = params.get("EndTime")
4160
4276
  self._AppBizIds = params.get("AppBizIds")
4277
+ self._SubScenes = params.get("SubScenes")
4161
4278
  memeber_set = set(params.keys())
4162
4279
  for name, value in vars(self).items():
4163
4280
  property_name = name[1:]
@@ -4175,7 +4292,7 @@ class DescribeCallStatsGraphResponse(AbstractModel):
4175
4292
 
4176
4293
  def __init__(self):
4177
4294
  r"""
4178
- :param _List: 统计信息
4295
+ :param _List: 接口调用次数统计信息
4179
4296
  注意:此字段可能返回 null,表示取不到有效值。
4180
4297
  :type List: list of Stat
4181
4298
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -4186,7 +4303,7 @@ class DescribeCallStatsGraphResponse(AbstractModel):
4186
4303
 
4187
4304
  @property
4188
4305
  def List(self):
4189
- """统计信息
4306
+ """接口调用次数统计信息
4190
4307
  注意:此字段可能返回 null,表示取不到有效值。
4191
4308
  :rtype: list of Stat
4192
4309
  """
@@ -4227,9 +4344,9 @@ class DescribeConcurrencyUsageGraphRequest(AbstractModel):
4227
4344
  r"""
4228
4345
  :param _ModelName: 模型标识
4229
4346
  :type ModelName: str
4230
- :param _StartTime: 开始时间
4347
+ :param _StartTime: 开始时间戳, 单位为秒
4231
4348
  :type StartTime: str
4232
- :param _EndTime: 结束时间
4349
+ :param _EndTime: 结束时间戳, 单位为秒
4233
4350
  :type EndTime: str
4234
4351
  :param _UinAccount: uin
4235
4352
  :type UinAccount: list of str
@@ -4264,7 +4381,7 @@ class DescribeConcurrencyUsageGraphRequest(AbstractModel):
4264
4381
 
4265
4382
  @property
4266
4383
  def StartTime(self):
4267
- """开始时间
4384
+ """开始时间戳, 单位为秒
4268
4385
  :rtype: str
4269
4386
  """
4270
4387
  return self._StartTime
@@ -4275,7 +4392,7 @@ class DescribeConcurrencyUsageGraphRequest(AbstractModel):
4275
4392
 
4276
4393
  @property
4277
4394
  def EndTime(self):
4278
- """结束时间
4395
+ """结束时间戳, 单位为秒
4279
4396
  :rtype: str
4280
4397
  """
4281
4398
  return self._EndTime
@@ -4366,7 +4483,7 @@ class DescribeConcurrencyUsageGraphResponse(AbstractModel):
4366
4483
 
4367
4484
  def __init__(self):
4368
4485
  r"""
4369
- :param _X: 统计信息
4486
+ :param _X: X轴: 时间区域;根据查询条件的粒度返回“分/小时/日”两种区间范围
4370
4487
  :type X: list of str
4371
4488
  :param _AvailableY: 可用并发y轴坐标
4372
4489
  :type AvailableY: list of int
@@ -4382,7 +4499,7 @@ class DescribeConcurrencyUsageGraphResponse(AbstractModel):
4382
4499
 
4383
4500
  @property
4384
4501
  def X(self):
4385
- """统计信息
4502
+ """X轴: 时间区域;根据查询条件的粒度返回“分/小时/日”两种区间范围
4386
4503
  :rtype: list of str
4387
4504
  """
4388
4505
  return self._X
@@ -4441,9 +4558,9 @@ class DescribeConcurrencyUsageRequest(AbstractModel):
4441
4558
  r"""
4442
4559
  :param _ModelName: 模型标识
4443
4560
  :type ModelName: str
4444
- :param _StartTime: 开始时间
4561
+ :param _StartTime: 开始时间戳, 单位为秒
4445
4562
  :type StartTime: str
4446
- :param _EndTime: 结束时间
4563
+ :param _EndTime: 结束时间戳, 单位为秒
4447
4564
  :type EndTime: str
4448
4565
  :param _AppBizIds: 应用id列表
4449
4566
  :type AppBizIds: list of str
@@ -4466,7 +4583,7 @@ class DescribeConcurrencyUsageRequest(AbstractModel):
4466
4583
 
4467
4584
  @property
4468
4585
  def StartTime(self):
4469
- """开始时间
4586
+ """开始时间戳, 单位为秒
4470
4587
  :rtype: str
4471
4588
  """
4472
4589
  return self._StartTime
@@ -4477,7 +4594,7 @@ class DescribeConcurrencyUsageRequest(AbstractModel):
4477
4594
 
4478
4595
  @property
4479
4596
  def EndTime(self):
4480
- """结束时间
4597
+ """结束时间戳, 单位为秒
4481
4598
  :rtype: str
4482
4599
  """
4483
4600
  return self._EndTime
@@ -4520,11 +4637,11 @@ class DescribeConcurrencyUsageResponse(AbstractModel):
4520
4637
 
4521
4638
  def __init__(self):
4522
4639
  r"""
4523
- :param _AvailableConcurrency: 可用并发数
4640
+ :param _AvailableConcurrency: 可用并发数上限
4524
4641
  :type AvailableConcurrency: int
4525
4642
  :param _ConcurrencyPeak: 并发峰值
4526
4643
  :type ConcurrencyPeak: int
4527
- :param _ExceedUsageTime: 调用超可用次数
4644
+ :param _ExceedUsageTime: 超出可用并发数上限的次数
4528
4645
  :type ExceedUsageTime: int
4529
4646
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4530
4647
  :type RequestId: str
@@ -4536,7 +4653,7 @@ class DescribeConcurrencyUsageResponse(AbstractModel):
4536
4653
 
4537
4654
  @property
4538
4655
  def AvailableConcurrency(self):
4539
- """可用并发数
4656
+ """可用并发数上限
4540
4657
  :rtype: int
4541
4658
  """
4542
4659
  return self._AvailableConcurrency
@@ -4558,7 +4675,7 @@ class DescribeConcurrencyUsageResponse(AbstractModel):
4558
4675
 
4559
4676
  @property
4560
4677
  def ExceedUsageTime(self):
4561
- """调用超可用次数
4678
+ """超出可用并发数上限的次数
4562
4679
  :rtype: int
4563
4680
  """
4564
4681
  return self._ExceedUsageTime
@@ -4771,10 +4888,12 @@ class DescribeDocResponse(AbstractModel):
4771
4888
  :type DocCharSize: str
4772
4889
  :param _IsAllowEdit: 是否允许编辑
4773
4890
  :type IsAllowEdit: bool
4774
- :param _AttrRange: 属性标签适用范围 1:全部,2:按条件范围
4891
+ :param _AttrRange: 标签适用范围 1:全部,2:按条件范围
4775
4892
  :type AttrRange: int
4776
- :param _AttrLabels: 属性标签
4893
+ :param _AttrLabels: 标签
4777
4894
  :type AttrLabels: list of AttrLabel
4895
+ :param _CateBizId: 分类ID
4896
+ :type CateBizId: str
4778
4897
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4779
4898
  :type RequestId: str
4780
4899
  """
@@ -4801,6 +4920,7 @@ class DescribeDocResponse(AbstractModel):
4801
4920
  self._IsAllowEdit = None
4802
4921
  self._AttrRange = None
4803
4922
  self._AttrLabels = None
4923
+ self._CateBizId = None
4804
4924
  self._RequestId = None
4805
4925
 
4806
4926
  @property
@@ -5036,7 +5156,7 @@ class DescribeDocResponse(AbstractModel):
5036
5156
 
5037
5157
  @property
5038
5158
  def AttrRange(self):
5039
- """属性标签适用范围 1:全部,2:按条件范围
5159
+ """标签适用范围 1:全部,2:按条件范围
5040
5160
  :rtype: int
5041
5161
  """
5042
5162
  return self._AttrRange
@@ -5047,7 +5167,7 @@ class DescribeDocResponse(AbstractModel):
5047
5167
 
5048
5168
  @property
5049
5169
  def AttrLabels(self):
5050
- """属性标签
5170
+ """标签
5051
5171
  :rtype: list of AttrLabel
5052
5172
  """
5053
5173
  return self._AttrLabels
@@ -5056,6 +5176,17 @@ class DescribeDocResponse(AbstractModel):
5056
5176
  def AttrLabels(self, AttrLabels):
5057
5177
  self._AttrLabels = AttrLabels
5058
5178
 
5179
+ @property
5180
+ def CateBizId(self):
5181
+ """分类ID
5182
+ :rtype: str
5183
+ """
5184
+ return self._CateBizId
5185
+
5186
+ @CateBizId.setter
5187
+ def CateBizId(self, CateBizId):
5188
+ self._CateBizId = CateBizId
5189
+
5059
5190
  @property
5060
5191
  def RequestId(self):
5061
5192
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -5097,6 +5228,7 @@ class DescribeDocResponse(AbstractModel):
5097
5228
  obj = AttrLabel()
5098
5229
  obj._deserialize(item)
5099
5230
  self._AttrLabels.append(obj)
5231
+ self._CateBizId = params.get("CateBizId")
5100
5232
  self._RequestId = params.get("RequestId")
5101
5233
 
5102
5234
 
@@ -5212,9 +5344,9 @@ class DescribeKnowledgeUsageResponse(AbstractModel):
5212
5344
 
5213
5345
  def __init__(self):
5214
5346
  r"""
5215
- :param _AvailableCharSize: 可用字符数
5347
+ :param _AvailableCharSize: 可用字符数上限
5216
5348
  :type AvailableCharSize: str
5217
- :param _ExceedCharSize: 超量字符数
5349
+ :param _ExceedCharSize: 超过可用字符数上限的字符数
5218
5350
  :type ExceedCharSize: str
5219
5351
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5220
5352
  :type RequestId: str
@@ -5225,7 +5357,7 @@ class DescribeKnowledgeUsageResponse(AbstractModel):
5225
5357
 
5226
5358
  @property
5227
5359
  def AvailableCharSize(self):
5228
- """可用字符数
5360
+ """可用字符数上限
5229
5361
  :rtype: str
5230
5362
  """
5231
5363
  return self._AvailableCharSize
@@ -5236,7 +5368,7 @@ class DescribeKnowledgeUsageResponse(AbstractModel):
5236
5368
 
5237
5369
  @property
5238
5370
  def ExceedCharSize(self):
5239
- """超量字符数
5371
+ """超过可用字符数上限的字符数
5240
5372
  :rtype: str
5241
5373
  """
5242
5374
  return self._ExceedCharSize
@@ -5380,10 +5512,9 @@ class DescribeQAResponse(AbstractModel):
5380
5512
  :param _OrgData: 分片内容
5381
5513
 
5382
5514
  :type OrgData: str
5383
- :param _AttrRange: 属性标签适用范围
5384
-
5515
+ :param _AttrRange: 标签适用范围
5385
5516
  :type AttrRange: int
5386
- :param _AttrLabels: 属性标签
5517
+ :param _AttrLabels: 标签
5387
5518
  :type AttrLabels: list of AttrLabel
5388
5519
  :param _ExpireStart: 有效开始时间,unix时间戳
5389
5520
  :type ExpireStart: str
@@ -5391,6 +5522,14 @@ class DescribeQAResponse(AbstractModel):
5391
5522
  :type ExpireEnd: str
5392
5523
  :param _SimilarQuestions: 相似问列表信息
5393
5524
  :type SimilarQuestions: list of SimilarQuestion
5525
+ :param _QaAuditStatus: 问题和答案文本审核状态 1审核失败
5526
+ :type QaAuditStatus: int
5527
+ :param _PicAuditStatus: 答案中的图片审核状态 1审核失败
5528
+ :type PicAuditStatus: int
5529
+ :param _VideoAuditStatus: 答案中的视频审核状态 1审核失败
5530
+ :type VideoAuditStatus: int
5531
+ :param _QuestionDesc: 问题描述
5532
+ :type QuestionDesc: str
5394
5533
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5395
5534
  :type RequestId: str
5396
5535
  """
@@ -5419,6 +5558,10 @@ class DescribeQAResponse(AbstractModel):
5419
5558
  self._ExpireStart = None
5420
5559
  self._ExpireEnd = None
5421
5560
  self._SimilarQuestions = None
5561
+ self._QaAuditStatus = None
5562
+ self._PicAuditStatus = None
5563
+ self._VideoAuditStatus = None
5564
+ self._QuestionDesc = None
5422
5565
  self._RequestId = None
5423
5566
 
5424
5567
  @property
@@ -5660,8 +5803,7 @@ class DescribeQAResponse(AbstractModel):
5660
5803
 
5661
5804
  @property
5662
5805
  def AttrRange(self):
5663
- """属性标签适用范围
5664
-
5806
+ """标签适用范围
5665
5807
  :rtype: int
5666
5808
  """
5667
5809
  return self._AttrRange
@@ -5672,7 +5814,7 @@ class DescribeQAResponse(AbstractModel):
5672
5814
 
5673
5815
  @property
5674
5816
  def AttrLabels(self):
5675
- """属性标签
5817
+ """标签
5676
5818
  :rtype: list of AttrLabel
5677
5819
  """
5678
5820
  return self._AttrLabels
@@ -5714,6 +5856,50 @@ class DescribeQAResponse(AbstractModel):
5714
5856
  def SimilarQuestions(self, SimilarQuestions):
5715
5857
  self._SimilarQuestions = SimilarQuestions
5716
5858
 
5859
+ @property
5860
+ def QaAuditStatus(self):
5861
+ """问题和答案文本审核状态 1审核失败
5862
+ :rtype: int
5863
+ """
5864
+ return self._QaAuditStatus
5865
+
5866
+ @QaAuditStatus.setter
5867
+ def QaAuditStatus(self, QaAuditStatus):
5868
+ self._QaAuditStatus = QaAuditStatus
5869
+
5870
+ @property
5871
+ def PicAuditStatus(self):
5872
+ """答案中的图片审核状态 1审核失败
5873
+ :rtype: int
5874
+ """
5875
+ return self._PicAuditStatus
5876
+
5877
+ @PicAuditStatus.setter
5878
+ def PicAuditStatus(self, PicAuditStatus):
5879
+ self._PicAuditStatus = PicAuditStatus
5880
+
5881
+ @property
5882
+ def VideoAuditStatus(self):
5883
+ """答案中的视频审核状态 1审核失败
5884
+ :rtype: int
5885
+ """
5886
+ return self._VideoAuditStatus
5887
+
5888
+ @VideoAuditStatus.setter
5889
+ def VideoAuditStatus(self, VideoAuditStatus):
5890
+ self._VideoAuditStatus = VideoAuditStatus
5891
+
5892
+ @property
5893
+ def QuestionDesc(self):
5894
+ """问题描述
5895
+ :rtype: str
5896
+ """
5897
+ return self._QuestionDesc
5898
+
5899
+ @QuestionDesc.setter
5900
+ def QuestionDesc(self, QuestionDesc):
5901
+ self._QuestionDesc = QuestionDesc
5902
+
5717
5903
  @property
5718
5904
  def RequestId(self):
5719
5905
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -5767,6 +5953,10 @@ class DescribeQAResponse(AbstractModel):
5767
5953
  obj = SimilarQuestion()
5768
5954
  obj._deserialize(item)
5769
5955
  self._SimilarQuestions.append(obj)
5956
+ self._QaAuditStatus = params.get("QaAuditStatus")
5957
+ self._PicAuditStatus = params.get("PicAuditStatus")
5958
+ self._VideoAuditStatus = params.get("VideoAuditStatus")
5959
+ self._QuestionDesc = params.get("QuestionDesc")
5770
5960
  self._RequestId = params.get("RequestId")
5771
5961
 
5772
5962
 
@@ -6262,9 +6452,9 @@ class DescribeSearchStatsGraphRequest(AbstractModel):
6262
6452
  :type SubBizType: str
6263
6453
  :param _ModelName: 模型标识
6264
6454
  :type ModelName: str
6265
- :param _StartTime: 开始时间
6455
+ :param _StartTime: 开始时间戳, 单位为秒
6266
6456
  :type StartTime: str
6267
- :param _EndTime: 结束时间
6457
+ :param _EndTime: 结束时间戳, 单位为秒
6268
6458
  :type EndTime: str
6269
6459
  :param _AppBizIds: 应用id列表
6270
6460
  :type AppBizIds: list of str
@@ -6335,7 +6525,7 @@ class DescribeSearchStatsGraphRequest(AbstractModel):
6335
6525
 
6336
6526
  @property
6337
6527
  def StartTime(self):
6338
- """开始时间
6528
+ """开始时间戳, 单位为秒
6339
6529
  :rtype: str
6340
6530
  """
6341
6531
  return self._StartTime
@@ -6346,7 +6536,7 @@ class DescribeSearchStatsGraphRequest(AbstractModel):
6346
6536
 
6347
6537
  @property
6348
6538
  def EndTime(self):
6349
- """结束时间
6539
+ """结束时间戳, 单位为秒
6350
6540
  :rtype: str
6351
6541
  """
6352
6542
  return self._EndTime
@@ -6445,7 +6635,7 @@ class DescribeSegmentsRequest(AbstractModel):
6445
6635
  r"""
6446
6636
  :param _BotBizId: 应用ID
6447
6637
  :type BotBizId: str
6448
- :param _SegBizId: 文档ID
6638
+ :param _SegBizId: 文档片段ID
6449
6639
  :type SegBizId: list of str
6450
6640
  """
6451
6641
  self._BotBizId = None
@@ -6464,7 +6654,7 @@ class DescribeSegmentsRequest(AbstractModel):
6464
6654
 
6465
6655
  @property
6466
6656
  def SegBizId(self):
6467
- """文档ID
6657
+ """文档片段ID
6468
6658
  :rtype: list of str
6469
6659
  """
6470
6660
  return self._SegBizId
@@ -6811,9 +7001,9 @@ class DescribeTokenUsageGraphRequest(AbstractModel):
6811
7001
  :type SubBizType: str
6812
7002
  :param _ModelName: 模型标识
6813
7003
  :type ModelName: str
6814
- :param _StartTime: 开始时间
7004
+ :param _StartTime: 开始时间戳, 单位为秒
6815
7005
  :type StartTime: str
6816
- :param _EndTime: 结束时间
7006
+ :param _EndTime: 结束时间戳, 单位为秒
6817
7007
  :type EndTime: str
6818
7008
  :param _AppBizIds: 应用id列表
6819
7009
  :type AppBizIds: list of str
@@ -6860,7 +7050,7 @@ class DescribeTokenUsageGraphRequest(AbstractModel):
6860
7050
 
6861
7051
  @property
6862
7052
  def StartTime(self):
6863
- """开始时间
7053
+ """开始时间戳, 单位为秒
6864
7054
  :rtype: str
6865
7055
  """
6866
7056
  return self._StartTime
@@ -6871,7 +7061,7 @@ class DescribeTokenUsageGraphRequest(AbstractModel):
6871
7061
 
6872
7062
  @property
6873
7063
  def EndTime(self):
6874
- """结束时间
7064
+ """结束时间戳, 单位为秒
6875
7065
  :rtype: str
6876
7066
  """
6877
7067
  return self._EndTime
@@ -6916,11 +7106,11 @@ class DescribeTokenUsageGraphResponse(AbstractModel):
6916
7106
 
6917
7107
  def __init__(self):
6918
7108
  r"""
6919
- :param _Total: 总消耗
7109
+ :param _Total: Token消耗总量
6920
7110
  :type Total: list of Stat
6921
- :param _Input: 输入消耗
7111
+ :param _Input: 输入Token消耗量
6922
7112
  :type Input: list of Stat
6923
- :param _Output: 输出消耗
7113
+ :param _Output: 输出Token消耗量
6924
7114
  :type Output: list of Stat
6925
7115
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6926
7116
  :type RequestId: str
@@ -6932,7 +7122,7 @@ class DescribeTokenUsageGraphResponse(AbstractModel):
6932
7122
 
6933
7123
  @property
6934
7124
  def Total(self):
6935
- """总消耗
7125
+ """Token消耗总量
6936
7126
  :rtype: list of Stat
6937
7127
  """
6938
7128
  return self._Total
@@ -6943,7 +7133,7 @@ class DescribeTokenUsageGraphResponse(AbstractModel):
6943
7133
 
6944
7134
  @property
6945
7135
  def Input(self):
6946
- """输入消耗
7136
+ """输入Token消耗量
6947
7137
  :rtype: list of Stat
6948
7138
  """
6949
7139
  return self._Input
@@ -6954,7 +7144,7 @@ class DescribeTokenUsageGraphResponse(AbstractModel):
6954
7144
 
6955
7145
  @property
6956
7146
  def Output(self):
6957
- """输出消耗
7147
+ """输出Token消耗量
6958
7148
  :rtype: list of Stat
6959
7149
  """
6960
7150
  return self._Output
@@ -7014,12 +7204,14 @@ class DescribeTokenUsageRequest(AbstractModel):
7014
7204
  :type SubBizType: str
7015
7205
  :param _ModelName: 模型标识
7016
7206
  :type ModelName: str
7017
- :param _StartTime: 开始时间
7207
+ :param _StartTime: 开始时间戳, 单位为秒
7018
7208
  :type StartTime: str
7019
- :param _EndTime: 结束时间
7209
+ :param _EndTime: 结束时间戳, 单位为秒
7020
7210
  :type EndTime: str
7021
7211
  :param _AppBizIds: 应用id列表
7022
7212
  :type AppBizIds: list of str
7213
+ :param _SubScenes: 筛选子场景(文档解析场景使用)
7214
+ :type SubScenes: list of str
7023
7215
  """
7024
7216
  self._UinAccount = None
7025
7217
  self._LoginUin = None
@@ -7029,6 +7221,7 @@ class DescribeTokenUsageRequest(AbstractModel):
7029
7221
  self._StartTime = None
7030
7222
  self._EndTime = None
7031
7223
  self._AppBizIds = None
7224
+ self._SubScenes = None
7032
7225
 
7033
7226
  @property
7034
7227
  def UinAccount(self):
@@ -7087,7 +7280,7 @@ class DescribeTokenUsageRequest(AbstractModel):
7087
7280
 
7088
7281
  @property
7089
7282
  def StartTime(self):
7090
- """开始时间
7283
+ """开始时间戳, 单位为秒
7091
7284
  :rtype: str
7092
7285
  """
7093
7286
  return self._StartTime
@@ -7098,7 +7291,7 @@ class DescribeTokenUsageRequest(AbstractModel):
7098
7291
 
7099
7292
  @property
7100
7293
  def EndTime(self):
7101
- """结束时间
7294
+ """结束时间戳, 单位为秒
7102
7295
  :rtype: str
7103
7296
  """
7104
7297
  return self._EndTime
@@ -7118,6 +7311,17 @@ class DescribeTokenUsageRequest(AbstractModel):
7118
7311
  def AppBizIds(self, AppBizIds):
7119
7312
  self._AppBizIds = AppBizIds
7120
7313
 
7314
+ @property
7315
+ def SubScenes(self):
7316
+ """筛选子场景(文档解析场景使用)
7317
+ :rtype: list of str
7318
+ """
7319
+ return self._SubScenes
7320
+
7321
+ @SubScenes.setter
7322
+ def SubScenes(self, SubScenes):
7323
+ self._SubScenes = SubScenes
7324
+
7121
7325
 
7122
7326
  def _deserialize(self, params):
7123
7327
  self._UinAccount = params.get("UinAccount")
@@ -7128,6 +7332,7 @@ class DescribeTokenUsageRequest(AbstractModel):
7128
7332
  self._StartTime = params.get("StartTime")
7129
7333
  self._EndTime = params.get("EndTime")
7130
7334
  self._AppBizIds = params.get("AppBizIds")
7335
+ self._SubScenes = params.get("SubScenes")
7131
7336
  memeber_set = set(params.keys())
7132
7337
  for name, value in vars(self).items():
7133
7338
  property_name = name[1:]
@@ -7155,6 +7360,8 @@ class DescribeTokenUsageResponse(AbstractModel):
7155
7360
  :type ApiCallStats: int
7156
7361
  :param _SearchUsage: 搜索服务调用次数
7157
7362
  :type SearchUsage: float
7363
+ :param _PageUsage: 文档解析消耗页数
7364
+ :type PageUsage: int
7158
7365
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7159
7366
  :type RequestId: str
7160
7367
  """
@@ -7163,6 +7370,7 @@ class DescribeTokenUsageResponse(AbstractModel):
7163
7370
  self._OutputTokenUsage = None
7164
7371
  self._ApiCallStats = None
7165
7372
  self._SearchUsage = None
7373
+ self._PageUsage = None
7166
7374
  self._RequestId = None
7167
7375
 
7168
7376
  @property
@@ -7220,6 +7428,17 @@ class DescribeTokenUsageResponse(AbstractModel):
7220
7428
  def SearchUsage(self, SearchUsage):
7221
7429
  self._SearchUsage = SearchUsage
7222
7430
 
7431
+ @property
7432
+ def PageUsage(self):
7433
+ """文档解析消耗页数
7434
+ :rtype: int
7435
+ """
7436
+ return self._PageUsage
7437
+
7438
+ @PageUsage.setter
7439
+ def PageUsage(self, PageUsage):
7440
+ self._PageUsage = PageUsage
7441
+
7223
7442
  @property
7224
7443
  def RequestId(self):
7225
7444
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -7238,6 +7457,7 @@ class DescribeTokenUsageResponse(AbstractModel):
7238
7457
  self._OutputTokenUsage = params.get("OutputTokenUsage")
7239
7458
  self._ApiCallStats = params.get("ApiCallStats")
7240
7459
  self._SearchUsage = params.get("SearchUsage")
7460
+ self._PageUsage = params.get("PageUsage")
7241
7461
  self._RequestId = params.get("RequestId")
7242
7462
 
7243
7463
 
@@ -10898,13 +11118,13 @@ class KnowledgeCapacityPieGraphDetail(AbstractModel):
10898
11118
 
10899
11119
  def __init__(self):
10900
11120
  r"""
10901
- :param _AppName: 应用名称
11121
+ :param _AppName: 当前应用名称
10902
11122
  注意:此字段可能返回 null,表示取不到有效值。
10903
11123
  :type AppName: str
10904
- :param _UsedCharSize: 应用使用的字符数
11124
+ :param _UsedCharSize: 当前应用使用的字符数
10905
11125
  注意:此字段可能返回 null,表示取不到有效值。
10906
11126
  :type UsedCharSize: str
10907
- :param _Proportion: 应用占比
11127
+ :param _Proportion: 当前应用对于总用量的占比
10908
11128
  注意:此字段可能返回 null,表示取不到有效值。
10909
11129
  :type Proportion: float
10910
11130
  """
@@ -10914,7 +11134,7 @@ class KnowledgeCapacityPieGraphDetail(AbstractModel):
10914
11134
 
10915
11135
  @property
10916
11136
  def AppName(self):
10917
- """应用名称
11137
+ """当前应用名称
10918
11138
  注意:此字段可能返回 null,表示取不到有效值。
10919
11139
  :rtype: str
10920
11140
  """
@@ -10926,7 +11146,7 @@ class KnowledgeCapacityPieGraphDetail(AbstractModel):
10926
11146
 
10927
11147
  @property
10928
11148
  def UsedCharSize(self):
10929
- """应用使用的字符数
11149
+ """当前应用使用的字符数
10930
11150
  注意:此字段可能返回 null,表示取不到有效值。
10931
11151
  :rtype: str
10932
11152
  """
@@ -10938,7 +11158,7 @@ class KnowledgeCapacityPieGraphDetail(AbstractModel):
10938
11158
 
10939
11159
  @property
10940
11160
  def Proportion(self):
10941
- """应用占比
11161
+ """当前应用对于总用量的占比
10942
11162
  注意:此字段可能返回 null,表示取不到有效值。
10943
11163
  :rtype: float
10944
11164
  """
@@ -10985,12 +11205,20 @@ class KnowledgeQaConfig(AbstractModel):
10985
11205
  :param _Output: 知识管理输出配置
10986
11206
  注意:此字段可能返回 null,表示取不到有效值。
10987
11207
  :type Output: :class:`tencentcloud.lke.v20231130.models.KnowledgeQaOutput`
11208
+ :param _Workflow: 工作流程配置
11209
+ 注意:此字段可能返回 null,表示取不到有效值。
11210
+ :type Workflow: :class:`tencentcloud.lke.v20231130.models.KnowledgeWorkflow`
11211
+ :param _SearchRange: 检索范围
11212
+ 注意:此字段可能返回 null,表示取不到有效值。
11213
+ :type SearchRange: :class:`tencentcloud.lke.v20231130.models.SearchRange`
10988
11214
  """
10989
11215
  self._Greeting = None
10990
11216
  self._RoleDescription = None
10991
11217
  self._Model = None
10992
11218
  self._Search = None
10993
11219
  self._Output = None
11220
+ self._Workflow = None
11221
+ self._SearchRange = None
10994
11222
 
10995
11223
  @property
10996
11224
  def Greeting(self):
@@ -11052,6 +11280,30 @@ class KnowledgeQaConfig(AbstractModel):
11052
11280
  def Output(self, Output):
11053
11281
  self._Output = Output
11054
11282
 
11283
+ @property
11284
+ def Workflow(self):
11285
+ """工作流程配置
11286
+ 注意:此字段可能返回 null,表示取不到有效值。
11287
+ :rtype: :class:`tencentcloud.lke.v20231130.models.KnowledgeWorkflow`
11288
+ """
11289
+ return self._Workflow
11290
+
11291
+ @Workflow.setter
11292
+ def Workflow(self, Workflow):
11293
+ self._Workflow = Workflow
11294
+
11295
+ @property
11296
+ def SearchRange(self):
11297
+ """检索范围
11298
+ 注意:此字段可能返回 null,表示取不到有效值。
11299
+ :rtype: :class:`tencentcloud.lke.v20231130.models.SearchRange`
11300
+ """
11301
+ return self._SearchRange
11302
+
11303
+ @SearchRange.setter
11304
+ def SearchRange(self, SearchRange):
11305
+ self._SearchRange = SearchRange
11306
+
11055
11307
 
11056
11308
  def _deserialize(self, params):
11057
11309
  self._Greeting = params.get("Greeting")
@@ -11068,6 +11320,12 @@ class KnowledgeQaConfig(AbstractModel):
11068
11320
  if params.get("Output") is not None:
11069
11321
  self._Output = KnowledgeQaOutput()
11070
11322
  self._Output._deserialize(params.get("Output"))
11323
+ if params.get("Workflow") is not None:
11324
+ self._Workflow = KnowledgeWorkflow()
11325
+ self._Workflow._deserialize(params.get("Workflow"))
11326
+ if params.get("SearchRange") is not None:
11327
+ self._SearchRange = SearchRange()
11328
+ self._SearchRange._deserialize(params.get("SearchRange"))
11071
11329
  memeber_set = set(params.keys())
11072
11330
  for name, value in vars(self).items():
11073
11331
  property_name = name[1:]
@@ -11447,6 +11705,44 @@ class KnowledgeSummary(AbstractModel):
11447
11705
 
11448
11706
 
11449
11707
 
11708
+ class KnowledgeWorkflow(AbstractModel):
11709
+ """问答知识库工作流配置
11710
+
11711
+ """
11712
+
11713
+ def __init__(self):
11714
+ r"""
11715
+ :param _IsEnabled: 是否启用工作流
11716
+ 注意:此字段可能返回 null,表示取不到有效值。
11717
+ :type IsEnabled: bool
11718
+ """
11719
+ self._IsEnabled = None
11720
+
11721
+ @property
11722
+ def IsEnabled(self):
11723
+ """是否启用工作流
11724
+ 注意:此字段可能返回 null,表示取不到有效值。
11725
+ :rtype: bool
11726
+ """
11727
+ return self._IsEnabled
11728
+
11729
+ @IsEnabled.setter
11730
+ def IsEnabled(self, IsEnabled):
11731
+ self._IsEnabled = IsEnabled
11732
+
11733
+
11734
+ def _deserialize(self, params):
11735
+ self._IsEnabled = params.get("IsEnabled")
11736
+ memeber_set = set(params.keys())
11737
+ for name, value in vars(self).items():
11738
+ property_name = name[1:]
11739
+ if property_name in memeber_set:
11740
+ memeber_set.remove(property_name)
11741
+ if len(memeber_set) > 0:
11742
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11743
+
11744
+
11745
+
11450
11746
  class Label(AbstractModel):
11451
11747
  """标签ID
11452
11748
 
@@ -12484,12 +12780,18 @@ class ListDocRequest(AbstractModel):
12484
12780
  :type Query: str
12485
12781
  :param _Status: 文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10-待发布 11-发布中 12-已发布 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复
12486
12782
  :type Status: list of int
12783
+ :param _QueryType: 查询类型 filename 文档、 attribute 标签
12784
+ :type QueryType: str
12785
+ :param _CateBizId: 分类ID
12786
+ :type CateBizId: str
12487
12787
  """
12488
12788
  self._BotBizId = None
12489
12789
  self._PageNumber = None
12490
12790
  self._PageSize = None
12491
12791
  self._Query = None
12492
12792
  self._Status = None
12793
+ self._QueryType = None
12794
+ self._CateBizId = None
12493
12795
 
12494
12796
  @property
12495
12797
  def BotBizId(self):
@@ -12546,6 +12848,28 @@ class ListDocRequest(AbstractModel):
12546
12848
  def Status(self, Status):
12547
12849
  self._Status = Status
12548
12850
 
12851
+ @property
12852
+ def QueryType(self):
12853
+ """查询类型 filename 文档、 attribute 标签
12854
+ :rtype: str
12855
+ """
12856
+ return self._QueryType
12857
+
12858
+ @QueryType.setter
12859
+ def QueryType(self, QueryType):
12860
+ self._QueryType = QueryType
12861
+
12862
+ @property
12863
+ def CateBizId(self):
12864
+ """分类ID
12865
+ :rtype: str
12866
+ """
12867
+ return self._CateBizId
12868
+
12869
+ @CateBizId.setter
12870
+ def CateBizId(self, CateBizId):
12871
+ self._CateBizId = CateBizId
12872
+
12549
12873
 
12550
12874
  def _deserialize(self, params):
12551
12875
  self._BotBizId = params.get("BotBizId")
@@ -12553,6 +12877,8 @@ class ListDocRequest(AbstractModel):
12553
12877
  self._PageSize = params.get("PageSize")
12554
12878
  self._Query = params.get("Query")
12555
12879
  self._Status = params.get("Status")
12880
+ self._QueryType = params.get("QueryType")
12881
+ self._CateBizId = params.get("CateBizId")
12556
12882
  memeber_set = set(params.keys())
12557
12883
  for name, value in vars(self).items():
12558
12884
  property_name = name[1:]
@@ -12851,6 +13177,8 @@ class ListQARequest(AbstractModel):
12851
13177
  :type QueryAnswer: str
12852
13178
  :param _QaBizIds: QA业务ID列表
12853
13179
  :type QaBizIds: list of str
13180
+ :param _QueryType: 查询类型 filename 名称、 attribute 标签
13181
+ :type QueryType: str
12854
13182
  """
12855
13183
  self._BotBizId = None
12856
13184
  self._PageNumber = None
@@ -12862,6 +13190,7 @@ class ListQARequest(AbstractModel):
12862
13190
  self._Source = None
12863
13191
  self._QueryAnswer = None
12864
13192
  self._QaBizIds = None
13193
+ self._QueryType = None
12865
13194
 
12866
13195
  @property
12867
13196
  def BotBizId(self):
@@ -12973,6 +13302,17 @@ class ListQARequest(AbstractModel):
12973
13302
  def QaBizIds(self, QaBizIds):
12974
13303
  self._QaBizIds = QaBizIds
12975
13304
 
13305
+ @property
13306
+ def QueryType(self):
13307
+ """查询类型 filename 名称、 attribute 标签
13308
+ :rtype: str
13309
+ """
13310
+ return self._QueryType
13311
+
13312
+ @QueryType.setter
13313
+ def QueryType(self, QueryType):
13314
+ self._QueryType = QueryType
13315
+
12976
13316
 
12977
13317
  def _deserialize(self, params):
12978
13318
  self._BotBizId = params.get("BotBizId")
@@ -12985,6 +13325,7 @@ class ListQARequest(AbstractModel):
12985
13325
  self._Source = params.get("Source")
12986
13326
  self._QueryAnswer = params.get("QueryAnswer")
12987
13327
  self._QaBizIds = params.get("QaBizIds")
13328
+ self._QueryType = params.get("QueryType")
12988
13329
  memeber_set = set(params.keys())
12989
13330
  for name, value in vars(self).items():
12990
13331
  property_name = name[1:]
@@ -15128,12 +15469,24 @@ class ModelInfo(AbstractModel):
15128
15469
  :param _PromptWordsLimit: 提示词内容字符限制
15129
15470
  注意:此字段可能返回 null,表示取不到有效值。
15130
15471
  :type PromptWordsLimit: str
15472
+ :param _TopP: 通过核心采样控制内容生成的多样性,较高的Top P值会导致生成更多样的内容
15473
+ 注意:此字段可能返回 null,表示取不到有效值。
15474
+ :type TopP: :class:`tencentcloud.lke.v20231130.models.ModelParameter`
15475
+ :param _Temperature: 温度控制随机性
15476
+ 注意:此字段可能返回 null,表示取不到有效值。
15477
+ :type Temperature: :class:`tencentcloud.lke.v20231130.models.ModelParameter`
15478
+ :param _MaxTokens: 最多能生成的token数量
15479
+ 注意:此字段可能返回 null,表示取不到有效值。
15480
+ :type MaxTokens: :class:`tencentcloud.lke.v20231130.models.ModelParameter`
15131
15481
  """
15132
15482
  self._ModelName = None
15133
15483
  self._ModelDesc = None
15134
15484
  self._AliasName = None
15135
15485
  self._ResourceStatus = None
15136
15486
  self._PromptWordsLimit = None
15487
+ self._TopP = None
15488
+ self._Temperature = None
15489
+ self._MaxTokens = None
15137
15490
 
15138
15491
  @property
15139
15492
  def ModelName(self):
@@ -15195,6 +15548,42 @@ class ModelInfo(AbstractModel):
15195
15548
  def PromptWordsLimit(self, PromptWordsLimit):
15196
15549
  self._PromptWordsLimit = PromptWordsLimit
15197
15550
 
15551
+ @property
15552
+ def TopP(self):
15553
+ """通过核心采样控制内容生成的多样性,较高的Top P值会导致生成更多样的内容
15554
+ 注意:此字段可能返回 null,表示取不到有效值。
15555
+ :rtype: :class:`tencentcloud.lke.v20231130.models.ModelParameter`
15556
+ """
15557
+ return self._TopP
15558
+
15559
+ @TopP.setter
15560
+ def TopP(self, TopP):
15561
+ self._TopP = TopP
15562
+
15563
+ @property
15564
+ def Temperature(self):
15565
+ """温度控制随机性
15566
+ 注意:此字段可能返回 null,表示取不到有效值。
15567
+ :rtype: :class:`tencentcloud.lke.v20231130.models.ModelParameter`
15568
+ """
15569
+ return self._Temperature
15570
+
15571
+ @Temperature.setter
15572
+ def Temperature(self, Temperature):
15573
+ self._Temperature = Temperature
15574
+
15575
+ @property
15576
+ def MaxTokens(self):
15577
+ """最多能生成的token数量
15578
+ 注意:此字段可能返回 null,表示取不到有效值。
15579
+ :rtype: :class:`tencentcloud.lke.v20231130.models.ModelParameter`
15580
+ """
15581
+ return self._MaxTokens
15582
+
15583
+ @MaxTokens.setter
15584
+ def MaxTokens(self, MaxTokens):
15585
+ self._MaxTokens = MaxTokens
15586
+
15198
15587
 
15199
15588
  def _deserialize(self, params):
15200
15589
  self._ModelName = params.get("ModelName")
@@ -15202,6 +15591,87 @@ class ModelInfo(AbstractModel):
15202
15591
  self._AliasName = params.get("AliasName")
15203
15592
  self._ResourceStatus = params.get("ResourceStatus")
15204
15593
  self._PromptWordsLimit = params.get("PromptWordsLimit")
15594
+ if params.get("TopP") is not None:
15595
+ self._TopP = ModelParameter()
15596
+ self._TopP._deserialize(params.get("TopP"))
15597
+ if params.get("Temperature") is not None:
15598
+ self._Temperature = ModelParameter()
15599
+ self._Temperature._deserialize(params.get("Temperature"))
15600
+ if params.get("MaxTokens") is not None:
15601
+ self._MaxTokens = ModelParameter()
15602
+ self._MaxTokens._deserialize(params.get("MaxTokens"))
15603
+ memeber_set = set(params.keys())
15604
+ for name, value in vars(self).items():
15605
+ property_name = name[1:]
15606
+ if property_name in memeber_set:
15607
+ memeber_set.remove(property_name)
15608
+ if len(memeber_set) > 0:
15609
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15610
+
15611
+
15612
+
15613
+ class ModelParameter(AbstractModel):
15614
+ """模型参数范围
15615
+
15616
+ """
15617
+
15618
+ def __init__(self):
15619
+ r"""
15620
+ :param _Default: 默认值
15621
+ 注意:此字段可能返回 null,表示取不到有效值。
15622
+ :type Default: float
15623
+ :param _Min: 最小值
15624
+ 注意:此字段可能返回 null,表示取不到有效值。
15625
+ :type Min: float
15626
+ :param _Max: 最大值
15627
+ 注意:此字段可能返回 null,表示取不到有效值。
15628
+ :type Max: float
15629
+ """
15630
+ self._Default = None
15631
+ self._Min = None
15632
+ self._Max = None
15633
+
15634
+ @property
15635
+ def Default(self):
15636
+ """默认值
15637
+ 注意:此字段可能返回 null,表示取不到有效值。
15638
+ :rtype: float
15639
+ """
15640
+ return self._Default
15641
+
15642
+ @Default.setter
15643
+ def Default(self, Default):
15644
+ self._Default = Default
15645
+
15646
+ @property
15647
+ def Min(self):
15648
+ """最小值
15649
+ 注意:此字段可能返回 null,表示取不到有效值。
15650
+ :rtype: float
15651
+ """
15652
+ return self._Min
15653
+
15654
+ @Min.setter
15655
+ def Min(self, Min):
15656
+ self._Min = Min
15657
+
15658
+ @property
15659
+ def Max(self):
15660
+ """最大值
15661
+ 注意:此字段可能返回 null,表示取不到有效值。
15662
+ :rtype: float
15663
+ """
15664
+ return self._Max
15665
+
15666
+ @Max.setter
15667
+ def Max(self, Max):
15668
+ self._Max = Max
15669
+
15670
+
15671
+ def _deserialize(self, params):
15672
+ self._Default = params.get("Default")
15673
+ self._Min = params.get("Min")
15674
+ self._Max = params.get("Max")
15205
15675
  memeber_set = set(params.keys())
15206
15676
  for name, value in vars(self).items():
15207
15677
  property_name = name[1:]
@@ -15225,16 +15695,16 @@ class ModifyAppRequest(AbstractModel):
15225
15695
  :type AppType: str
15226
15696
  :param _BaseConfig: 应用基础配置
15227
15697
  :type BaseConfig: :class:`tencentcloud.lke.v20231130.models.BaseConfig`
15228
- :param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
15229
- :type LoginSubAccountUin: str
15230
15698
  :param _AppConfig: 应用配置
15231
15699
  :type AppConfig: :class:`tencentcloud.lke.v20231130.models.AppConfig`
15700
+ :param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
15701
+ :type LoginSubAccountUin: str
15232
15702
  """
15233
15703
  self._AppBizId = None
15234
15704
  self._AppType = None
15235
15705
  self._BaseConfig = None
15236
- self._LoginSubAccountUin = None
15237
15706
  self._AppConfig = None
15707
+ self._LoginSubAccountUin = None
15238
15708
 
15239
15709
  @property
15240
15710
  def AppBizId(self):
@@ -15269,17 +15739,6 @@ class ModifyAppRequest(AbstractModel):
15269
15739
  def BaseConfig(self, BaseConfig):
15270
15740
  self._BaseConfig = BaseConfig
15271
15741
 
15272
- @property
15273
- def LoginSubAccountUin(self):
15274
- """登录用户子账号(集成商模式必填)
15275
- :rtype: str
15276
- """
15277
- return self._LoginSubAccountUin
15278
-
15279
- @LoginSubAccountUin.setter
15280
- def LoginSubAccountUin(self, LoginSubAccountUin):
15281
- self._LoginSubAccountUin = LoginSubAccountUin
15282
-
15283
15742
  @property
15284
15743
  def AppConfig(self):
15285
15744
  """应用配置
@@ -15291,6 +15750,17 @@ class ModifyAppRequest(AbstractModel):
15291
15750
  def AppConfig(self, AppConfig):
15292
15751
  self._AppConfig = AppConfig
15293
15752
 
15753
+ @property
15754
+ def LoginSubAccountUin(self):
15755
+ """登录用户子账号(集成商模式必填)
15756
+ :rtype: str
15757
+ """
15758
+ return self._LoginSubAccountUin
15759
+
15760
+ @LoginSubAccountUin.setter
15761
+ def LoginSubAccountUin(self, LoginSubAccountUin):
15762
+ self._LoginSubAccountUin = LoginSubAccountUin
15763
+
15294
15764
 
15295
15765
  def _deserialize(self, params):
15296
15766
  self._AppBizId = params.get("AppBizId")
@@ -15298,10 +15768,10 @@ class ModifyAppRequest(AbstractModel):
15298
15768
  if params.get("BaseConfig") is not None:
15299
15769
  self._BaseConfig = BaseConfig()
15300
15770
  self._BaseConfig._deserialize(params.get("BaseConfig"))
15301
- self._LoginSubAccountUin = params.get("LoginSubAccountUin")
15302
15771
  if params.get("AppConfig") is not None:
15303
15772
  self._AppConfig = AppConfig()
15304
15773
  self._AppConfig._deserialize(params.get("AppConfig"))
15774
+ self._LoginSubAccountUin = params.get("LoginSubAccountUin")
15305
15775
  memeber_set = set(params.keys())
15306
15776
  for name, value in vars(self).items():
15307
15777
  property_name = name[1:]
@@ -15381,25 +15851,25 @@ class ModifyAttributeLabelRequest(AbstractModel):
15381
15851
  r"""
15382
15852
  :param _BotBizId: 应用ID
15383
15853
  :type BotBizId: str
15384
- :param _AttributeBizId: 属性ID
15854
+ :param _AttributeBizId: 标签ID
15385
15855
  :type AttributeBizId: str
15386
- :param _AttrKey: 属性标识
15387
- :type AttrKey: str
15388
- :param _AttrName: 属性名称
15856
+ :param _AttrName: 标签名称
15389
15857
  :type AttrName: str
15858
+ :param _AttrKey: 标签标识 (已作废)
15859
+ :type AttrKey: str
15390
15860
  :param _LoginUin: 登录用户主账号(集成商模式必填)
15391
15861
  :type LoginUin: str
15392
15862
  :param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
15393
15863
  :type LoginSubAccountUin: str
15394
- :param _DeleteLabelBizIds: 删除的属性标签
15864
+ :param _DeleteLabelBizIds: 删除的标签值
15395
15865
  :type DeleteLabelBizIds: list of str
15396
- :param _Labels: 新增或编辑的属性标签
15866
+ :param _Labels: 新增或编辑的标签
15397
15867
  :type Labels: list of AttributeLabel
15398
15868
  """
15399
15869
  self._BotBizId = None
15400
15870
  self._AttributeBizId = None
15401
- self._AttrKey = None
15402
15871
  self._AttrName = None
15872
+ self._AttrKey = None
15403
15873
  self._LoginUin = None
15404
15874
  self._LoginSubAccountUin = None
15405
15875
  self._DeleteLabelBizIds = None
@@ -15418,7 +15888,7 @@ class ModifyAttributeLabelRequest(AbstractModel):
15418
15888
 
15419
15889
  @property
15420
15890
  def AttributeBizId(self):
15421
- """属性ID
15891
+ """标签ID
15422
15892
  :rtype: str
15423
15893
  """
15424
15894
  return self._AttributeBizId
@@ -15427,20 +15897,9 @@ class ModifyAttributeLabelRequest(AbstractModel):
15427
15897
  def AttributeBizId(self, AttributeBizId):
15428
15898
  self._AttributeBizId = AttributeBizId
15429
15899
 
15430
- @property
15431
- def AttrKey(self):
15432
- """属性标识
15433
- :rtype: str
15434
- """
15435
- return self._AttrKey
15436
-
15437
- @AttrKey.setter
15438
- def AttrKey(self, AttrKey):
15439
- self._AttrKey = AttrKey
15440
-
15441
15900
  @property
15442
15901
  def AttrName(self):
15443
- """属性名称
15902
+ """标签名称
15444
15903
  :rtype: str
15445
15904
  """
15446
15905
  return self._AttrName
@@ -15449,6 +15908,17 @@ class ModifyAttributeLabelRequest(AbstractModel):
15449
15908
  def AttrName(self, AttrName):
15450
15909
  self._AttrName = AttrName
15451
15910
 
15911
+ @property
15912
+ def AttrKey(self):
15913
+ """标签标识 (已作废)
15914
+ :rtype: str
15915
+ """
15916
+ return self._AttrKey
15917
+
15918
+ @AttrKey.setter
15919
+ def AttrKey(self, AttrKey):
15920
+ self._AttrKey = AttrKey
15921
+
15452
15922
  @property
15453
15923
  def LoginUin(self):
15454
15924
  """登录用户主账号(集成商模式必填)
@@ -15473,7 +15943,7 @@ class ModifyAttributeLabelRequest(AbstractModel):
15473
15943
 
15474
15944
  @property
15475
15945
  def DeleteLabelBizIds(self):
15476
- """删除的属性标签
15946
+ """删除的标签值
15477
15947
  :rtype: list of str
15478
15948
  """
15479
15949
  return self._DeleteLabelBizIds
@@ -15484,7 +15954,7 @@ class ModifyAttributeLabelRequest(AbstractModel):
15484
15954
 
15485
15955
  @property
15486
15956
  def Labels(self):
15487
- """新增或编辑的属性标签
15957
+ """新增或编辑的标签
15488
15958
  :rtype: list of AttributeLabel
15489
15959
  """
15490
15960
  return self._Labels
@@ -15497,8 +15967,8 @@ class ModifyAttributeLabelRequest(AbstractModel):
15497
15967
  def _deserialize(self, params):
15498
15968
  self._BotBizId = params.get("BotBizId")
15499
15969
  self._AttributeBizId = params.get("AttributeBizId")
15500
- self._AttrKey = params.get("AttrKey")
15501
15970
  self._AttrName = params.get("AttrName")
15971
+ self._AttrKey = params.get("AttrKey")
15502
15972
  self._LoginUin = params.get("LoginUin")
15503
15973
  self._LoginSubAccountUin = params.get("LoginSubAccountUin")
15504
15974
  self._DeleteLabelBizIds = params.get("DeleteLabelBizIds")
@@ -15688,13 +16158,13 @@ class ModifyDocRequest(AbstractModel):
15688
16158
  :type DocBizId: str
15689
16159
  :param _IsRefer: 是否引用链接
15690
16160
  :type IsRefer: bool
15691
- :param _AttrRange: 属性标签适用范围 1:全部,2:按条件
16161
+ :param _AttrRange: 标签适用范围 1:全部,2:按条件
15692
16162
  :type AttrRange: int
15693
16163
  :param _LoginUin: 登录用户主账号(集成商模式必填)
15694
16164
  :type LoginUin: str
15695
16165
  :param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
15696
16166
  :type LoginSubAccountUin: str
15697
- :param _AttrLabels: 适用范围,关联的属性标签
16167
+ :param _AttrLabels: 关联的标签
15698
16168
  :type AttrLabels: list of AttrLabelRefer
15699
16169
  :param _WebUrl: 网页(或自定义链接)地址
15700
16170
  :type WebUrl: str
@@ -15705,6 +16175,8 @@ class ModifyDocRequest(AbstractModel):
15705
16175
  :type ExpireStart: str
15706
16176
  :param _ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
15707
16177
  :type ExpireEnd: str
16178
+ :param _CateBizId: 分类ID
16179
+ :type CateBizId: str
15708
16180
  """
15709
16181
  self._BotBizId = None
15710
16182
  self._DocBizId = None
@@ -15717,6 +16189,7 @@ class ModifyDocRequest(AbstractModel):
15717
16189
  self._ReferUrlType = None
15718
16190
  self._ExpireStart = None
15719
16191
  self._ExpireEnd = None
16192
+ self._CateBizId = None
15720
16193
 
15721
16194
  @property
15722
16195
  def BotBizId(self):
@@ -15753,7 +16226,7 @@ class ModifyDocRequest(AbstractModel):
15753
16226
 
15754
16227
  @property
15755
16228
  def AttrRange(self):
15756
- """属性标签适用范围 1:全部,2:按条件
16229
+ """标签适用范围 1:全部,2:按条件
15757
16230
  :rtype: int
15758
16231
  """
15759
16232
  return self._AttrRange
@@ -15786,7 +16259,7 @@ class ModifyDocRequest(AbstractModel):
15786
16259
 
15787
16260
  @property
15788
16261
  def AttrLabels(self):
15789
- """适用范围,关联的属性标签
16262
+ """关联的标签
15790
16263
  :rtype: list of AttrLabelRefer
15791
16264
  """
15792
16265
  return self._AttrLabels
@@ -15840,6 +16313,17 @@ class ModifyDocRequest(AbstractModel):
15840
16313
  def ExpireEnd(self, ExpireEnd):
15841
16314
  self._ExpireEnd = ExpireEnd
15842
16315
 
16316
+ @property
16317
+ def CateBizId(self):
16318
+ """分类ID
16319
+ :rtype: str
16320
+ """
16321
+ return self._CateBizId
16322
+
16323
+ @CateBizId.setter
16324
+ def CateBizId(self, CateBizId):
16325
+ self._CateBizId = CateBizId
16326
+
15843
16327
 
15844
16328
  def _deserialize(self, params):
15845
16329
  self._BotBizId = params.get("BotBizId")
@@ -15858,6 +16342,7 @@ class ModifyDocRequest(AbstractModel):
15858
16342
  self._ReferUrlType = params.get("ReferUrlType")
15859
16343
  self._ExpireStart = params.get("ExpireStart")
15860
16344
  self._ExpireEnd = params.get("ExpireEnd")
16345
+ self._CateBizId = params.get("CateBizId")
15861
16346
  memeber_set = set(params.keys())
15862
16347
  for name, value in vars(self).items():
15863
16348
  property_name = name[1:]
@@ -16123,9 +16608,9 @@ class ModifyQARequest(AbstractModel):
16123
16608
  :type Answer: str
16124
16609
  :param _CustomParam: 自定义参数
16125
16610
  :type CustomParam: str
16126
- :param _AttrRange: 属性标签适用范围 1:全部,2:按条件
16611
+ :param _AttrRange: 标签适用范围 1:全部,2:按条件
16127
16612
  :type AttrRange: int
16128
- :param _AttrLabels: 属性标签引用
16613
+ :param _AttrLabels: 标签引用
16129
16614
  :type AttrLabels: list of AttrLabelRefer
16130
16615
  :param _DocBizId: 文档ID
16131
16616
  :type DocBizId: str
@@ -16137,6 +16622,8 @@ class ModifyQARequest(AbstractModel):
16137
16622
  :type ExpireEnd: str
16138
16623
  :param _SimilarQuestionModify: 相似问修改信息(相似问没有修改则不传)
16139
16624
  :type SimilarQuestionModify: :class:`tencentcloud.lke.v20231130.models.SimilarQuestionModify`
16625
+ :param _QuestionDesc: 问题描述
16626
+ :type QuestionDesc: str
16140
16627
  """
16141
16628
  self._BotBizId = None
16142
16629
  self._QaBizId = None
@@ -16150,6 +16637,7 @@ class ModifyQARequest(AbstractModel):
16150
16637
  self._ExpireStart = None
16151
16638
  self._ExpireEnd = None
16152
16639
  self._SimilarQuestionModify = None
16640
+ self._QuestionDesc = None
16153
16641
 
16154
16642
  @property
16155
16643
  def BotBizId(self):
@@ -16208,7 +16696,7 @@ class ModifyQARequest(AbstractModel):
16208
16696
 
16209
16697
  @property
16210
16698
  def AttrRange(self):
16211
- """属性标签适用范围 1:全部,2:按条件
16699
+ """标签适用范围 1:全部,2:按条件
16212
16700
  :rtype: int
16213
16701
  """
16214
16702
  return self._AttrRange
@@ -16219,7 +16707,7 @@ class ModifyQARequest(AbstractModel):
16219
16707
 
16220
16708
  @property
16221
16709
  def AttrLabels(self):
16222
- """属性标签引用
16710
+ """标签引用
16223
16711
  :rtype: list of AttrLabelRefer
16224
16712
  """
16225
16713
  return self._AttrLabels
@@ -16283,6 +16771,17 @@ class ModifyQARequest(AbstractModel):
16283
16771
  def SimilarQuestionModify(self, SimilarQuestionModify):
16284
16772
  self._SimilarQuestionModify = SimilarQuestionModify
16285
16773
 
16774
+ @property
16775
+ def QuestionDesc(self):
16776
+ """问题描述
16777
+ :rtype: str
16778
+ """
16779
+ return self._QuestionDesc
16780
+
16781
+ @QuestionDesc.setter
16782
+ def QuestionDesc(self, QuestionDesc):
16783
+ self._QuestionDesc = QuestionDesc
16784
+
16286
16785
 
16287
16786
  def _deserialize(self, params):
16288
16787
  self._BotBizId = params.get("BotBizId")
@@ -16304,6 +16803,7 @@ class ModifyQARequest(AbstractModel):
16304
16803
  if params.get("SimilarQuestionModify") is not None:
16305
16804
  self._SimilarQuestionModify = SimilarQuestionModify()
16306
16805
  self._SimilarQuestionModify._deserialize(params.get("SimilarQuestionModify"))
16806
+ self._QuestionDesc = params.get("QuestionDesc")
16307
16807
  memeber_set = set(params.keys())
16308
16808
  for name, value in vars(self).items():
16309
16809
  property_name = name[1:]
@@ -17548,12 +18048,16 @@ class ProcedureDebugging(AbstractModel):
17548
18048
  :param _TaskFlow: 任务流程
17549
18049
  注意:此字段可能返回 null,表示取不到有效值。
17550
18050
  :type TaskFlow: :class:`tencentcloud.lke.v20231130.models.TaskFlowSummary`
18051
+ :param _WorkFlow: 工作流调试信息
18052
+ 注意:此字段可能返回 null,表示取不到有效值。
18053
+ :type WorkFlow: :class:`tencentcloud.lke.v20231130.models.WorkFlowSummary`
17551
18054
  """
17552
18055
  self._Content = None
17553
18056
  self._System = None
17554
18057
  self._Histories = None
17555
18058
  self._Knowledge = None
17556
18059
  self._TaskFlow = None
18060
+ self._WorkFlow = None
17557
18061
 
17558
18062
  @property
17559
18063
  def Content(self):
@@ -17615,6 +18119,18 @@ class ProcedureDebugging(AbstractModel):
17615
18119
  def TaskFlow(self, TaskFlow):
17616
18120
  self._TaskFlow = TaskFlow
17617
18121
 
18122
+ @property
18123
+ def WorkFlow(self):
18124
+ """工作流调试信息
18125
+ 注意:此字段可能返回 null,表示取不到有效值。
18126
+ :rtype: :class:`tencentcloud.lke.v20231130.models.WorkFlowSummary`
18127
+ """
18128
+ return self._WorkFlow
18129
+
18130
+ @WorkFlow.setter
18131
+ def WorkFlow(self, WorkFlow):
18132
+ self._WorkFlow = WorkFlow
18133
+
17618
18134
 
17619
18135
  def _deserialize(self, params):
17620
18136
  self._Content = params.get("Content")
@@ -17634,6 +18150,9 @@ class ProcedureDebugging(AbstractModel):
17634
18150
  if params.get("TaskFlow") is not None:
17635
18151
  self._TaskFlow = TaskFlowSummary()
17636
18152
  self._TaskFlow._deserialize(params.get("TaskFlow"))
18153
+ if params.get("WorkFlow") is not None:
18154
+ self._WorkFlow = WorkFlowSummary()
18155
+ self._WorkFlow._deserialize(params.get("WorkFlow"))
17637
18156
  memeber_set = set(params.keys())
17638
18157
  for name, value in vars(self).items():
17639
18158
  property_name = name[1:]
@@ -20437,13 +20956,13 @@ class SaveDocRequest(AbstractModel):
20437
20956
  :type CosHash: str
20438
20957
  :param _Size: 文件大小
20439
20958
  :type Size: str
20440
- :param _AttrRange: 属性标签适用范围 1:全部,2:按条件范围
20959
+ :param _AttrRange: 标签适用范围 1:全部,2:按条件范围
20441
20960
  :type AttrRange: int
20442
20961
  :param _Source: 来源(0 源文件导入 1 网页导入)
20443
20962
  :type Source: int
20444
20963
  :param _WebUrl: 网页(或自定义链接)地址
20445
20964
  :type WebUrl: str
20446
- :param _AttrLabels: 属性标签引用
20965
+ :param _AttrLabels: 标签引用
20447
20966
  :type AttrLabels: list of AttrLabelRefer
20448
20967
  :param _ReferUrlType: 外部引用链接类型 0:系统链接 1:自定义链接
20449
20968
  值为1时,WebUrl 字段不能为空,否则不生效。
@@ -20456,6 +20975,8 @@ class SaveDocRequest(AbstractModel):
20456
20975
  :type IsRefer: bool
20457
20976
  :param _Opt: 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档)
20458
20977
  :type Opt: int
20978
+ :param _CateBizId: 分类ID
20979
+ :type CateBizId: str
20459
20980
  """
20460
20981
  self._BotBizId = None
20461
20982
  self._FileName = None
@@ -20473,6 +20994,7 @@ class SaveDocRequest(AbstractModel):
20473
20994
  self._ExpireEnd = None
20474
20995
  self._IsRefer = None
20475
20996
  self._Opt = None
20997
+ self._CateBizId = None
20476
20998
 
20477
20999
  @property
20478
21000
  def BotBizId(self):
@@ -20553,7 +21075,7 @@ class SaveDocRequest(AbstractModel):
20553
21075
 
20554
21076
  @property
20555
21077
  def AttrRange(self):
20556
- """属性标签适用范围 1:全部,2:按条件范围
21078
+ """标签适用范围 1:全部,2:按条件范围
20557
21079
  :rtype: int
20558
21080
  """
20559
21081
  return self._AttrRange
@@ -20586,7 +21108,7 @@ class SaveDocRequest(AbstractModel):
20586
21108
 
20587
21109
  @property
20588
21110
  def AttrLabels(self):
20589
- """属性标签引用
21111
+ """标签引用
20590
21112
  :rtype: list of AttrLabelRefer
20591
21113
  """
20592
21114
  return self._AttrLabels
@@ -20651,6 +21173,17 @@ class SaveDocRequest(AbstractModel):
20651
21173
  def Opt(self, Opt):
20652
21174
  self._Opt = Opt
20653
21175
 
21176
+ @property
21177
+ def CateBizId(self):
21178
+ """分类ID
21179
+ :rtype: str
21180
+ """
21181
+ return self._CateBizId
21182
+
21183
+ @CateBizId.setter
21184
+ def CateBizId(self, CateBizId):
21185
+ self._CateBizId = CateBizId
21186
+
20654
21187
 
20655
21188
  def _deserialize(self, params):
20656
21189
  self._BotBizId = params.get("BotBizId")
@@ -20674,6 +21207,7 @@ class SaveDocRequest(AbstractModel):
20674
21207
  self._ExpireEnd = params.get("ExpireEnd")
20675
21208
  self._IsRefer = params.get("IsRefer")
20676
21209
  self._Opt = params.get("Opt")
21210
+ self._CateBizId = params.get("CateBizId")
20677
21211
  memeber_set = set(params.keys())
20678
21212
  for name, value in vars(self).items():
20679
21213
  property_name = name[1:]
@@ -20772,6 +21306,66 @@ class SaveDocResponse(AbstractModel):
20772
21306
  self._RequestId = params.get("RequestId")
20773
21307
 
20774
21308
 
21309
+ class SearchRange(AbstractModel):
21310
+ """检索范围配置
21311
+
21312
+ """
21313
+
21314
+ def __init__(self):
21315
+ r"""
21316
+ :param _Condition: 检索条件and/or
21317
+ 注意:此字段可能返回 null,表示取不到有效值。
21318
+ :type Condition: str
21319
+ :param _ApiVarAttrInfos: 自定义变量和标签关系数据
21320
+ 注意:此字段可能返回 null,表示取不到有效值。
21321
+ :type ApiVarAttrInfos: list of ApiVarAttrInfo
21322
+ """
21323
+ self._Condition = None
21324
+ self._ApiVarAttrInfos = None
21325
+
21326
+ @property
21327
+ def Condition(self):
21328
+ """检索条件and/or
21329
+ 注意:此字段可能返回 null,表示取不到有效值。
21330
+ :rtype: str
21331
+ """
21332
+ return self._Condition
21333
+
21334
+ @Condition.setter
21335
+ def Condition(self, Condition):
21336
+ self._Condition = Condition
21337
+
21338
+ @property
21339
+ def ApiVarAttrInfos(self):
21340
+ """自定义变量和标签关系数据
21341
+ 注意:此字段可能返回 null,表示取不到有效值。
21342
+ :rtype: list of ApiVarAttrInfo
21343
+ """
21344
+ return self._ApiVarAttrInfos
21345
+
21346
+ @ApiVarAttrInfos.setter
21347
+ def ApiVarAttrInfos(self, ApiVarAttrInfos):
21348
+ self._ApiVarAttrInfos = ApiVarAttrInfos
21349
+
21350
+
21351
+ def _deserialize(self, params):
21352
+ self._Condition = params.get("Condition")
21353
+ if params.get("ApiVarAttrInfos") is not None:
21354
+ self._ApiVarAttrInfos = []
21355
+ for item in params.get("ApiVarAttrInfos"):
21356
+ obj = ApiVarAttrInfo()
21357
+ obj._deserialize(item)
21358
+ self._ApiVarAttrInfos.append(obj)
21359
+ memeber_set = set(params.keys())
21360
+ for name, value in vars(self).items():
21361
+ property_name = name[1:]
21362
+ if property_name in memeber_set:
21363
+ memeber_set.remove(property_name)
21364
+ if len(memeber_set) > 0:
21365
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21366
+
21367
+
21368
+
20775
21369
  class SimilarQuestion(AbstractModel):
20776
21370
  """相似问信息
20777
21371
 
@@ -20785,9 +21379,13 @@ class SimilarQuestion(AbstractModel):
20785
21379
  :param _Question: 相似问内容
20786
21380
  注意:此字段可能返回 null,表示取不到有效值。
20787
21381
  :type Question: str
21382
+ :param _AuditStatus: 相似问审核状态,1审核失败
21383
+ 注意:此字段可能返回 null,表示取不到有效值。
21384
+ :type AuditStatus: int
20788
21385
  """
20789
21386
  self._SimBizId = None
20790
21387
  self._Question = None
21388
+ self._AuditStatus = None
20791
21389
 
20792
21390
  @property
20793
21391
  def SimBizId(self):
@@ -20813,10 +21411,23 @@ class SimilarQuestion(AbstractModel):
20813
21411
  def Question(self, Question):
20814
21412
  self._Question = Question
20815
21413
 
21414
+ @property
21415
+ def AuditStatus(self):
21416
+ """相似问审核状态,1审核失败
21417
+ 注意:此字段可能返回 null,表示取不到有效值。
21418
+ :rtype: int
21419
+ """
21420
+ return self._AuditStatus
21421
+
21422
+ @AuditStatus.setter
21423
+ def AuditStatus(self, AuditStatus):
21424
+ self._AuditStatus = AuditStatus
21425
+
20816
21426
 
20817
21427
  def _deserialize(self, params):
20818
21428
  self._SimBizId = params.get("SimBizId")
20819
21429
  self._Question = params.get("Question")
21430
+ self._AuditStatus = params.get("AuditStatus")
20820
21431
  memeber_set = set(params.keys())
20821
21432
  for name, value in vars(self).items():
20822
21433
  property_name = name[1:]
@@ -20910,10 +21521,10 @@ class Stat(AbstractModel):
20910
21521
 
20911
21522
  def __init__(self):
20912
21523
  r"""
20913
- :param _X: x轴时间戳
21524
+ :param _X: X轴: 时间区域;根据查询条件的粒度返回“分/小时/日”三种区间范围
20914
21525
  注意:此字段可能返回 null,表示取不到有效值。
20915
21526
  :type X: str
20916
- :param _Y: y轴统计值
21527
+ :param _Y: Y轴: 该时间区域内的统计值,如token消耗量,调用次数或使用量等信息
20917
21528
  注意:此字段可能返回 null,表示取不到有效值。
20918
21529
  :type Y: float
20919
21530
  """
@@ -20922,7 +21533,7 @@ class Stat(AbstractModel):
20922
21533
 
20923
21534
  @property
20924
21535
  def X(self):
20925
- """x轴时间戳
21536
+ """X轴: 时间区域;根据查询条件的粒度返回“分/小时/日”三种区间范围
20926
21537
  注意:此字段可能返回 null,表示取不到有效值。
20927
21538
  :rtype: str
20928
21539
  """
@@ -20934,7 +21545,7 @@ class Stat(AbstractModel):
20934
21545
 
20935
21546
  @property
20936
21547
  def Y(self):
20937
- """y轴统计值
21548
+ """Y轴: 该时间区域内的统计值,如token消耗量,调用次数或使用量等信息
20938
21549
  注意:此字段可能返回 null,表示取不到有效值。
20939
21550
  :rtype: float
20940
21551
  """
@@ -20958,36 +21569,159 @@ class Stat(AbstractModel):
20958
21569
 
20959
21570
 
20960
21571
 
20961
- class StopDocParseRequest(AbstractModel):
20962
- """StopDocParse请求参数结构体
21572
+ class StatisticInfo(AbstractModel):
21573
+ """大模型token统计信息
20963
21574
 
20964
21575
  """
20965
21576
 
20966
21577
  def __init__(self):
20967
21578
  r"""
20968
- :param _BotBizId: 应用ID
20969
- :type BotBizId: str
20970
- :param _DocBizId: 文档ID
20971
- :type DocBizId: str
21579
+ :param _ModelName: 模型名称
21580
+ 注意:此字段可能返回 null,表示取不到有效值。
21581
+ :type ModelName: str
21582
+ :param _FirstTokenCost: 首Token耗时
21583
+ 注意:此字段可能返回 null,表示取不到有效值。
21584
+ :type FirstTokenCost: int
21585
+ :param _TotalCost: 总耗时
21586
+ 注意:此字段可能返回 null,表示取不到有效值。
21587
+ :type TotalCost: int
21588
+ :param _InputTokens: 输入Token数量
21589
+ 注意:此字段可能返回 null,表示取不到有效值。
21590
+ :type InputTokens: int
21591
+ :param _OutputTokens: 输出Token数量
21592
+ 注意:此字段可能返回 null,表示取不到有效值。
21593
+ :type OutputTokens: int
21594
+ :param _TotalTokens: 总Token数量
21595
+ 注意:此字段可能返回 null,表示取不到有效值。
21596
+ :type TotalTokens: int
20972
21597
  """
20973
- self._BotBizId = None
20974
- self._DocBizId = None
21598
+ self._ModelName = None
21599
+ self._FirstTokenCost = None
21600
+ self._TotalCost = None
21601
+ self._InputTokens = None
21602
+ self._OutputTokens = None
21603
+ self._TotalTokens = None
20975
21604
 
20976
21605
  @property
20977
- def BotBizId(self):
20978
- """应用ID
21606
+ def ModelName(self):
21607
+ """模型名称
21608
+ 注意:此字段可能返回 null,表示取不到有效值。
20979
21609
  :rtype: str
20980
21610
  """
20981
- return self._BotBizId
21611
+ return self._ModelName
20982
21612
 
20983
- @BotBizId.setter
20984
- def BotBizId(self, BotBizId):
20985
- self._BotBizId = BotBizId
21613
+ @ModelName.setter
21614
+ def ModelName(self, ModelName):
21615
+ self._ModelName = ModelName
20986
21616
 
20987
21617
  @property
20988
- def DocBizId(self):
20989
- """文档ID
20990
- :rtype: str
21618
+ def FirstTokenCost(self):
21619
+ """首Token耗时
21620
+ 注意:此字段可能返回 null,表示取不到有效值。
21621
+ :rtype: int
21622
+ """
21623
+ return self._FirstTokenCost
21624
+
21625
+ @FirstTokenCost.setter
21626
+ def FirstTokenCost(self, FirstTokenCost):
21627
+ self._FirstTokenCost = FirstTokenCost
21628
+
21629
+ @property
21630
+ def TotalCost(self):
21631
+ """总耗时
21632
+ 注意:此字段可能返回 null,表示取不到有效值。
21633
+ :rtype: int
21634
+ """
21635
+ return self._TotalCost
21636
+
21637
+ @TotalCost.setter
21638
+ def TotalCost(self, TotalCost):
21639
+ self._TotalCost = TotalCost
21640
+
21641
+ @property
21642
+ def InputTokens(self):
21643
+ """输入Token数量
21644
+ 注意:此字段可能返回 null,表示取不到有效值。
21645
+ :rtype: int
21646
+ """
21647
+ return self._InputTokens
21648
+
21649
+ @InputTokens.setter
21650
+ def InputTokens(self, InputTokens):
21651
+ self._InputTokens = InputTokens
21652
+
21653
+ @property
21654
+ def OutputTokens(self):
21655
+ """输出Token数量
21656
+ 注意:此字段可能返回 null,表示取不到有效值。
21657
+ :rtype: int
21658
+ """
21659
+ return self._OutputTokens
21660
+
21661
+ @OutputTokens.setter
21662
+ def OutputTokens(self, OutputTokens):
21663
+ self._OutputTokens = OutputTokens
21664
+
21665
+ @property
21666
+ def TotalTokens(self):
21667
+ """总Token数量
21668
+ 注意:此字段可能返回 null,表示取不到有效值。
21669
+ :rtype: int
21670
+ """
21671
+ return self._TotalTokens
21672
+
21673
+ @TotalTokens.setter
21674
+ def TotalTokens(self, TotalTokens):
21675
+ self._TotalTokens = TotalTokens
21676
+
21677
+
21678
+ def _deserialize(self, params):
21679
+ self._ModelName = params.get("ModelName")
21680
+ self._FirstTokenCost = params.get("FirstTokenCost")
21681
+ self._TotalCost = params.get("TotalCost")
21682
+ self._InputTokens = params.get("InputTokens")
21683
+ self._OutputTokens = params.get("OutputTokens")
21684
+ self._TotalTokens = params.get("TotalTokens")
21685
+ memeber_set = set(params.keys())
21686
+ for name, value in vars(self).items():
21687
+ property_name = name[1:]
21688
+ if property_name in memeber_set:
21689
+ memeber_set.remove(property_name)
21690
+ if len(memeber_set) > 0:
21691
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21692
+
21693
+
21694
+
21695
+ class StopDocParseRequest(AbstractModel):
21696
+ """StopDocParse请求参数结构体
21697
+
21698
+ """
21699
+
21700
+ def __init__(self):
21701
+ r"""
21702
+ :param _BotBizId: 应用ID
21703
+ :type BotBizId: str
21704
+ :param _DocBizId: 文档ID
21705
+ :type DocBizId: str
21706
+ """
21707
+ self._BotBizId = None
21708
+ self._DocBizId = None
21709
+
21710
+ @property
21711
+ def BotBizId(self):
21712
+ """应用ID
21713
+ :rtype: str
21714
+ """
21715
+ return self._BotBizId
21716
+
21717
+ @BotBizId.setter
21718
+ def BotBizId(self, BotBizId):
21719
+ self._BotBizId = BotBizId
21720
+
21721
+ @property
21722
+ def DocBizId(self):
21723
+ """文档ID
21724
+ :rtype: str
20991
21725
  """
20992
21726
  return self._DocBizId
20993
21727
 
@@ -22430,4 +23164,294 @@ class WordRecognizeInfo(AbstractModel):
22430
23164
  memeber_set.remove(property_name)
22431
23165
  if len(memeber_set) > 0:
22432
23166
  warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23167
+
23168
+
23169
+
23170
+ class WorkFlowSummary(AbstractModel):
23171
+ """工作流程调试信息
23172
+
23173
+ """
23174
+
23175
+ def __init__(self):
23176
+ r"""
23177
+ :param _WorkflowId: 工作流ID
23178
+ 注意:此字段可能返回 null,表示取不到有效值。
23179
+ :type WorkflowId: str
23180
+ :param _WorkflowName: 工作流名称
23181
+ 注意:此字段可能返回 null,表示取不到有效值。
23182
+ :type WorkflowName: str
23183
+ :param _WorkflowRunId: 工作流运行ID
23184
+ 注意:此字段可能返回 null,表示取不到有效值。
23185
+ :type WorkflowRunId: str
23186
+ :param _RunNodes: 节点信息
23187
+ 注意:此字段可能返回 null,表示取不到有效值。
23188
+ :type RunNodes: list of WorkflowRunNodeInfo
23189
+ """
23190
+ self._WorkflowId = None
23191
+ self._WorkflowName = None
23192
+ self._WorkflowRunId = None
23193
+ self._RunNodes = None
23194
+
23195
+ @property
23196
+ def WorkflowId(self):
23197
+ """工作流ID
23198
+ 注意:此字段可能返回 null,表示取不到有效值。
23199
+ :rtype: str
23200
+ """
23201
+ return self._WorkflowId
23202
+
23203
+ @WorkflowId.setter
23204
+ def WorkflowId(self, WorkflowId):
23205
+ self._WorkflowId = WorkflowId
23206
+
23207
+ @property
23208
+ def WorkflowName(self):
23209
+ """工作流名称
23210
+ 注意:此字段可能返回 null,表示取不到有效值。
23211
+ :rtype: str
23212
+ """
23213
+ return self._WorkflowName
23214
+
23215
+ @WorkflowName.setter
23216
+ def WorkflowName(self, WorkflowName):
23217
+ self._WorkflowName = WorkflowName
23218
+
23219
+ @property
23220
+ def WorkflowRunId(self):
23221
+ """工作流运行ID
23222
+ 注意:此字段可能返回 null,表示取不到有效值。
23223
+ :rtype: str
23224
+ """
23225
+ return self._WorkflowRunId
23226
+
23227
+ @WorkflowRunId.setter
23228
+ def WorkflowRunId(self, WorkflowRunId):
23229
+ self._WorkflowRunId = WorkflowRunId
23230
+
23231
+ @property
23232
+ def RunNodes(self):
23233
+ """节点信息
23234
+ 注意:此字段可能返回 null,表示取不到有效值。
23235
+ :rtype: list of WorkflowRunNodeInfo
23236
+ """
23237
+ return self._RunNodes
23238
+
23239
+ @RunNodes.setter
23240
+ def RunNodes(self, RunNodes):
23241
+ self._RunNodes = RunNodes
23242
+
23243
+
23244
+ def _deserialize(self, params):
23245
+ self._WorkflowId = params.get("WorkflowId")
23246
+ self._WorkflowName = params.get("WorkflowName")
23247
+ self._WorkflowRunId = params.get("WorkflowRunId")
23248
+ if params.get("RunNodes") is not None:
23249
+ self._RunNodes = []
23250
+ for item in params.get("RunNodes"):
23251
+ obj = WorkflowRunNodeInfo()
23252
+ obj._deserialize(item)
23253
+ self._RunNodes.append(obj)
23254
+ memeber_set = set(params.keys())
23255
+ for name, value in vars(self).items():
23256
+ property_name = name[1:]
23257
+ if property_name in memeber_set:
23258
+ memeber_set.remove(property_name)
23259
+ if len(memeber_set) > 0:
23260
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23261
+
23262
+
23263
+
23264
+ class WorkflowRunNodeInfo(AbstractModel):
23265
+ """工作流运行节点信息
23266
+
23267
+ """
23268
+
23269
+ def __init__(self):
23270
+ r"""
23271
+ :param _NodeId: 节点ID
23272
+ 注意:此字段可能返回 null,表示取不到有效值。
23273
+ :type NodeId: str
23274
+ :param _NodeType: 节点类型
23275
+ 注意:此字段可能返回 null,表示取不到有效值。
23276
+ :type NodeType: int
23277
+ :param _NodeName: 节点名称
23278
+ 注意:此字段可能返回 null,表示取不到有效值。
23279
+ :type NodeName: str
23280
+ :param _Status: 状态
23281
+ 注意:此字段可能返回 null,表示取不到有效值。
23282
+ :type Status: int
23283
+ :param _Input: 输入
23284
+ 注意:此字段可能返回 null,表示取不到有效值。
23285
+ :type Input: str
23286
+ :param _Output: 输出
23287
+ 注意:此字段可能返回 null,表示取不到有效值。
23288
+ :type Output: str
23289
+ :param _TaskOutput: 任务输出
23290
+ 注意:此字段可能返回 null,表示取不到有效值。
23291
+ :type TaskOutput: str
23292
+ :param _FailMessage: 错误信息
23293
+ 注意:此字段可能返回 null,表示取不到有效值。
23294
+ :type FailMessage: str
23295
+ :param _CostMilliSeconds: 花费时长
23296
+ 注意:此字段可能返回 null,表示取不到有效值。
23297
+ :type CostMilliSeconds: int
23298
+ :param _StatisticInfos: 大模型输出信息
23299
+ 注意:此字段可能返回 null,表示取不到有效值。
23300
+ :type StatisticInfos: list of StatisticInfo
23301
+ """
23302
+ self._NodeId = None
23303
+ self._NodeType = None
23304
+ self._NodeName = None
23305
+ self._Status = None
23306
+ self._Input = None
23307
+ self._Output = None
23308
+ self._TaskOutput = None
23309
+ self._FailMessage = None
23310
+ self._CostMilliSeconds = None
23311
+ self._StatisticInfos = None
23312
+
23313
+ @property
23314
+ def NodeId(self):
23315
+ """节点ID
23316
+ 注意:此字段可能返回 null,表示取不到有效值。
23317
+ :rtype: str
23318
+ """
23319
+ return self._NodeId
23320
+
23321
+ @NodeId.setter
23322
+ def NodeId(self, NodeId):
23323
+ self._NodeId = NodeId
23324
+
23325
+ @property
23326
+ def NodeType(self):
23327
+ """节点类型
23328
+ 注意:此字段可能返回 null,表示取不到有效值。
23329
+ :rtype: int
23330
+ """
23331
+ return self._NodeType
23332
+
23333
+ @NodeType.setter
23334
+ def NodeType(self, NodeType):
23335
+ self._NodeType = NodeType
23336
+
23337
+ @property
23338
+ def NodeName(self):
23339
+ """节点名称
23340
+ 注意:此字段可能返回 null,表示取不到有效值。
23341
+ :rtype: str
23342
+ """
23343
+ return self._NodeName
23344
+
23345
+ @NodeName.setter
23346
+ def NodeName(self, NodeName):
23347
+ self._NodeName = NodeName
23348
+
23349
+ @property
23350
+ def Status(self):
23351
+ """状态
23352
+ 注意:此字段可能返回 null,表示取不到有效值。
23353
+ :rtype: int
23354
+ """
23355
+ return self._Status
23356
+
23357
+ @Status.setter
23358
+ def Status(self, Status):
23359
+ self._Status = Status
23360
+
23361
+ @property
23362
+ def Input(self):
23363
+ """输入
23364
+ 注意:此字段可能返回 null,表示取不到有效值。
23365
+ :rtype: str
23366
+ """
23367
+ return self._Input
23368
+
23369
+ @Input.setter
23370
+ def Input(self, Input):
23371
+ self._Input = Input
23372
+
23373
+ @property
23374
+ def Output(self):
23375
+ """输出
23376
+ 注意:此字段可能返回 null,表示取不到有效值。
23377
+ :rtype: str
23378
+ """
23379
+ return self._Output
23380
+
23381
+ @Output.setter
23382
+ def Output(self, Output):
23383
+ self._Output = Output
23384
+
23385
+ @property
23386
+ def TaskOutput(self):
23387
+ """任务输出
23388
+ 注意:此字段可能返回 null,表示取不到有效值。
23389
+ :rtype: str
23390
+ """
23391
+ return self._TaskOutput
23392
+
23393
+ @TaskOutput.setter
23394
+ def TaskOutput(self, TaskOutput):
23395
+ self._TaskOutput = TaskOutput
23396
+
23397
+ @property
23398
+ def FailMessage(self):
23399
+ """错误信息
23400
+ 注意:此字段可能返回 null,表示取不到有效值。
23401
+ :rtype: str
23402
+ """
23403
+ return self._FailMessage
23404
+
23405
+ @FailMessage.setter
23406
+ def FailMessage(self, FailMessage):
23407
+ self._FailMessage = FailMessage
23408
+
23409
+ @property
23410
+ def CostMilliSeconds(self):
23411
+ """花费时长
23412
+ 注意:此字段可能返回 null,表示取不到有效值。
23413
+ :rtype: int
23414
+ """
23415
+ return self._CostMilliSeconds
23416
+
23417
+ @CostMilliSeconds.setter
23418
+ def CostMilliSeconds(self, CostMilliSeconds):
23419
+ self._CostMilliSeconds = CostMilliSeconds
23420
+
23421
+ @property
23422
+ def StatisticInfos(self):
23423
+ """大模型输出信息
23424
+ 注意:此字段可能返回 null,表示取不到有效值。
23425
+ :rtype: list of StatisticInfo
23426
+ """
23427
+ return self._StatisticInfos
23428
+
23429
+ @StatisticInfos.setter
23430
+ def StatisticInfos(self, StatisticInfos):
23431
+ self._StatisticInfos = StatisticInfos
23432
+
23433
+
23434
+ def _deserialize(self, params):
23435
+ self._NodeId = params.get("NodeId")
23436
+ self._NodeType = params.get("NodeType")
23437
+ self._NodeName = params.get("NodeName")
23438
+ self._Status = params.get("Status")
23439
+ self._Input = params.get("Input")
23440
+ self._Output = params.get("Output")
23441
+ self._TaskOutput = params.get("TaskOutput")
23442
+ self._FailMessage = params.get("FailMessage")
23443
+ self._CostMilliSeconds = params.get("CostMilliSeconds")
23444
+ if params.get("StatisticInfos") is not None:
23445
+ self._StatisticInfos = []
23446
+ for item in params.get("StatisticInfos"):
23447
+ obj = StatisticInfo()
23448
+ obj._deserialize(item)
23449
+ self._StatisticInfos.append(obj)
23450
+ memeber_set = set(params.keys())
23451
+ for name, value in vars(self).items():
23452
+ property_name = name[1:]
23453
+ if property_name in memeber_set:
23454
+ memeber_set.remove(property_name)
23455
+ if len(memeber_set) > 0:
23456
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22433
23457