tencentcloud-sdk-lke 3.0.948 → 3.0.950
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20231130/models.rb +478 -101
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7475eb1c971f4f481967e68ee90865ffae84089c
|
4
|
+
data.tar.gz: 8be629cd4b54f800280fc0974efd29aa7c0e8d1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2511d693e56e09c5eb221aceca83dd780d8c776cc8ee9ffa589c203c4333b7707ba10bdbb6f73f2c2be4b1ee9d011275cfbf0c4be67f88e068007a628440a51
|
7
|
+
data.tar.gz: b05cbe19b9e73f44604a3ec319a5f27ca837b3564db571a962ee7b0195a0410999499c13f8dfcb02311bfb499717484727361255529d1f2cbaf54719167df0c8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.950
|
data/lib/v20231130/models.rb
CHANGED
@@ -17,6 +17,28 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Lke
|
19
19
|
module V20231130
|
20
|
+
# 自定义变量和标签关系数据
|
21
|
+
class ApiVarAttrInfo < TencentCloud::Common::AbstractModel
|
22
|
+
# @param ApiVarId: 自定义变量id
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type ApiVarId: String
|
25
|
+
# @param AttrBizId: 标签id
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type AttrBizId: String
|
28
|
+
|
29
|
+
attr_accessor :ApiVarId, :AttrBizId
|
30
|
+
|
31
|
+
def initialize(apivarid=nil, attrbizid=nil)
|
32
|
+
@ApiVarId = apivarid
|
33
|
+
@AttrBizId = attrbizid
|
34
|
+
end
|
35
|
+
|
36
|
+
def deserialize(params)
|
37
|
+
@ApiVarId = params['ApiVarId']
|
38
|
+
@AttrBizId = params['AttrBizId']
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
20
42
|
# 应用配置
|
21
43
|
class AppConfig < TencentCloud::Common::AbstractModel
|
22
44
|
# @param KnowledgeQa: 知识问答管理应用配置
|
@@ -221,7 +243,7 @@ module TencentCloud
|
|
221
243
|
end
|
222
244
|
end
|
223
245
|
|
224
|
-
#
|
246
|
+
# 标签详情
|
225
247
|
class AttrLabelDetail < TencentCloud::Common::AbstractModel
|
226
248
|
# @param AttrBizId: 属性ID
|
227
249
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -238,15 +260,23 @@ module TencentCloud
|
|
238
260
|
# @param IsUpdating: 属性标签是否在更新中
|
239
261
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
240
262
|
# @type IsUpdating: Boolean
|
263
|
+
# @param Status: 状态
|
264
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
265
|
+
# @type Status: Integer
|
266
|
+
# @param StatusDesc: 状态描述
|
267
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
268
|
+
# @type StatusDesc: String
|
241
269
|
|
242
|
-
attr_accessor :AttrBizId, :AttrKey, :AttrName, :LabelNames, :IsUpdating
|
270
|
+
attr_accessor :AttrBizId, :AttrKey, :AttrName, :LabelNames, :IsUpdating, :Status, :StatusDesc
|
243
271
|
|
244
|
-
def initialize(attrbizid=nil, attrkey=nil, attrname=nil, labelnames=nil, isupdating=nil)
|
272
|
+
def initialize(attrbizid=nil, attrkey=nil, attrname=nil, labelnames=nil, isupdating=nil, status=nil, statusdesc=nil)
|
245
273
|
@AttrBizId = attrbizid
|
246
274
|
@AttrKey = attrkey
|
247
275
|
@AttrName = attrname
|
248
276
|
@LabelNames = labelnames
|
249
277
|
@IsUpdating = isupdating
|
278
|
+
@Status = status
|
279
|
+
@StatusDesc = statusdesc
|
250
280
|
end
|
251
281
|
|
252
282
|
def deserialize(params)
|
@@ -255,6 +285,8 @@ module TencentCloud
|
|
255
285
|
@AttrName = params['AttrName']
|
256
286
|
@LabelNames = params['LabelNames']
|
257
287
|
@IsUpdating = params['IsUpdating']
|
288
|
+
@Status = params['Status']
|
289
|
+
@StatusDesc = params['StatusDesc']
|
258
290
|
end
|
259
291
|
end
|
260
292
|
|
@@ -683,18 +715,23 @@ module TencentCloud
|
|
683
715
|
# @param AppBizId: 应用ID
|
684
716
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
685
717
|
# @type AppBizId: String
|
718
|
+
# @param IsCustomList: 判断账户应用列表权限是否是自定义的,用户交互提示
|
719
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
720
|
+
# @type IsCustomList: Boolean
|
686
721
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
687
722
|
# @type RequestId: String
|
688
723
|
|
689
|
-
attr_accessor :AppBizId, :RequestId
|
724
|
+
attr_accessor :AppBizId, :IsCustomList, :RequestId
|
690
725
|
|
691
|
-
def initialize(appbizid=nil, requestid=nil)
|
726
|
+
def initialize(appbizid=nil, iscustomlist=nil, requestid=nil)
|
692
727
|
@AppBizId = appbizid
|
728
|
+
@IsCustomList = iscustomlist
|
693
729
|
@RequestId = requestid
|
694
730
|
end
|
695
731
|
|
696
732
|
def deserialize(params)
|
697
733
|
@AppBizId = params['AppBizId']
|
734
|
+
@IsCustomList = params['IsCustomList']
|
698
735
|
@RequestId = params['RequestId']
|
699
736
|
end
|
700
737
|
end
|
@@ -703,31 +740,30 @@ module TencentCloud
|
|
703
740
|
class CreateAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
704
741
|
# @param BotBizId: 应用ID
|
705
742
|
# @type BotBizId: String
|
706
|
-
# @param
|
707
|
-
# @type AttrKey: String
|
708
|
-
# @param AttrName: 属性名称
|
743
|
+
# @param AttrName: 标签名
|
709
744
|
# @type AttrName: String
|
710
|
-
# @param Labels:
|
745
|
+
# @param Labels: 标签值
|
711
746
|
# @type Labels: Array
|
747
|
+
# @param AttrKey: 标签标识(不生效,无需填写) 已作废
|
748
|
+
# @type AttrKey: String
|
712
749
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
713
750
|
# @type LoginUin: String
|
714
751
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
715
752
|
# @type LoginSubAccountUin: String
|
716
753
|
|
717
|
-
attr_accessor :BotBizId, :
|
754
|
+
attr_accessor :BotBizId, :AttrName, :Labels, :AttrKey, :LoginUin, :LoginSubAccountUin
|
718
755
|
|
719
|
-
def initialize(botbizid=nil,
|
756
|
+
def initialize(botbizid=nil, attrname=nil, labels=nil, attrkey=nil, loginuin=nil, loginsubaccountuin=nil)
|
720
757
|
@BotBizId = botbizid
|
721
|
-
@AttrKey = attrkey
|
722
758
|
@AttrName = attrname
|
723
759
|
@Labels = labels
|
760
|
+
@AttrKey = attrkey
|
724
761
|
@LoginUin = loginuin
|
725
762
|
@LoginSubAccountUin = loginsubaccountuin
|
726
763
|
end
|
727
764
|
|
728
765
|
def deserialize(params)
|
729
766
|
@BotBizId = params['BotBizId']
|
730
|
-
@AttrKey = params['AttrKey']
|
731
767
|
@AttrName = params['AttrName']
|
732
768
|
unless params['Labels'].nil?
|
733
769
|
@Labels = []
|
@@ -737,6 +773,7 @@ module TencentCloud
|
|
737
773
|
@Labels << attributelabel_tmp
|
738
774
|
end
|
739
775
|
end
|
776
|
+
@AttrKey = params['AttrKey']
|
740
777
|
@LoginUin = params['LoginUin']
|
741
778
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
742
779
|
end
|
@@ -744,16 +781,20 @@ module TencentCloud
|
|
744
781
|
|
745
782
|
# CreateAttributeLabel返回参数结构体
|
746
783
|
class CreateAttributeLabelResponse < TencentCloud::Common::AbstractModel
|
784
|
+
# @param AttrBizId: 标签ID
|
785
|
+
# @type AttrBizId: String
|
747
786
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
748
787
|
# @type RequestId: String
|
749
788
|
|
750
|
-
attr_accessor :RequestId
|
789
|
+
attr_accessor :AttrBizId, :RequestId
|
751
790
|
|
752
|
-
def initialize(requestid=nil)
|
791
|
+
def initialize(attrbizid=nil, requestid=nil)
|
792
|
+
@AttrBizId = attrbizid
|
753
793
|
@RequestId = requestid
|
754
794
|
end
|
755
795
|
|
756
796
|
def deserialize(params)
|
797
|
+
@AttrBizId = params['AttrBizId']
|
757
798
|
@RequestId = params['RequestId']
|
758
799
|
end
|
759
800
|
end
|
@@ -870,11 +911,11 @@ module TencentCloud
|
|
870
911
|
# @type Question: String
|
871
912
|
# @param Answer: 答案
|
872
913
|
# @type Answer: String
|
873
|
-
# @param AttrRange:
|
914
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件
|
874
915
|
# @type AttrRange: Integer
|
875
916
|
# @param CustomParam: 自定义参数
|
876
917
|
# @type CustomParam: String
|
877
|
-
# @param AttrLabels:
|
918
|
+
# @param AttrLabels: 标签引用
|
878
919
|
# @type AttrLabels: Array
|
879
920
|
# @param DocBizId: 文档ID
|
880
921
|
# @type DocBizId: String
|
@@ -886,10 +927,12 @@ module TencentCloud
|
|
886
927
|
# @type ExpireEnd: String
|
887
928
|
# @param SimilarQuestions: 相似问内容
|
888
929
|
# @type SimilarQuestions: Array
|
930
|
+
# @param QuestionDesc: 问题描述
|
931
|
+
# @type QuestionDesc: String
|
889
932
|
|
890
|
-
attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions
|
933
|
+
attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QuestionDesc
|
891
934
|
|
892
|
-
def initialize(botbizid=nil, question=nil, answer=nil, attrrange=nil, customparam=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestions=nil)
|
935
|
+
def initialize(botbizid=nil, question=nil, answer=nil, attrrange=nil, customparam=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestions=nil, questiondesc=nil)
|
893
936
|
@BotBizId = botbizid
|
894
937
|
@Question = question
|
895
938
|
@Answer = answer
|
@@ -901,6 +944,7 @@ module TencentCloud
|
|
901
944
|
@ExpireStart = expirestart
|
902
945
|
@ExpireEnd = expireend
|
903
946
|
@SimilarQuestions = similarquestions
|
947
|
+
@QuestionDesc = questiondesc
|
904
948
|
end
|
905
949
|
|
906
950
|
def deserialize(params)
|
@@ -922,6 +966,7 @@ module TencentCloud
|
|
922
966
|
@ExpireStart = params['ExpireStart']
|
923
967
|
@ExpireEnd = params['ExpireEnd']
|
924
968
|
@SimilarQuestions = params['SimilarQuestions']
|
969
|
+
@QuestionDesc = params['QuestionDesc']
|
925
970
|
end
|
926
971
|
end
|
927
972
|
|
@@ -1188,7 +1233,7 @@ module TencentCloud
|
|
1188
1233
|
class DeleteAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
1189
1234
|
# @param BotBizId: 应用ID
|
1190
1235
|
# @type BotBizId: String
|
1191
|
-
# @param AttributeBizIds:
|
1236
|
+
# @param AttributeBizIds: 标签ID
|
1192
1237
|
# @type AttributeBizIds: Array
|
1193
1238
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
1194
1239
|
# @type LoginUin: String
|
@@ -1567,16 +1612,18 @@ module TencentCloud
|
|
1567
1612
|
# @type SubBizType: String
|
1568
1613
|
# @param ModelName: 模型标识
|
1569
1614
|
# @type ModelName: String
|
1570
|
-
# @param StartTime:
|
1615
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
1571
1616
|
# @type StartTime: String
|
1572
|
-
# @param EndTime:
|
1617
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
1573
1618
|
# @type EndTime: String
|
1574
1619
|
# @param AppBizIds: 应用id列表
|
1575
1620
|
# @type AppBizIds: Array
|
1621
|
+
# @param SubScenes: 筛选子场景(文档解析场景使用)
|
1622
|
+
# @type SubScenes: Array
|
1576
1623
|
|
1577
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
|
1624
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes
|
1578
1625
|
|
1579
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
1626
|
+
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil)
|
1580
1627
|
@UinAccount = uinaccount
|
1581
1628
|
@LoginUin = loginuin
|
1582
1629
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -1585,6 +1632,7 @@ module TencentCloud
|
|
1585
1632
|
@StartTime = starttime
|
1586
1633
|
@EndTime = endtime
|
1587
1634
|
@AppBizIds = appbizids
|
1635
|
+
@SubScenes = subscenes
|
1588
1636
|
end
|
1589
1637
|
|
1590
1638
|
def deserialize(params)
|
@@ -1596,12 +1644,13 @@ module TencentCloud
|
|
1596
1644
|
@StartTime = params['StartTime']
|
1597
1645
|
@EndTime = params['EndTime']
|
1598
1646
|
@AppBizIds = params['AppBizIds']
|
1647
|
+
@SubScenes = params['SubScenes']
|
1599
1648
|
end
|
1600
1649
|
end
|
1601
1650
|
|
1602
1651
|
# DescribeCallStatsGraph返回参数结构体
|
1603
1652
|
class DescribeCallStatsGraphResponse < TencentCloud::Common::AbstractModel
|
1604
|
-
# @param List:
|
1653
|
+
# @param List: 接口调用次数统计信息
|
1605
1654
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1606
1655
|
# @type List: Array
|
1607
1656
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -1631,9 +1680,9 @@ module TencentCloud
|
|
1631
1680
|
class DescribeConcurrencyUsageGraphRequest < TencentCloud::Common::AbstractModel
|
1632
1681
|
# @param ModelName: 模型标识
|
1633
1682
|
# @type ModelName: String
|
1634
|
-
# @param StartTime:
|
1683
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
1635
1684
|
# @type StartTime: String
|
1636
|
-
# @param EndTime:
|
1685
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
1637
1686
|
# @type EndTime: String
|
1638
1687
|
# @param UinAccount: uin
|
1639
1688
|
# @type UinAccount: Array
|
@@ -1673,7 +1722,7 @@ module TencentCloud
|
|
1673
1722
|
|
1674
1723
|
# DescribeConcurrencyUsageGraph返回参数结构体
|
1675
1724
|
class DescribeConcurrencyUsageGraphResponse < TencentCloud::Common::AbstractModel
|
1676
|
-
# @param X:
|
1725
|
+
# @param X: X轴: 时间区域;根据查询条件的粒度返回“分/小时/日”两种区间范围
|
1677
1726
|
# @type X: Array
|
1678
1727
|
# @param AvailableY: 可用并发y轴坐标
|
1679
1728
|
# @type AvailableY: Array
|
@@ -1703,9 +1752,9 @@ module TencentCloud
|
|
1703
1752
|
class DescribeConcurrencyUsageRequest < TencentCloud::Common::AbstractModel
|
1704
1753
|
# @param ModelName: 模型标识
|
1705
1754
|
# @type ModelName: String
|
1706
|
-
# @param StartTime:
|
1755
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
1707
1756
|
# @type StartTime: String
|
1708
|
-
# @param EndTime:
|
1757
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
1709
1758
|
# @type EndTime: String
|
1710
1759
|
# @param AppBizIds: 应用id列表
|
1711
1760
|
# @type AppBizIds: Array
|
@@ -1729,11 +1778,11 @@ module TencentCloud
|
|
1729
1778
|
|
1730
1779
|
# DescribeConcurrencyUsage返回参数结构体
|
1731
1780
|
class DescribeConcurrencyUsageResponse < TencentCloud::Common::AbstractModel
|
1732
|
-
# @param AvailableConcurrency:
|
1781
|
+
# @param AvailableConcurrency: 可用并发数上限
|
1733
1782
|
# @type AvailableConcurrency: Integer
|
1734
1783
|
# @param ConcurrencyPeak: 并发峰值
|
1735
1784
|
# @type ConcurrencyPeak: Integer
|
1736
|
-
# @param ExceedUsageTime:
|
1785
|
+
# @param ExceedUsageTime: 超出可用并发数上限的次数
|
1737
1786
|
# @type ExceedUsageTime: Integer
|
1738
1787
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1739
1788
|
# @type RequestId: String
|
@@ -1858,16 +1907,18 @@ module TencentCloud
|
|
1858
1907
|
# @type DocCharSize: String
|
1859
1908
|
# @param IsAllowEdit: 是否允许编辑
|
1860
1909
|
# @type IsAllowEdit: Boolean
|
1861
|
-
# @param AttrRange:
|
1910
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件范围
|
1862
1911
|
# @type AttrRange: Integer
|
1863
|
-
# @param AttrLabels:
|
1912
|
+
# @param AttrLabels: 标签
|
1864
1913
|
# @type AttrLabels: Array
|
1914
|
+
# @param CateBizId: 分类ID
|
1915
|
+
# @type CateBizId: String
|
1865
1916
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1866
1917
|
# @type RequestId: String
|
1867
1918
|
|
1868
|
-
attr_accessor :DocBizId, :FileName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :IsAllowEdit, :AttrRange, :AttrLabels, :RequestId
|
1919
|
+
attr_accessor :DocBizId, :FileName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :IsAllowEdit, :AttrRange, :AttrLabels, :CateBizId, :RequestId
|
1869
1920
|
|
1870
|
-
def initialize(docbizid=nil, filename=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, isallowedit=nil, attrrange=nil, attrlabels=nil, requestid=nil)
|
1921
|
+
def initialize(docbizid=nil, filename=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, isallowedit=nil, attrrange=nil, attrlabels=nil, catebizid=nil, requestid=nil)
|
1871
1922
|
@DocBizId = docbizid
|
1872
1923
|
@FileName = filename
|
1873
1924
|
@FileType = filetype
|
@@ -1891,6 +1942,7 @@ module TencentCloud
|
|
1891
1942
|
@IsAllowEdit = isallowedit
|
1892
1943
|
@AttrRange = attrrange
|
1893
1944
|
@AttrLabels = attrlabels
|
1945
|
+
@CateBizId = catebizid
|
1894
1946
|
@RequestId = requestid
|
1895
1947
|
end
|
1896
1948
|
|
@@ -1925,6 +1977,7 @@ module TencentCloud
|
|
1925
1977
|
@AttrLabels << attrlabel_tmp
|
1926
1978
|
end
|
1927
1979
|
end
|
1980
|
+
@CateBizId = params['CateBizId']
|
1928
1981
|
@RequestId = params['RequestId']
|
1929
1982
|
end
|
1930
1983
|
end
|
@@ -1989,9 +2042,9 @@ module TencentCloud
|
|
1989
2042
|
|
1990
2043
|
# DescribeKnowledgeUsage返回参数结构体
|
1991
2044
|
class DescribeKnowledgeUsageResponse < TencentCloud::Common::AbstractModel
|
1992
|
-
# @param AvailableCharSize:
|
2045
|
+
# @param AvailableCharSize: 可用字符数上限
|
1993
2046
|
# @type AvailableCharSize: String
|
1994
|
-
# @param ExceedCharSize:
|
2047
|
+
# @param ExceedCharSize: 超过可用字符数上限的字符数
|
1995
2048
|
# @type ExceedCharSize: String
|
1996
2049
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1997
2050
|
# @type RequestId: String
|
@@ -2073,9 +2126,9 @@ module TencentCloud
|
|
2073
2126
|
# @type Highlights: Array
|
2074
2127
|
# @param OrgData: 分片内容
|
2075
2128
|
# @type OrgData: String
|
2076
|
-
# @param AttrRange:
|
2129
|
+
# @param AttrRange: 标签适用范围
|
2077
2130
|
# @type AttrRange: Integer
|
2078
|
-
# @param AttrLabels:
|
2131
|
+
# @param AttrLabels: 标签
|
2079
2132
|
# @type AttrLabels: Array
|
2080
2133
|
# @param ExpireStart: 有效开始时间,unix时间戳
|
2081
2134
|
# @type ExpireStart: String
|
@@ -2083,12 +2136,20 @@ module TencentCloud
|
|
2083
2136
|
# @type ExpireEnd: String
|
2084
2137
|
# @param SimilarQuestions: 相似问列表信息
|
2085
2138
|
# @type SimilarQuestions: Array
|
2139
|
+
# @param QaAuditStatus: 问题和答案文本审核状态 1审核失败
|
2140
|
+
# @type QaAuditStatus: Integer
|
2141
|
+
# @param PicAuditStatus: 答案中的图片审核状态 1审核失败
|
2142
|
+
# @type PicAuditStatus: Integer
|
2143
|
+
# @param VideoAuditStatus: 答案中的视频审核状态 1审核失败
|
2144
|
+
# @type VideoAuditStatus: Integer
|
2145
|
+
# @param QuestionDesc: 问题描述
|
2146
|
+
# @type QuestionDesc: String
|
2086
2147
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2087
2148
|
# @type RequestId: String
|
2088
2149
|
|
2089
|
-
attr_accessor :QaBizId, :Question, :Answer, :CustomParam, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :CateBizId, :IsAllowAccept, :IsAllowDelete, :IsAllowEdit, :DocBizId, :FileName, :FileType, :SegmentBizId, :PageContent, :Highlights, :OrgData, :AttrRange, :AttrLabels, :ExpireStart, :ExpireEnd, :SimilarQuestions, :RequestId
|
2150
|
+
attr_accessor :QaBizId, :Question, :Answer, :CustomParam, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :CateBizId, :IsAllowAccept, :IsAllowDelete, :IsAllowEdit, :DocBizId, :FileName, :FileType, :SegmentBizId, :PageContent, :Highlights, :OrgData, :AttrRange, :AttrLabels, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QaAuditStatus, :PicAuditStatus, :VideoAuditStatus, :QuestionDesc, :RequestId
|
2090
2151
|
|
2091
|
-
def initialize(qabizid=nil, question=nil, answer=nil, customparam=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, catebizid=nil, isallowaccept=nil, isallowdelete=nil, isallowedit=nil, docbizid=nil, filename=nil, filetype=nil, segmentbizid=nil, pagecontent=nil, highlights=nil, orgdata=nil, attrrange=nil, attrlabels=nil, expirestart=nil, expireend=nil, similarquestions=nil, requestid=nil)
|
2152
|
+
def initialize(qabizid=nil, question=nil, answer=nil, customparam=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, catebizid=nil, isallowaccept=nil, isallowdelete=nil, isallowedit=nil, docbizid=nil, filename=nil, filetype=nil, segmentbizid=nil, pagecontent=nil, highlights=nil, orgdata=nil, attrrange=nil, attrlabels=nil, expirestart=nil, expireend=nil, similarquestions=nil, qaauditstatus=nil, picauditstatus=nil, videoauditstatus=nil, questiondesc=nil, requestid=nil)
|
2092
2153
|
@QaBizId = qabizid
|
2093
2154
|
@Question = question
|
2094
2155
|
@Answer = answer
|
@@ -2114,6 +2175,10 @@ module TencentCloud
|
|
2114
2175
|
@ExpireStart = expirestart
|
2115
2176
|
@ExpireEnd = expireend
|
2116
2177
|
@SimilarQuestions = similarquestions
|
2178
|
+
@QaAuditStatus = qaauditstatus
|
2179
|
+
@PicAuditStatus = picauditstatus
|
2180
|
+
@VideoAuditStatus = videoauditstatus
|
2181
|
+
@QuestionDesc = questiondesc
|
2117
2182
|
@RequestId = requestid
|
2118
2183
|
end
|
2119
2184
|
|
@@ -2164,6 +2229,10 @@ module TencentCloud
|
|
2164
2229
|
@SimilarQuestions << similarquestion_tmp
|
2165
2230
|
end
|
2166
2231
|
end
|
2232
|
+
@QaAuditStatus = params['QaAuditStatus']
|
2233
|
+
@PicAuditStatus = params['PicAuditStatus']
|
2234
|
+
@VideoAuditStatus = params['VideoAuditStatus']
|
2235
|
+
@QuestionDesc = params['QuestionDesc']
|
2167
2236
|
@RequestId = params['RequestId']
|
2168
2237
|
end
|
2169
2238
|
end
|
@@ -2371,9 +2440,9 @@ module TencentCloud
|
|
2371
2440
|
# @type SubBizType: String
|
2372
2441
|
# @param ModelName: 模型标识
|
2373
2442
|
# @type ModelName: String
|
2374
|
-
# @param StartTime:
|
2443
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
2375
2444
|
# @type StartTime: String
|
2376
|
-
# @param EndTime:
|
2445
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
2377
2446
|
# @type EndTime: String
|
2378
2447
|
# @param AppBizIds: 应用id列表
|
2379
2448
|
# @type AppBizIds: Array
|
@@ -2435,7 +2504,7 @@ module TencentCloud
|
|
2435
2504
|
class DescribeSegmentsRequest < TencentCloud::Common::AbstractModel
|
2436
2505
|
# @param BotBizId: 应用ID
|
2437
2506
|
# @type BotBizId: String
|
2438
|
-
# @param SegBizId:
|
2507
|
+
# @param SegBizId: 文档片段ID
|
2439
2508
|
# @type SegBizId: Array
|
2440
2509
|
|
2441
2510
|
attr_accessor :BotBizId, :SegBizId
|
@@ -2574,9 +2643,9 @@ module TencentCloud
|
|
2574
2643
|
# @type SubBizType: String
|
2575
2644
|
# @param ModelName: 模型标识
|
2576
2645
|
# @type ModelName: String
|
2577
|
-
# @param StartTime:
|
2646
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
2578
2647
|
# @type StartTime: String
|
2579
|
-
# @param EndTime:
|
2648
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
2580
2649
|
# @type EndTime: String
|
2581
2650
|
# @param AppBizIds: 应用id列表
|
2582
2651
|
# @type AppBizIds: Array
|
@@ -2604,11 +2673,11 @@ module TencentCloud
|
|
2604
2673
|
|
2605
2674
|
# DescribeTokenUsageGraph返回参数结构体
|
2606
2675
|
class DescribeTokenUsageGraphResponse < TencentCloud::Common::AbstractModel
|
2607
|
-
# @param Total:
|
2676
|
+
# @param Total: Token消耗总量
|
2608
2677
|
# @type Total: Array
|
2609
|
-
# @param Input:
|
2678
|
+
# @param Input: 输入Token消耗量
|
2610
2679
|
# @type Input: Array
|
2611
|
-
# @param Output:
|
2680
|
+
# @param Output: 输出Token消耗量
|
2612
2681
|
# @type Output: Array
|
2613
2682
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2614
2683
|
# @type RequestId: String
|
@@ -2663,16 +2732,18 @@ module TencentCloud
|
|
2663
2732
|
# @type SubBizType: String
|
2664
2733
|
# @param ModelName: 模型标识
|
2665
2734
|
# @type ModelName: String
|
2666
|
-
# @param StartTime:
|
2735
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
2667
2736
|
# @type StartTime: String
|
2668
|
-
# @param EndTime:
|
2737
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
2669
2738
|
# @type EndTime: String
|
2670
2739
|
# @param AppBizIds: 应用id列表
|
2671
2740
|
# @type AppBizIds: Array
|
2741
|
+
# @param SubScenes: 筛选子场景(文档解析场景使用)
|
2742
|
+
# @type SubScenes: Array
|
2672
2743
|
|
2673
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
|
2744
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes
|
2674
2745
|
|
2675
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
2746
|
+
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil)
|
2676
2747
|
@UinAccount = uinaccount
|
2677
2748
|
@LoginUin = loginuin
|
2678
2749
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -2681,6 +2752,7 @@ module TencentCloud
|
|
2681
2752
|
@StartTime = starttime
|
2682
2753
|
@EndTime = endtime
|
2683
2754
|
@AppBizIds = appbizids
|
2755
|
+
@SubScenes = subscenes
|
2684
2756
|
end
|
2685
2757
|
|
2686
2758
|
def deserialize(params)
|
@@ -2692,6 +2764,7 @@ module TencentCloud
|
|
2692
2764
|
@StartTime = params['StartTime']
|
2693
2765
|
@EndTime = params['EndTime']
|
2694
2766
|
@AppBizIds = params['AppBizIds']
|
2767
|
+
@SubScenes = params['SubScenes']
|
2695
2768
|
end
|
2696
2769
|
end
|
2697
2770
|
|
@@ -2707,17 +2780,20 @@ module TencentCloud
|
|
2707
2780
|
# @type ApiCallStats: Integer
|
2708
2781
|
# @param SearchUsage: 搜索服务调用次数
|
2709
2782
|
# @type SearchUsage: Float
|
2783
|
+
# @param PageUsage: 文档解析消耗页数
|
2784
|
+
# @type PageUsage: Integer
|
2710
2785
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2711
2786
|
# @type RequestId: String
|
2712
2787
|
|
2713
|
-
attr_accessor :TotalTokenUsage, :InputTokenUsage, :OutputTokenUsage, :ApiCallStats, :SearchUsage, :RequestId
|
2788
|
+
attr_accessor :TotalTokenUsage, :InputTokenUsage, :OutputTokenUsage, :ApiCallStats, :SearchUsage, :PageUsage, :RequestId
|
2714
2789
|
|
2715
|
-
def initialize(totaltokenusage=nil, inputtokenusage=nil, outputtokenusage=nil, apicallstats=nil, searchusage=nil, requestid=nil)
|
2790
|
+
def initialize(totaltokenusage=nil, inputtokenusage=nil, outputtokenusage=nil, apicallstats=nil, searchusage=nil, pageusage=nil, requestid=nil)
|
2716
2791
|
@TotalTokenUsage = totaltokenusage
|
2717
2792
|
@InputTokenUsage = inputtokenusage
|
2718
2793
|
@OutputTokenUsage = outputtokenusage
|
2719
2794
|
@ApiCallStats = apicallstats
|
2720
2795
|
@SearchUsage = searchusage
|
2796
|
+
@PageUsage = pageusage
|
2721
2797
|
@RequestId = requestid
|
2722
2798
|
end
|
2723
2799
|
|
@@ -2727,6 +2803,7 @@ module TencentCloud
|
|
2727
2803
|
@OutputTokenUsage = params['OutputTokenUsage']
|
2728
2804
|
@ApiCallStats = params['ApiCallStats']
|
2729
2805
|
@SearchUsage = params['SearchUsage']
|
2806
|
+
@PageUsage = params['PageUsage']
|
2730
2807
|
@RequestId = params['RequestId']
|
2731
2808
|
end
|
2732
2809
|
end
|
@@ -4135,13 +4212,13 @@ module TencentCloud
|
|
4135
4212
|
|
4136
4213
|
# 知识库容量饼图详情
|
4137
4214
|
class KnowledgeCapacityPieGraphDetail < TencentCloud::Common::AbstractModel
|
4138
|
-
# @param AppName:
|
4215
|
+
# @param AppName: 当前应用名称
|
4139
4216
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4140
4217
|
# @type AppName: String
|
4141
|
-
# @param UsedCharSize:
|
4218
|
+
# @param UsedCharSize: 当前应用使用的字符数
|
4142
4219
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4143
4220
|
# @type UsedCharSize: String
|
4144
|
-
# @param Proportion:
|
4221
|
+
# @param Proportion: 当前应用对于总用量的占比
|
4145
4222
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4146
4223
|
# @type Proportion: Float
|
4147
4224
|
|
@@ -4177,15 +4254,23 @@ module TencentCloud
|
|
4177
4254
|
# @param Output: 知识管理输出配置
|
4178
4255
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4179
4256
|
# @type Output: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeQaOutput`
|
4257
|
+
# @param Workflow: 工作流程配置
|
4258
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4259
|
+
# @type Workflow: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeWorkflow`
|
4260
|
+
# @param SearchRange: 检索范围
|
4261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4262
|
+
# @type SearchRange: :class:`Tencentcloud::Lke.v20231130.models.SearchRange`
|
4180
4263
|
|
4181
|
-
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output
|
4264
|
+
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange
|
4182
4265
|
|
4183
|
-
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil)
|
4266
|
+
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil)
|
4184
4267
|
@Greeting = greeting
|
4185
4268
|
@RoleDescription = roledescription
|
4186
4269
|
@Model = model
|
4187
4270
|
@Search = search
|
4188
4271
|
@Output = output
|
4272
|
+
@Workflow = workflow
|
4273
|
+
@SearchRange = searchrange
|
4189
4274
|
end
|
4190
4275
|
|
4191
4276
|
def deserialize(params)
|
@@ -4207,6 +4292,14 @@ module TencentCloud
|
|
4207
4292
|
@Output = KnowledgeQaOutput.new
|
4208
4293
|
@Output.deserialize(params['Output'])
|
4209
4294
|
end
|
4295
|
+
unless params['Workflow'].nil?
|
4296
|
+
@Workflow = KnowledgeWorkflow.new
|
4297
|
+
@Workflow.deserialize(params['Workflow'])
|
4298
|
+
end
|
4299
|
+
unless params['SearchRange'].nil?
|
4300
|
+
@SearchRange = SearchRange.new
|
4301
|
+
@SearchRange.deserialize(params['SearchRange'])
|
4302
|
+
end
|
4210
4303
|
end
|
4211
4304
|
end
|
4212
4305
|
|
@@ -4336,6 +4429,23 @@ module TencentCloud
|
|
4336
4429
|
end
|
4337
4430
|
end
|
4338
4431
|
|
4432
|
+
# 问答知识库工作流配置
|
4433
|
+
class KnowledgeWorkflow < TencentCloud::Common::AbstractModel
|
4434
|
+
# @param IsEnabled: 是否启用工作流
|
4435
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4436
|
+
# @type IsEnabled: Boolean
|
4437
|
+
|
4438
|
+
attr_accessor :IsEnabled
|
4439
|
+
|
4440
|
+
def initialize(isenabled=nil)
|
4441
|
+
@IsEnabled = isenabled
|
4442
|
+
end
|
4443
|
+
|
4444
|
+
def deserialize(params)
|
4445
|
+
@IsEnabled = params['IsEnabled']
|
4446
|
+
end
|
4447
|
+
end
|
4448
|
+
|
4339
4449
|
# 标签ID
|
4340
4450
|
class Label < TencentCloud::Common::AbstractModel
|
4341
4451
|
# @param LabelBizId: 标签ID
|
@@ -4726,15 +4836,21 @@ module TencentCloud
|
|
4726
4836
|
# @type Query: String
|
4727
4837
|
# @param Status: 文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10-待发布 11-发布中 12-已发布 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复
|
4728
4838
|
# @type Status: Array
|
4839
|
+
# @param QueryType: 查询类型 filename 文档、 attribute 标签
|
4840
|
+
# @type QueryType: String
|
4841
|
+
# @param CateBizId: 分类ID
|
4842
|
+
# @type CateBizId: String
|
4729
4843
|
|
4730
|
-
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status
|
4844
|
+
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId
|
4731
4845
|
|
4732
|
-
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil)
|
4846
|
+
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil, querytype=nil, catebizid=nil)
|
4733
4847
|
@BotBizId = botbizid
|
4734
4848
|
@PageNumber = pagenumber
|
4735
4849
|
@PageSize = pagesize
|
4736
4850
|
@Query = query
|
4737
4851
|
@Status = status
|
4852
|
+
@QueryType = querytype
|
4853
|
+
@CateBizId = catebizid
|
4738
4854
|
end
|
4739
4855
|
|
4740
4856
|
def deserialize(params)
|
@@ -4743,6 +4859,8 @@ module TencentCloud
|
|
4743
4859
|
@PageSize = params['PageSize']
|
4744
4860
|
@Query = params['Query']
|
4745
4861
|
@Status = params['Status']
|
4862
|
+
@QueryType = params['QueryType']
|
4863
|
+
@CateBizId = params['CateBizId']
|
4746
4864
|
end
|
4747
4865
|
end
|
4748
4866
|
|
@@ -4893,10 +5011,12 @@ module TencentCloud
|
|
4893
5011
|
# @type QueryAnswer: String
|
4894
5012
|
# @param QaBizIds: QA业务ID列表
|
4895
5013
|
# @type QaBizIds: Array
|
5014
|
+
# @param QueryType: 查询类型 filename 名称、 attribute 标签
|
5015
|
+
# @type QueryType: String
|
4896
5016
|
|
4897
|
-
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :QaBizIds
|
5017
|
+
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :QaBizIds, :QueryType
|
4898
5018
|
|
4899
|
-
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, qabizids=nil)
|
5019
|
+
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, qabizids=nil, querytype=nil)
|
4900
5020
|
@BotBizId = botbizid
|
4901
5021
|
@PageNumber = pagenumber
|
4902
5022
|
@PageSize = pagesize
|
@@ -4907,6 +5027,7 @@ module TencentCloud
|
|
4907
5027
|
@Source = source
|
4908
5028
|
@QueryAnswer = queryanswer
|
4909
5029
|
@QaBizIds = qabizids
|
5030
|
+
@QueryType = querytype
|
4910
5031
|
end
|
4911
5032
|
|
4912
5033
|
def deserialize(params)
|
@@ -4920,6 +5041,7 @@ module TencentCloud
|
|
4920
5041
|
@Source = params['Source']
|
4921
5042
|
@QueryAnswer = params['QueryAnswer']
|
4922
5043
|
@QaBizIds = params['QaBizIds']
|
5044
|
+
@QueryType = params['QueryType']
|
4923
5045
|
end
|
4924
5046
|
end
|
4925
5047
|
|
@@ -5708,15 +5830,27 @@ module TencentCloud
|
|
5708
5830
|
# @param PromptWordsLimit: 提示词内容字符限制
|
5709
5831
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5710
5832
|
# @type PromptWordsLimit: String
|
5833
|
+
# @param TopP: 通过核心采样控制内容生成的多样性,较高的Top P值会导致生成更多样的内容
|
5834
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5835
|
+
# @type TopP: :class:`Tencentcloud::Lke.v20231130.models.ModelParameter`
|
5836
|
+
# @param Temperature: 温度控制随机性
|
5837
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5838
|
+
# @type Temperature: :class:`Tencentcloud::Lke.v20231130.models.ModelParameter`
|
5839
|
+
# @param MaxTokens: 最多能生成的token数量
|
5840
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5841
|
+
# @type MaxTokens: :class:`Tencentcloud::Lke.v20231130.models.ModelParameter`
|
5711
5842
|
|
5712
|
-
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit
|
5843
|
+
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens
|
5713
5844
|
|
5714
|
-
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil)
|
5845
|
+
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil, topp=nil, temperature=nil, maxtokens=nil)
|
5715
5846
|
@ModelName = modelname
|
5716
5847
|
@ModelDesc = modeldesc
|
5717
5848
|
@AliasName = aliasname
|
5718
5849
|
@ResourceStatus = resourcestatus
|
5719
5850
|
@PromptWordsLimit = promptwordslimit
|
5851
|
+
@TopP = topp
|
5852
|
+
@Temperature = temperature
|
5853
|
+
@MaxTokens = maxtokens
|
5720
5854
|
end
|
5721
5855
|
|
5722
5856
|
def deserialize(params)
|
@@ -5725,6 +5859,45 @@ module TencentCloud
|
|
5725
5859
|
@AliasName = params['AliasName']
|
5726
5860
|
@ResourceStatus = params['ResourceStatus']
|
5727
5861
|
@PromptWordsLimit = params['PromptWordsLimit']
|
5862
|
+
unless params['TopP'].nil?
|
5863
|
+
@TopP = ModelParameter.new
|
5864
|
+
@TopP.deserialize(params['TopP'])
|
5865
|
+
end
|
5866
|
+
unless params['Temperature'].nil?
|
5867
|
+
@Temperature = ModelParameter.new
|
5868
|
+
@Temperature.deserialize(params['Temperature'])
|
5869
|
+
end
|
5870
|
+
unless params['MaxTokens'].nil?
|
5871
|
+
@MaxTokens = ModelParameter.new
|
5872
|
+
@MaxTokens.deserialize(params['MaxTokens'])
|
5873
|
+
end
|
5874
|
+
end
|
5875
|
+
end
|
5876
|
+
|
5877
|
+
# 模型参数范围
|
5878
|
+
class ModelParameter < TencentCloud::Common::AbstractModel
|
5879
|
+
# @param Default: 默认值
|
5880
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5881
|
+
# @type Default: Float
|
5882
|
+
# @param Min: 最小值
|
5883
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5884
|
+
# @type Min: Float
|
5885
|
+
# @param Max: 最大值
|
5886
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5887
|
+
# @type Max: Float
|
5888
|
+
|
5889
|
+
attr_accessor :Default, :Min, :Max
|
5890
|
+
|
5891
|
+
def initialize(default=nil, min=nil, max=nil)
|
5892
|
+
@Default = default
|
5893
|
+
@Min = min
|
5894
|
+
@Max = max
|
5895
|
+
end
|
5896
|
+
|
5897
|
+
def deserialize(params)
|
5898
|
+
@Default = params['Default']
|
5899
|
+
@Min = params['Min']
|
5900
|
+
@Max = params['Max']
|
5728
5901
|
end
|
5729
5902
|
end
|
5730
5903
|
|
@@ -5736,19 +5909,19 @@ module TencentCloud
|
|
5736
5909
|
# @type AppType: String
|
5737
5910
|
# @param BaseConfig: 应用基础配置
|
5738
5911
|
# @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
|
5739
|
-
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5740
|
-
# @type LoginSubAccountUin: String
|
5741
5912
|
# @param AppConfig: 应用配置
|
5742
5913
|
# @type AppConfig: :class:`Tencentcloud::Lke.v20231130.models.AppConfig`
|
5914
|
+
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5915
|
+
# @type LoginSubAccountUin: String
|
5743
5916
|
|
5744
|
-
attr_accessor :AppBizId, :AppType, :BaseConfig, :
|
5917
|
+
attr_accessor :AppBizId, :AppType, :BaseConfig, :AppConfig, :LoginSubAccountUin
|
5745
5918
|
|
5746
|
-
def initialize(appbizid=nil, apptype=nil, baseconfig=nil,
|
5919
|
+
def initialize(appbizid=nil, apptype=nil, baseconfig=nil, appconfig=nil, loginsubaccountuin=nil)
|
5747
5920
|
@AppBizId = appbizid
|
5748
5921
|
@AppType = apptype
|
5749
5922
|
@BaseConfig = baseconfig
|
5750
|
-
@LoginSubAccountUin = loginsubaccountuin
|
5751
5923
|
@AppConfig = appconfig
|
5924
|
+
@LoginSubAccountUin = loginsubaccountuin
|
5752
5925
|
end
|
5753
5926
|
|
5754
5927
|
def deserialize(params)
|
@@ -5758,11 +5931,11 @@ module TencentCloud
|
|
5758
5931
|
@BaseConfig = BaseConfig.new
|
5759
5932
|
@BaseConfig.deserialize(params['BaseConfig'])
|
5760
5933
|
end
|
5761
|
-
@LoginSubAccountUin = params['LoginSubAccountUin']
|
5762
5934
|
unless params['AppConfig'].nil?
|
5763
5935
|
@AppConfig = AppConfig.new
|
5764
5936
|
@AppConfig.deserialize(params['AppConfig'])
|
5765
5937
|
end
|
5938
|
+
@LoginSubAccountUin = params['LoginSubAccountUin']
|
5766
5939
|
end
|
5767
5940
|
end
|
5768
5941
|
|
@@ -5795,28 +5968,28 @@ module TencentCloud
|
|
5795
5968
|
class ModifyAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
5796
5969
|
# @param BotBizId: 应用ID
|
5797
5970
|
# @type BotBizId: String
|
5798
|
-
# @param AttributeBizId:
|
5971
|
+
# @param AttributeBizId: 标签ID
|
5799
5972
|
# @type AttributeBizId: String
|
5800
|
-
# @param
|
5801
|
-
# @type AttrKey: String
|
5802
|
-
# @param AttrName: 属性名称
|
5973
|
+
# @param AttrName: 标签名称
|
5803
5974
|
# @type AttrName: String
|
5975
|
+
# @param AttrKey: 标签标识 (已作废)
|
5976
|
+
# @type AttrKey: String
|
5804
5977
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
5805
5978
|
# @type LoginUin: String
|
5806
5979
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5807
5980
|
# @type LoginSubAccountUin: String
|
5808
|
-
# @param DeleteLabelBizIds:
|
5981
|
+
# @param DeleteLabelBizIds: 删除的标签值
|
5809
5982
|
# @type DeleteLabelBizIds: Array
|
5810
|
-
# @param Labels:
|
5983
|
+
# @param Labels: 新增或编辑的标签
|
5811
5984
|
# @type Labels: Array
|
5812
5985
|
|
5813
|
-
attr_accessor :BotBizId, :AttributeBizId, :
|
5986
|
+
attr_accessor :BotBizId, :AttributeBizId, :AttrName, :AttrKey, :LoginUin, :LoginSubAccountUin, :DeleteLabelBizIds, :Labels
|
5814
5987
|
|
5815
|
-
def initialize(botbizid=nil, attributebizid=nil,
|
5988
|
+
def initialize(botbizid=nil, attributebizid=nil, attrname=nil, attrkey=nil, loginuin=nil, loginsubaccountuin=nil, deletelabelbizids=nil, labels=nil)
|
5816
5989
|
@BotBizId = botbizid
|
5817
5990
|
@AttributeBizId = attributebizid
|
5818
|
-
@AttrKey = attrkey
|
5819
5991
|
@AttrName = attrname
|
5992
|
+
@AttrKey = attrkey
|
5820
5993
|
@LoginUin = loginuin
|
5821
5994
|
@LoginSubAccountUin = loginsubaccountuin
|
5822
5995
|
@DeleteLabelBizIds = deletelabelbizids
|
@@ -5826,8 +5999,8 @@ module TencentCloud
|
|
5826
5999
|
def deserialize(params)
|
5827
6000
|
@BotBizId = params['BotBizId']
|
5828
6001
|
@AttributeBizId = params['AttributeBizId']
|
5829
|
-
@AttrKey = params['AttrKey']
|
5830
6002
|
@AttrName = params['AttrName']
|
6003
|
+
@AttrKey = params['AttrKey']
|
5831
6004
|
@LoginUin = params['LoginUin']
|
5832
6005
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
5833
6006
|
@DeleteLabelBizIds = params['DeleteLabelBizIds']
|
@@ -5921,13 +6094,13 @@ module TencentCloud
|
|
5921
6094
|
# @type DocBizId: String
|
5922
6095
|
# @param IsRefer: 是否引用链接
|
5923
6096
|
# @type IsRefer: Boolean
|
5924
|
-
# @param AttrRange:
|
6097
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件
|
5925
6098
|
# @type AttrRange: Integer
|
5926
6099
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
5927
6100
|
# @type LoginUin: String
|
5928
6101
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5929
6102
|
# @type LoginSubAccountUin: String
|
5930
|
-
# @param AttrLabels:
|
6103
|
+
# @param AttrLabels: 关联的标签
|
5931
6104
|
# @type AttrLabels: Array
|
5932
6105
|
# @param WebUrl: 网页(或自定义链接)地址
|
5933
6106
|
# @type WebUrl: String
|
@@ -5938,10 +6111,12 @@ module TencentCloud
|
|
5938
6111
|
# @type ExpireStart: String
|
5939
6112
|
# @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
|
5940
6113
|
# @type ExpireEnd: String
|
6114
|
+
# @param CateBizId: 分类ID
|
6115
|
+
# @type CateBizId: String
|
5941
6116
|
|
5942
|
-
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd
|
6117
|
+
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId
|
5943
6118
|
|
5944
|
-
def initialize(botbizid=nil, docbizid=nil, isrefer=nil, attrrange=nil, loginuin=nil, loginsubaccountuin=nil, attrlabels=nil, weburl=nil, referurltype=nil, expirestart=nil, expireend=nil)
|
6119
|
+
def initialize(botbizid=nil, docbizid=nil, isrefer=nil, attrrange=nil, loginuin=nil, loginsubaccountuin=nil, attrlabels=nil, weburl=nil, referurltype=nil, expirestart=nil, expireend=nil, catebizid=nil)
|
5945
6120
|
@BotBizId = botbizid
|
5946
6121
|
@DocBizId = docbizid
|
5947
6122
|
@IsRefer = isrefer
|
@@ -5953,6 +6128,7 @@ module TencentCloud
|
|
5953
6128
|
@ReferUrlType = referurltype
|
5954
6129
|
@ExpireStart = expirestart
|
5955
6130
|
@ExpireEnd = expireend
|
6131
|
+
@CateBizId = catebizid
|
5956
6132
|
end
|
5957
6133
|
|
5958
6134
|
def deserialize(params)
|
@@ -5974,6 +6150,7 @@ module TencentCloud
|
|
5974
6150
|
@ReferUrlType = params['ReferUrlType']
|
5975
6151
|
@ExpireStart = params['ExpireStart']
|
5976
6152
|
@ExpireEnd = params['ExpireEnd']
|
6153
|
+
@CateBizId = params['CateBizId']
|
5977
6154
|
end
|
5978
6155
|
end
|
5979
6156
|
|
@@ -6096,9 +6273,9 @@ module TencentCloud
|
|
6096
6273
|
# @type Answer: String
|
6097
6274
|
# @param CustomParam: 自定义参数
|
6098
6275
|
# @type CustomParam: String
|
6099
|
-
# @param AttrRange:
|
6276
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件
|
6100
6277
|
# @type AttrRange: Integer
|
6101
|
-
# @param AttrLabels:
|
6278
|
+
# @param AttrLabels: 标签引用
|
6102
6279
|
# @type AttrLabels: Array
|
6103
6280
|
# @param DocBizId: 文档ID
|
6104
6281
|
# @type DocBizId: String
|
@@ -6110,10 +6287,12 @@ module TencentCloud
|
|
6110
6287
|
# @type ExpireEnd: String
|
6111
6288
|
# @param SimilarQuestionModify: 相似问修改信息(相似问没有修改则不传)
|
6112
6289
|
# @type SimilarQuestionModify: :class:`Tencentcloud::Lke.v20231130.models.SimilarQuestionModify`
|
6290
|
+
# @param QuestionDesc: 问题描述
|
6291
|
+
# @type QuestionDesc: String
|
6113
6292
|
|
6114
|
-
attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify
|
6293
|
+
attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify, :QuestionDesc
|
6115
6294
|
|
6116
|
-
def initialize(botbizid=nil, qabizid=nil, question=nil, answer=nil, customparam=nil, attrrange=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestionmodify=nil)
|
6295
|
+
def initialize(botbizid=nil, qabizid=nil, question=nil, answer=nil, customparam=nil, attrrange=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestionmodify=nil, questiondesc=nil)
|
6117
6296
|
@BotBizId = botbizid
|
6118
6297
|
@QaBizId = qabizid
|
6119
6298
|
@Question = question
|
@@ -6126,6 +6305,7 @@ module TencentCloud
|
|
6126
6305
|
@ExpireStart = expirestart
|
6127
6306
|
@ExpireEnd = expireend
|
6128
6307
|
@SimilarQuestionModify = similarquestionmodify
|
6308
|
+
@QuestionDesc = questiondesc
|
6129
6309
|
end
|
6130
6310
|
|
6131
6311
|
def deserialize(params)
|
@@ -6151,6 +6331,7 @@ module TencentCloud
|
|
6151
6331
|
@SimilarQuestionModify = SimilarQuestionModify.new
|
6152
6332
|
@SimilarQuestionModify.deserialize(params['SimilarQuestionModify'])
|
6153
6333
|
end
|
6334
|
+
@QuestionDesc = params['QuestionDesc']
|
6154
6335
|
end
|
6155
6336
|
end
|
6156
6337
|
|
@@ -6626,15 +6807,19 @@ module TencentCloud
|
|
6626
6807
|
# @param TaskFlow: 任务流程
|
6627
6808
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6628
6809
|
# @type TaskFlow: :class:`Tencentcloud::Lke.v20231130.models.TaskFlowSummary`
|
6810
|
+
# @param WorkFlow: 工作流调试信息
|
6811
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6812
|
+
# @type WorkFlow: :class:`Tencentcloud::Lke.v20231130.models.WorkFlowSummary`
|
6629
6813
|
|
6630
|
-
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow
|
6814
|
+
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow
|
6631
6815
|
|
6632
|
-
def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil)
|
6816
|
+
def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil, workflow=nil)
|
6633
6817
|
@Content = content
|
6634
6818
|
@System = system
|
6635
6819
|
@Histories = histories
|
6636
6820
|
@Knowledge = knowledge
|
6637
6821
|
@TaskFlow = taskflow
|
6822
|
+
@WorkFlow = workflow
|
6638
6823
|
end
|
6639
6824
|
|
6640
6825
|
def deserialize(params)
|
@@ -6660,6 +6845,10 @@ module TencentCloud
|
|
6660
6845
|
@TaskFlow = TaskFlowSummary.new
|
6661
6846
|
@TaskFlow.deserialize(params['TaskFlow'])
|
6662
6847
|
end
|
6848
|
+
unless params['WorkFlow'].nil?
|
6849
|
+
@WorkFlow = WorkFlowSummary.new
|
6850
|
+
@WorkFlow.deserialize(params['WorkFlow'])
|
6851
|
+
end
|
6663
6852
|
end
|
6664
6853
|
end
|
6665
6854
|
|
@@ -7715,13 +7904,13 @@ module TencentCloud
|
|
7715
7904
|
# @type CosHash: String
|
7716
7905
|
# @param Size: 文件大小
|
7717
7906
|
# @type Size: String
|
7718
|
-
# @param AttrRange:
|
7907
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件范围
|
7719
7908
|
# @type AttrRange: Integer
|
7720
7909
|
# @param Source: 来源(0 源文件导入 1 网页导入)
|
7721
7910
|
# @type Source: Integer
|
7722
7911
|
# @param WebUrl: 网页(或自定义链接)地址
|
7723
7912
|
# @type WebUrl: String
|
7724
|
-
# @param AttrLabels:
|
7913
|
+
# @param AttrLabels: 标签引用
|
7725
7914
|
# @type AttrLabels: Array
|
7726
7915
|
# @param ReferUrlType: 外部引用链接类型 0:系统链接 1:自定义链接
|
7727
7916
|
# 值为1时,WebUrl 字段不能为空,否则不生效。
|
@@ -7734,10 +7923,12 @@ module TencentCloud
|
|
7734
7923
|
# @type IsRefer: Boolean
|
7735
7924
|
# @param Opt: 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档)
|
7736
7925
|
# @type Opt: Integer
|
7926
|
+
# @param CateBizId: 分类ID
|
7927
|
+
# @type CateBizId: String
|
7737
7928
|
|
7738
|
-
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt
|
7929
|
+
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId
|
7739
7930
|
|
7740
|
-
def initialize(botbizid=nil, filename=nil, filetype=nil, cosurl=nil, etag=nil, coshash=nil, size=nil, attrrange=nil, source=nil, weburl=nil, attrlabels=nil, referurltype=nil, expirestart=nil, expireend=nil, isrefer=nil, opt=nil)
|
7931
|
+
def initialize(botbizid=nil, filename=nil, filetype=nil, cosurl=nil, etag=nil, coshash=nil, size=nil, attrrange=nil, source=nil, weburl=nil, attrlabels=nil, referurltype=nil, expirestart=nil, expireend=nil, isrefer=nil, opt=nil, catebizid=nil)
|
7741
7932
|
@BotBizId = botbizid
|
7742
7933
|
@FileName = filename
|
7743
7934
|
@FileType = filetype
|
@@ -7754,6 +7945,7 @@ module TencentCloud
|
|
7754
7945
|
@ExpireEnd = expireend
|
7755
7946
|
@IsRefer = isrefer
|
7756
7947
|
@Opt = opt
|
7948
|
+
@CateBizId = catebizid
|
7757
7949
|
end
|
7758
7950
|
|
7759
7951
|
def deserialize(params)
|
@@ -7780,6 +7972,7 @@ module TencentCloud
|
|
7780
7972
|
@ExpireEnd = params['ExpireEnd']
|
7781
7973
|
@IsRefer = params['IsRefer']
|
7782
7974
|
@Opt = params['Opt']
|
7975
|
+
@CateBizId = params['CateBizId']
|
7783
7976
|
end
|
7784
7977
|
end
|
7785
7978
|
|
@@ -7815,6 +8008,35 @@ module TencentCloud
|
|
7815
8008
|
end
|
7816
8009
|
end
|
7817
8010
|
|
8011
|
+
# 检索范围配置
|
8012
|
+
class SearchRange < TencentCloud::Common::AbstractModel
|
8013
|
+
# @param Condition: 检索条件and/or
|
8014
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8015
|
+
# @type Condition: String
|
8016
|
+
# @param ApiVarAttrInfos: 自定义变量和标签关系数据
|
8017
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8018
|
+
# @type ApiVarAttrInfos: Array
|
8019
|
+
|
8020
|
+
attr_accessor :Condition, :ApiVarAttrInfos
|
8021
|
+
|
8022
|
+
def initialize(condition=nil, apivarattrinfos=nil)
|
8023
|
+
@Condition = condition
|
8024
|
+
@ApiVarAttrInfos = apivarattrinfos
|
8025
|
+
end
|
8026
|
+
|
8027
|
+
def deserialize(params)
|
8028
|
+
@Condition = params['Condition']
|
8029
|
+
unless params['ApiVarAttrInfos'].nil?
|
8030
|
+
@ApiVarAttrInfos = []
|
8031
|
+
params['ApiVarAttrInfos'].each do |i|
|
8032
|
+
apivarattrinfo_tmp = ApiVarAttrInfo.new
|
8033
|
+
apivarattrinfo_tmp.deserialize(i)
|
8034
|
+
@ApiVarAttrInfos << apivarattrinfo_tmp
|
8035
|
+
end
|
8036
|
+
end
|
8037
|
+
end
|
8038
|
+
end
|
8039
|
+
|
7818
8040
|
# 相似问信息
|
7819
8041
|
class SimilarQuestion < TencentCloud::Common::AbstractModel
|
7820
8042
|
# @param SimBizId: 相似问ID
|
@@ -7823,17 +8045,22 @@ module TencentCloud
|
|
7823
8045
|
# @param Question: 相似问内容
|
7824
8046
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7825
8047
|
# @type Question: String
|
8048
|
+
# @param AuditStatus: 相似问审核状态,1审核失败
|
8049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8050
|
+
# @type AuditStatus: Integer
|
7826
8051
|
|
7827
|
-
attr_accessor :SimBizId, :Question
|
8052
|
+
attr_accessor :SimBizId, :Question, :AuditStatus
|
7828
8053
|
|
7829
|
-
def initialize(simbizid=nil, question=nil)
|
8054
|
+
def initialize(simbizid=nil, question=nil, auditstatus=nil)
|
7830
8055
|
@SimBizId = simbizid
|
7831
8056
|
@Question = question
|
8057
|
+
@AuditStatus = auditstatus
|
7832
8058
|
end
|
7833
8059
|
|
7834
8060
|
def deserialize(params)
|
7835
8061
|
@SimBizId = params['SimBizId']
|
7836
8062
|
@Question = params['Question']
|
8063
|
+
@AuditStatus = params['AuditStatus']
|
7837
8064
|
end
|
7838
8065
|
end
|
7839
8066
|
|
@@ -7877,10 +8104,10 @@ module TencentCloud
|
|
7877
8104
|
|
7878
8105
|
# 计费统计信息
|
7879
8106
|
class Stat < TencentCloud::Common::AbstractModel
|
7880
|
-
# @param X:
|
8107
|
+
# @param X: X轴: 时间区域;根据查询条件的粒度返回“分/小时/日”三种区间范围
|
7881
8108
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7882
8109
|
# @type X: String
|
7883
|
-
# @param Y:
|
8110
|
+
# @param Y: Y轴: 该时间区域内的统计值,如token消耗量,调用次数或使用量等信息
|
7884
8111
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7885
8112
|
# @type Y: Float
|
7886
8113
|
|
@@ -7897,6 +8124,48 @@ module TencentCloud
|
|
7897
8124
|
end
|
7898
8125
|
end
|
7899
8126
|
|
8127
|
+
# 大模型token统计信息
|
8128
|
+
class StatisticInfo < TencentCloud::Common::AbstractModel
|
8129
|
+
# @param ModelName: 模型名称
|
8130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8131
|
+
# @type ModelName: String
|
8132
|
+
# @param FirstTokenCost: 首Token耗时
|
8133
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8134
|
+
# @type FirstTokenCost: Integer
|
8135
|
+
# @param TotalCost: 总耗时
|
8136
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8137
|
+
# @type TotalCost: Integer
|
8138
|
+
# @param InputTokens: 输入Token数量
|
8139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8140
|
+
# @type InputTokens: Integer
|
8141
|
+
# @param OutputTokens: 输出Token数量
|
8142
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8143
|
+
# @type OutputTokens: Integer
|
8144
|
+
# @param TotalTokens: 总Token数量
|
8145
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8146
|
+
# @type TotalTokens: Integer
|
8147
|
+
|
8148
|
+
attr_accessor :ModelName, :FirstTokenCost, :TotalCost, :InputTokens, :OutputTokens, :TotalTokens
|
8149
|
+
|
8150
|
+
def initialize(modelname=nil, firsttokencost=nil, totalcost=nil, inputtokens=nil, outputtokens=nil, totaltokens=nil)
|
8151
|
+
@ModelName = modelname
|
8152
|
+
@FirstTokenCost = firsttokencost
|
8153
|
+
@TotalCost = totalcost
|
8154
|
+
@InputTokens = inputtokens
|
8155
|
+
@OutputTokens = outputtokens
|
8156
|
+
@TotalTokens = totaltokens
|
8157
|
+
end
|
8158
|
+
|
8159
|
+
def deserialize(params)
|
8160
|
+
@ModelName = params['ModelName']
|
8161
|
+
@FirstTokenCost = params['FirstTokenCost']
|
8162
|
+
@TotalCost = params['TotalCost']
|
8163
|
+
@InputTokens = params['InputTokens']
|
8164
|
+
@OutputTokens = params['OutputTokens']
|
8165
|
+
@TotalTokens = params['TotalTokens']
|
8166
|
+
end
|
8167
|
+
end
|
8168
|
+
|
7900
8169
|
# StopDocParse请求参数结构体
|
7901
8170
|
class StopDocParseRequest < TencentCloud::Common::AbstractModel
|
7902
8171
|
# @param BotBizId: 应用ID
|
@@ -8456,6 +8725,114 @@ module TencentCloud
|
|
8456
8725
|
end
|
8457
8726
|
end
|
8458
8727
|
|
8728
|
+
# 工作流程调试信息
|
8729
|
+
class WorkFlowSummary < TencentCloud::Common::AbstractModel
|
8730
|
+
# @param WorkflowId: 工作流ID
|
8731
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8732
|
+
# @type WorkflowId: String
|
8733
|
+
# @param WorkflowName: 工作流名称
|
8734
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8735
|
+
# @type WorkflowName: String
|
8736
|
+
# @param WorkflowRunId: 工作流运行ID
|
8737
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8738
|
+
# @type WorkflowRunId: String
|
8739
|
+
# @param RunNodes: 节点信息
|
8740
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8741
|
+
# @type RunNodes: Array
|
8742
|
+
|
8743
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes
|
8744
|
+
|
8745
|
+
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil)
|
8746
|
+
@WorkflowId = workflowid
|
8747
|
+
@WorkflowName = workflowname
|
8748
|
+
@WorkflowRunId = workflowrunid
|
8749
|
+
@RunNodes = runnodes
|
8750
|
+
end
|
8751
|
+
|
8752
|
+
def deserialize(params)
|
8753
|
+
@WorkflowId = params['WorkflowId']
|
8754
|
+
@WorkflowName = params['WorkflowName']
|
8755
|
+
@WorkflowRunId = params['WorkflowRunId']
|
8756
|
+
unless params['RunNodes'].nil?
|
8757
|
+
@RunNodes = []
|
8758
|
+
params['RunNodes'].each do |i|
|
8759
|
+
workflowrunnodeinfo_tmp = WorkflowRunNodeInfo.new
|
8760
|
+
workflowrunnodeinfo_tmp.deserialize(i)
|
8761
|
+
@RunNodes << workflowrunnodeinfo_tmp
|
8762
|
+
end
|
8763
|
+
end
|
8764
|
+
end
|
8765
|
+
end
|
8766
|
+
|
8767
|
+
# 工作流运行节点信息
|
8768
|
+
class WorkflowRunNodeInfo < TencentCloud::Common::AbstractModel
|
8769
|
+
# @param NodeId: 节点ID
|
8770
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8771
|
+
# @type NodeId: String
|
8772
|
+
# @param NodeType: 节点类型
|
8773
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8774
|
+
# @type NodeType: Integer
|
8775
|
+
# @param NodeName: 节点名称
|
8776
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8777
|
+
# @type NodeName: String
|
8778
|
+
# @param Status: 状态
|
8779
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8780
|
+
# @type Status: Integer
|
8781
|
+
# @param Input: 输入
|
8782
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8783
|
+
# @type Input: String
|
8784
|
+
# @param Output: 输出
|
8785
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8786
|
+
# @type Output: String
|
8787
|
+
# @param TaskOutput: 任务输出
|
8788
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8789
|
+
# @type TaskOutput: String
|
8790
|
+
# @param FailMessage: 错误信息
|
8791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8792
|
+
# @type FailMessage: String
|
8793
|
+
# @param CostMilliSeconds: 花费时长
|
8794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8795
|
+
# @type CostMilliSeconds: Integer
|
8796
|
+
# @param StatisticInfos: 大模型输出信息
|
8797
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8798
|
+
# @type StatisticInfos: Array
|
8799
|
+
|
8800
|
+
attr_accessor :NodeId, :NodeType, :NodeName, :Status, :Input, :Output, :TaskOutput, :FailMessage, :CostMilliSeconds, :StatisticInfos
|
8801
|
+
|
8802
|
+
def initialize(nodeid=nil, nodetype=nil, nodename=nil, status=nil, input=nil, output=nil, taskoutput=nil, failmessage=nil, costmilliseconds=nil, statisticinfos=nil)
|
8803
|
+
@NodeId = nodeid
|
8804
|
+
@NodeType = nodetype
|
8805
|
+
@NodeName = nodename
|
8806
|
+
@Status = status
|
8807
|
+
@Input = input
|
8808
|
+
@Output = output
|
8809
|
+
@TaskOutput = taskoutput
|
8810
|
+
@FailMessage = failmessage
|
8811
|
+
@CostMilliSeconds = costmilliseconds
|
8812
|
+
@StatisticInfos = statisticinfos
|
8813
|
+
end
|
8814
|
+
|
8815
|
+
def deserialize(params)
|
8816
|
+
@NodeId = params['NodeId']
|
8817
|
+
@NodeType = params['NodeType']
|
8818
|
+
@NodeName = params['NodeName']
|
8819
|
+
@Status = params['Status']
|
8820
|
+
@Input = params['Input']
|
8821
|
+
@Output = params['Output']
|
8822
|
+
@TaskOutput = params['TaskOutput']
|
8823
|
+
@FailMessage = params['FailMessage']
|
8824
|
+
@CostMilliSeconds = params['CostMilliSeconds']
|
8825
|
+
unless params['StatisticInfos'].nil?
|
8826
|
+
@StatisticInfos = []
|
8827
|
+
params['StatisticInfos'].each do |i|
|
8828
|
+
statisticinfo_tmp = StatisticInfo.new
|
8829
|
+
statisticinfo_tmp.deserialize(i)
|
8830
|
+
@StatisticInfos << statisticinfo_tmp
|
8831
|
+
end
|
8832
|
+
end
|
8833
|
+
end
|
8834
|
+
end
|
8835
|
+
|
8459
8836
|
end
|
8460
8837
|
end
|
8461
8838
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.950
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|