tencentcloud-sdk-lke 3.0.948 → 3.0.949
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 +465 -98
- 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: c978e5e6da46583527c251705ba4fe01440ea5ba
|
4
|
+
data.tar.gz: 71872d331474dea4fad7a468e893df12c757f9ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41d9fd1403442c2586d7c768b37bc85c2e2161f3b3b73f77decc2a39236648dbfe05d08f3b56832e893e92ab979c0ebfcaab1a6f6558a02f056f61fa34fc53ae
|
7
|
+
data.tar.gz: a908e4e148394640cd1bea09cc06f711ebc756fd4f976dcfd05e31d7261b4314e5b72774f6429199d133137fa109450d9c297784b3202d899a1ea71e8e18a8d8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.949
|
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: 知识问答管理应用配置
|
@@ -683,18 +705,23 @@ module TencentCloud
|
|
683
705
|
# @param AppBizId: 应用ID
|
684
706
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
685
707
|
# @type AppBizId: String
|
708
|
+
# @param IsCustomList: 判断账户应用列表权限是否是自定义的,用户交互提示
|
709
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
710
|
+
# @type IsCustomList: Boolean
|
686
711
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
687
712
|
# @type RequestId: String
|
688
713
|
|
689
|
-
attr_accessor :AppBizId, :RequestId
|
714
|
+
attr_accessor :AppBizId, :IsCustomList, :RequestId
|
690
715
|
|
691
|
-
def initialize(appbizid=nil, requestid=nil)
|
716
|
+
def initialize(appbizid=nil, iscustomlist=nil, requestid=nil)
|
692
717
|
@AppBizId = appbizid
|
718
|
+
@IsCustomList = iscustomlist
|
693
719
|
@RequestId = requestid
|
694
720
|
end
|
695
721
|
|
696
722
|
def deserialize(params)
|
697
723
|
@AppBizId = params['AppBizId']
|
724
|
+
@IsCustomList = params['IsCustomList']
|
698
725
|
@RequestId = params['RequestId']
|
699
726
|
end
|
700
727
|
end
|
@@ -703,31 +730,30 @@ module TencentCloud
|
|
703
730
|
class CreateAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
704
731
|
# @param BotBizId: 应用ID
|
705
732
|
# @type BotBizId: String
|
706
|
-
# @param
|
707
|
-
# @type AttrKey: String
|
708
|
-
# @param AttrName: 属性名称
|
733
|
+
# @param AttrName: 标签名
|
709
734
|
# @type AttrName: String
|
710
|
-
# @param Labels:
|
735
|
+
# @param Labels: 标签值
|
711
736
|
# @type Labels: Array
|
737
|
+
# @param AttrKey: 标签标识(不生效,无需填写) 已作废
|
738
|
+
# @type AttrKey: String
|
712
739
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
713
740
|
# @type LoginUin: String
|
714
741
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
715
742
|
# @type LoginSubAccountUin: String
|
716
743
|
|
717
|
-
attr_accessor :BotBizId, :
|
744
|
+
attr_accessor :BotBizId, :AttrName, :Labels, :AttrKey, :LoginUin, :LoginSubAccountUin
|
718
745
|
|
719
|
-
def initialize(botbizid=nil,
|
746
|
+
def initialize(botbizid=nil, attrname=nil, labels=nil, attrkey=nil, loginuin=nil, loginsubaccountuin=nil)
|
720
747
|
@BotBizId = botbizid
|
721
|
-
@AttrKey = attrkey
|
722
748
|
@AttrName = attrname
|
723
749
|
@Labels = labels
|
750
|
+
@AttrKey = attrkey
|
724
751
|
@LoginUin = loginuin
|
725
752
|
@LoginSubAccountUin = loginsubaccountuin
|
726
753
|
end
|
727
754
|
|
728
755
|
def deserialize(params)
|
729
756
|
@BotBizId = params['BotBizId']
|
730
|
-
@AttrKey = params['AttrKey']
|
731
757
|
@AttrName = params['AttrName']
|
732
758
|
unless params['Labels'].nil?
|
733
759
|
@Labels = []
|
@@ -737,6 +763,7 @@ module TencentCloud
|
|
737
763
|
@Labels << attributelabel_tmp
|
738
764
|
end
|
739
765
|
end
|
766
|
+
@AttrKey = params['AttrKey']
|
740
767
|
@LoginUin = params['LoginUin']
|
741
768
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
742
769
|
end
|
@@ -744,16 +771,20 @@ module TencentCloud
|
|
744
771
|
|
745
772
|
# CreateAttributeLabel返回参数结构体
|
746
773
|
class CreateAttributeLabelResponse < TencentCloud::Common::AbstractModel
|
774
|
+
# @param AttrBizId: 标签ID
|
775
|
+
# @type AttrBizId: String
|
747
776
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
748
777
|
# @type RequestId: String
|
749
778
|
|
750
|
-
attr_accessor :RequestId
|
779
|
+
attr_accessor :AttrBizId, :RequestId
|
751
780
|
|
752
|
-
def initialize(requestid=nil)
|
781
|
+
def initialize(attrbizid=nil, requestid=nil)
|
782
|
+
@AttrBizId = attrbizid
|
753
783
|
@RequestId = requestid
|
754
784
|
end
|
755
785
|
|
756
786
|
def deserialize(params)
|
787
|
+
@AttrBizId = params['AttrBizId']
|
757
788
|
@RequestId = params['RequestId']
|
758
789
|
end
|
759
790
|
end
|
@@ -870,11 +901,11 @@ module TencentCloud
|
|
870
901
|
# @type Question: String
|
871
902
|
# @param Answer: 答案
|
872
903
|
# @type Answer: String
|
873
|
-
# @param AttrRange:
|
904
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件
|
874
905
|
# @type AttrRange: Integer
|
875
906
|
# @param CustomParam: 自定义参数
|
876
907
|
# @type CustomParam: String
|
877
|
-
# @param AttrLabels:
|
908
|
+
# @param AttrLabels: 标签引用
|
878
909
|
# @type AttrLabels: Array
|
879
910
|
# @param DocBizId: 文档ID
|
880
911
|
# @type DocBizId: String
|
@@ -886,10 +917,12 @@ module TencentCloud
|
|
886
917
|
# @type ExpireEnd: String
|
887
918
|
# @param SimilarQuestions: 相似问内容
|
888
919
|
# @type SimilarQuestions: Array
|
920
|
+
# @param QuestionDesc: 问题描述
|
921
|
+
# @type QuestionDesc: String
|
889
922
|
|
890
|
-
attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions
|
923
|
+
attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QuestionDesc
|
891
924
|
|
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)
|
925
|
+
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
926
|
@BotBizId = botbizid
|
894
927
|
@Question = question
|
895
928
|
@Answer = answer
|
@@ -901,6 +934,7 @@ module TencentCloud
|
|
901
934
|
@ExpireStart = expirestart
|
902
935
|
@ExpireEnd = expireend
|
903
936
|
@SimilarQuestions = similarquestions
|
937
|
+
@QuestionDesc = questiondesc
|
904
938
|
end
|
905
939
|
|
906
940
|
def deserialize(params)
|
@@ -922,6 +956,7 @@ module TencentCloud
|
|
922
956
|
@ExpireStart = params['ExpireStart']
|
923
957
|
@ExpireEnd = params['ExpireEnd']
|
924
958
|
@SimilarQuestions = params['SimilarQuestions']
|
959
|
+
@QuestionDesc = params['QuestionDesc']
|
925
960
|
end
|
926
961
|
end
|
927
962
|
|
@@ -1188,7 +1223,7 @@ module TencentCloud
|
|
1188
1223
|
class DeleteAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
1189
1224
|
# @param BotBizId: 应用ID
|
1190
1225
|
# @type BotBizId: String
|
1191
|
-
# @param AttributeBizIds:
|
1226
|
+
# @param AttributeBizIds: 标签ID
|
1192
1227
|
# @type AttributeBizIds: Array
|
1193
1228
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
1194
1229
|
# @type LoginUin: String
|
@@ -1567,16 +1602,18 @@ module TencentCloud
|
|
1567
1602
|
# @type SubBizType: String
|
1568
1603
|
# @param ModelName: 模型标识
|
1569
1604
|
# @type ModelName: String
|
1570
|
-
# @param StartTime:
|
1605
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
1571
1606
|
# @type StartTime: String
|
1572
|
-
# @param EndTime:
|
1607
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
1573
1608
|
# @type EndTime: String
|
1574
1609
|
# @param AppBizIds: 应用id列表
|
1575
1610
|
# @type AppBizIds: Array
|
1611
|
+
# @param SubScenes: 筛选子场景(文档解析场景使用)
|
1612
|
+
# @type SubScenes: Array
|
1576
1613
|
|
1577
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
|
1614
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes
|
1578
1615
|
|
1579
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
1616
|
+
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil)
|
1580
1617
|
@UinAccount = uinaccount
|
1581
1618
|
@LoginUin = loginuin
|
1582
1619
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -1585,6 +1622,7 @@ module TencentCloud
|
|
1585
1622
|
@StartTime = starttime
|
1586
1623
|
@EndTime = endtime
|
1587
1624
|
@AppBizIds = appbizids
|
1625
|
+
@SubScenes = subscenes
|
1588
1626
|
end
|
1589
1627
|
|
1590
1628
|
def deserialize(params)
|
@@ -1596,12 +1634,13 @@ module TencentCloud
|
|
1596
1634
|
@StartTime = params['StartTime']
|
1597
1635
|
@EndTime = params['EndTime']
|
1598
1636
|
@AppBizIds = params['AppBizIds']
|
1637
|
+
@SubScenes = params['SubScenes']
|
1599
1638
|
end
|
1600
1639
|
end
|
1601
1640
|
|
1602
1641
|
# DescribeCallStatsGraph返回参数结构体
|
1603
1642
|
class DescribeCallStatsGraphResponse < TencentCloud::Common::AbstractModel
|
1604
|
-
# @param List:
|
1643
|
+
# @param List: 接口调用次数统计信息
|
1605
1644
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1606
1645
|
# @type List: Array
|
1607
1646
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -1631,9 +1670,9 @@ module TencentCloud
|
|
1631
1670
|
class DescribeConcurrencyUsageGraphRequest < TencentCloud::Common::AbstractModel
|
1632
1671
|
# @param ModelName: 模型标识
|
1633
1672
|
# @type ModelName: String
|
1634
|
-
# @param StartTime:
|
1673
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
1635
1674
|
# @type StartTime: String
|
1636
|
-
# @param EndTime:
|
1675
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
1637
1676
|
# @type EndTime: String
|
1638
1677
|
# @param UinAccount: uin
|
1639
1678
|
# @type UinAccount: Array
|
@@ -1673,7 +1712,7 @@ module TencentCloud
|
|
1673
1712
|
|
1674
1713
|
# DescribeConcurrencyUsageGraph返回参数结构体
|
1675
1714
|
class DescribeConcurrencyUsageGraphResponse < TencentCloud::Common::AbstractModel
|
1676
|
-
# @param X:
|
1715
|
+
# @param X: X轴: 时间区域;根据查询条件的粒度返回“分/小时/日”两种区间范围
|
1677
1716
|
# @type X: Array
|
1678
1717
|
# @param AvailableY: 可用并发y轴坐标
|
1679
1718
|
# @type AvailableY: Array
|
@@ -1703,9 +1742,9 @@ module TencentCloud
|
|
1703
1742
|
class DescribeConcurrencyUsageRequest < TencentCloud::Common::AbstractModel
|
1704
1743
|
# @param ModelName: 模型标识
|
1705
1744
|
# @type ModelName: String
|
1706
|
-
# @param StartTime:
|
1745
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
1707
1746
|
# @type StartTime: String
|
1708
|
-
# @param EndTime:
|
1747
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
1709
1748
|
# @type EndTime: String
|
1710
1749
|
# @param AppBizIds: 应用id列表
|
1711
1750
|
# @type AppBizIds: Array
|
@@ -1729,11 +1768,11 @@ module TencentCloud
|
|
1729
1768
|
|
1730
1769
|
# DescribeConcurrencyUsage返回参数结构体
|
1731
1770
|
class DescribeConcurrencyUsageResponse < TencentCloud::Common::AbstractModel
|
1732
|
-
# @param AvailableConcurrency:
|
1771
|
+
# @param AvailableConcurrency: 可用并发数上限
|
1733
1772
|
# @type AvailableConcurrency: Integer
|
1734
1773
|
# @param ConcurrencyPeak: 并发峰值
|
1735
1774
|
# @type ConcurrencyPeak: Integer
|
1736
|
-
# @param ExceedUsageTime:
|
1775
|
+
# @param ExceedUsageTime: 超出可用并发数上限的次数
|
1737
1776
|
# @type ExceedUsageTime: Integer
|
1738
1777
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1739
1778
|
# @type RequestId: String
|
@@ -1858,16 +1897,18 @@ module TencentCloud
|
|
1858
1897
|
# @type DocCharSize: String
|
1859
1898
|
# @param IsAllowEdit: 是否允许编辑
|
1860
1899
|
# @type IsAllowEdit: Boolean
|
1861
|
-
# @param AttrRange:
|
1900
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件范围
|
1862
1901
|
# @type AttrRange: Integer
|
1863
|
-
# @param AttrLabels:
|
1902
|
+
# @param AttrLabels: 标签
|
1864
1903
|
# @type AttrLabels: Array
|
1904
|
+
# @param CateBizId: 分类ID
|
1905
|
+
# @type CateBizId: String
|
1865
1906
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1866
1907
|
# @type RequestId: String
|
1867
1908
|
|
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
|
1909
|
+
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
1910
|
|
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)
|
1911
|
+
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
1912
|
@DocBizId = docbizid
|
1872
1913
|
@FileName = filename
|
1873
1914
|
@FileType = filetype
|
@@ -1891,6 +1932,7 @@ module TencentCloud
|
|
1891
1932
|
@IsAllowEdit = isallowedit
|
1892
1933
|
@AttrRange = attrrange
|
1893
1934
|
@AttrLabels = attrlabels
|
1935
|
+
@CateBizId = catebizid
|
1894
1936
|
@RequestId = requestid
|
1895
1937
|
end
|
1896
1938
|
|
@@ -1925,6 +1967,7 @@ module TencentCloud
|
|
1925
1967
|
@AttrLabels << attrlabel_tmp
|
1926
1968
|
end
|
1927
1969
|
end
|
1970
|
+
@CateBizId = params['CateBizId']
|
1928
1971
|
@RequestId = params['RequestId']
|
1929
1972
|
end
|
1930
1973
|
end
|
@@ -1989,9 +2032,9 @@ module TencentCloud
|
|
1989
2032
|
|
1990
2033
|
# DescribeKnowledgeUsage返回参数结构体
|
1991
2034
|
class DescribeKnowledgeUsageResponse < TencentCloud::Common::AbstractModel
|
1992
|
-
# @param AvailableCharSize:
|
2035
|
+
# @param AvailableCharSize: 可用字符数上限
|
1993
2036
|
# @type AvailableCharSize: String
|
1994
|
-
# @param ExceedCharSize:
|
2037
|
+
# @param ExceedCharSize: 超过可用字符数上限的字符数
|
1995
2038
|
# @type ExceedCharSize: String
|
1996
2039
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1997
2040
|
# @type RequestId: String
|
@@ -2073,9 +2116,9 @@ module TencentCloud
|
|
2073
2116
|
# @type Highlights: Array
|
2074
2117
|
# @param OrgData: 分片内容
|
2075
2118
|
# @type OrgData: String
|
2076
|
-
# @param AttrRange:
|
2119
|
+
# @param AttrRange: 标签适用范围
|
2077
2120
|
# @type AttrRange: Integer
|
2078
|
-
# @param AttrLabels:
|
2121
|
+
# @param AttrLabels: 标签
|
2079
2122
|
# @type AttrLabels: Array
|
2080
2123
|
# @param ExpireStart: 有效开始时间,unix时间戳
|
2081
2124
|
# @type ExpireStart: String
|
@@ -2083,12 +2126,20 @@ module TencentCloud
|
|
2083
2126
|
# @type ExpireEnd: String
|
2084
2127
|
# @param SimilarQuestions: 相似问列表信息
|
2085
2128
|
# @type SimilarQuestions: Array
|
2129
|
+
# @param QaAuditStatus: 问题和答案文本审核状态 1审核失败
|
2130
|
+
# @type QaAuditStatus: Integer
|
2131
|
+
# @param PicAuditStatus: 答案中的图片审核状态 1审核失败
|
2132
|
+
# @type PicAuditStatus: Integer
|
2133
|
+
# @param VideoAuditStatus: 答案中的视频审核状态 1审核失败
|
2134
|
+
# @type VideoAuditStatus: Integer
|
2135
|
+
# @param QuestionDesc: 问题描述
|
2136
|
+
# @type QuestionDesc: String
|
2086
2137
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2087
2138
|
# @type RequestId: String
|
2088
2139
|
|
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
|
2140
|
+
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
2141
|
|
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)
|
2142
|
+
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
2143
|
@QaBizId = qabizid
|
2093
2144
|
@Question = question
|
2094
2145
|
@Answer = answer
|
@@ -2114,6 +2165,10 @@ module TencentCloud
|
|
2114
2165
|
@ExpireStart = expirestart
|
2115
2166
|
@ExpireEnd = expireend
|
2116
2167
|
@SimilarQuestions = similarquestions
|
2168
|
+
@QaAuditStatus = qaauditstatus
|
2169
|
+
@PicAuditStatus = picauditstatus
|
2170
|
+
@VideoAuditStatus = videoauditstatus
|
2171
|
+
@QuestionDesc = questiondesc
|
2117
2172
|
@RequestId = requestid
|
2118
2173
|
end
|
2119
2174
|
|
@@ -2164,6 +2219,10 @@ module TencentCloud
|
|
2164
2219
|
@SimilarQuestions << similarquestion_tmp
|
2165
2220
|
end
|
2166
2221
|
end
|
2222
|
+
@QaAuditStatus = params['QaAuditStatus']
|
2223
|
+
@PicAuditStatus = params['PicAuditStatus']
|
2224
|
+
@VideoAuditStatus = params['VideoAuditStatus']
|
2225
|
+
@QuestionDesc = params['QuestionDesc']
|
2167
2226
|
@RequestId = params['RequestId']
|
2168
2227
|
end
|
2169
2228
|
end
|
@@ -2371,9 +2430,9 @@ module TencentCloud
|
|
2371
2430
|
# @type SubBizType: String
|
2372
2431
|
# @param ModelName: 模型标识
|
2373
2432
|
# @type ModelName: String
|
2374
|
-
# @param StartTime:
|
2433
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
2375
2434
|
# @type StartTime: String
|
2376
|
-
# @param EndTime:
|
2435
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
2377
2436
|
# @type EndTime: String
|
2378
2437
|
# @param AppBizIds: 应用id列表
|
2379
2438
|
# @type AppBizIds: Array
|
@@ -2435,7 +2494,7 @@ module TencentCloud
|
|
2435
2494
|
class DescribeSegmentsRequest < TencentCloud::Common::AbstractModel
|
2436
2495
|
# @param BotBizId: 应用ID
|
2437
2496
|
# @type BotBizId: String
|
2438
|
-
# @param SegBizId:
|
2497
|
+
# @param SegBizId: 文档片段ID
|
2439
2498
|
# @type SegBizId: Array
|
2440
2499
|
|
2441
2500
|
attr_accessor :BotBizId, :SegBizId
|
@@ -2574,9 +2633,9 @@ module TencentCloud
|
|
2574
2633
|
# @type SubBizType: String
|
2575
2634
|
# @param ModelName: 模型标识
|
2576
2635
|
# @type ModelName: String
|
2577
|
-
# @param StartTime:
|
2636
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
2578
2637
|
# @type StartTime: String
|
2579
|
-
# @param EndTime:
|
2638
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
2580
2639
|
# @type EndTime: String
|
2581
2640
|
# @param AppBizIds: 应用id列表
|
2582
2641
|
# @type AppBizIds: Array
|
@@ -2604,11 +2663,11 @@ module TencentCloud
|
|
2604
2663
|
|
2605
2664
|
# DescribeTokenUsageGraph返回参数结构体
|
2606
2665
|
class DescribeTokenUsageGraphResponse < TencentCloud::Common::AbstractModel
|
2607
|
-
# @param Total:
|
2666
|
+
# @param Total: Token消耗总量
|
2608
2667
|
# @type Total: Array
|
2609
|
-
# @param Input:
|
2668
|
+
# @param Input: 输入Token消耗量
|
2610
2669
|
# @type Input: Array
|
2611
|
-
# @param Output:
|
2670
|
+
# @param Output: 输出Token消耗量
|
2612
2671
|
# @type Output: Array
|
2613
2672
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2614
2673
|
# @type RequestId: String
|
@@ -2663,16 +2722,18 @@ module TencentCloud
|
|
2663
2722
|
# @type SubBizType: String
|
2664
2723
|
# @param ModelName: 模型标识
|
2665
2724
|
# @type ModelName: String
|
2666
|
-
# @param StartTime:
|
2725
|
+
# @param StartTime: 开始时间戳, 单位为秒
|
2667
2726
|
# @type StartTime: String
|
2668
|
-
# @param EndTime:
|
2727
|
+
# @param EndTime: 结束时间戳, 单位为秒
|
2669
2728
|
# @type EndTime: String
|
2670
2729
|
# @param AppBizIds: 应用id列表
|
2671
2730
|
# @type AppBizIds: Array
|
2731
|
+
# @param SubScenes: 筛选子场景(文档解析场景使用)
|
2732
|
+
# @type SubScenes: Array
|
2672
2733
|
|
2673
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
|
2734
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes
|
2674
2735
|
|
2675
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
2736
|
+
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil)
|
2676
2737
|
@UinAccount = uinaccount
|
2677
2738
|
@LoginUin = loginuin
|
2678
2739
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -2681,6 +2742,7 @@ module TencentCloud
|
|
2681
2742
|
@StartTime = starttime
|
2682
2743
|
@EndTime = endtime
|
2683
2744
|
@AppBizIds = appbizids
|
2745
|
+
@SubScenes = subscenes
|
2684
2746
|
end
|
2685
2747
|
|
2686
2748
|
def deserialize(params)
|
@@ -2692,6 +2754,7 @@ module TencentCloud
|
|
2692
2754
|
@StartTime = params['StartTime']
|
2693
2755
|
@EndTime = params['EndTime']
|
2694
2756
|
@AppBizIds = params['AppBizIds']
|
2757
|
+
@SubScenes = params['SubScenes']
|
2695
2758
|
end
|
2696
2759
|
end
|
2697
2760
|
|
@@ -2707,17 +2770,20 @@ module TencentCloud
|
|
2707
2770
|
# @type ApiCallStats: Integer
|
2708
2771
|
# @param SearchUsage: 搜索服务调用次数
|
2709
2772
|
# @type SearchUsage: Float
|
2773
|
+
# @param PageUsage: 文档解析消耗页数
|
2774
|
+
# @type PageUsage: Integer
|
2710
2775
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2711
2776
|
# @type RequestId: String
|
2712
2777
|
|
2713
|
-
attr_accessor :TotalTokenUsage, :InputTokenUsage, :OutputTokenUsage, :ApiCallStats, :SearchUsage, :RequestId
|
2778
|
+
attr_accessor :TotalTokenUsage, :InputTokenUsage, :OutputTokenUsage, :ApiCallStats, :SearchUsage, :PageUsage, :RequestId
|
2714
2779
|
|
2715
|
-
def initialize(totaltokenusage=nil, inputtokenusage=nil, outputtokenusage=nil, apicallstats=nil, searchusage=nil, requestid=nil)
|
2780
|
+
def initialize(totaltokenusage=nil, inputtokenusage=nil, outputtokenusage=nil, apicallstats=nil, searchusage=nil, pageusage=nil, requestid=nil)
|
2716
2781
|
@TotalTokenUsage = totaltokenusage
|
2717
2782
|
@InputTokenUsage = inputtokenusage
|
2718
2783
|
@OutputTokenUsage = outputtokenusage
|
2719
2784
|
@ApiCallStats = apicallstats
|
2720
2785
|
@SearchUsage = searchusage
|
2786
|
+
@PageUsage = pageusage
|
2721
2787
|
@RequestId = requestid
|
2722
2788
|
end
|
2723
2789
|
|
@@ -2727,6 +2793,7 @@ module TencentCloud
|
|
2727
2793
|
@OutputTokenUsage = params['OutputTokenUsage']
|
2728
2794
|
@ApiCallStats = params['ApiCallStats']
|
2729
2795
|
@SearchUsage = params['SearchUsage']
|
2796
|
+
@PageUsage = params['PageUsage']
|
2730
2797
|
@RequestId = params['RequestId']
|
2731
2798
|
end
|
2732
2799
|
end
|
@@ -4135,13 +4202,13 @@ module TencentCloud
|
|
4135
4202
|
|
4136
4203
|
# 知识库容量饼图详情
|
4137
4204
|
class KnowledgeCapacityPieGraphDetail < TencentCloud::Common::AbstractModel
|
4138
|
-
# @param AppName:
|
4205
|
+
# @param AppName: 当前应用名称
|
4139
4206
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4140
4207
|
# @type AppName: String
|
4141
|
-
# @param UsedCharSize:
|
4208
|
+
# @param UsedCharSize: 当前应用使用的字符数
|
4142
4209
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4143
4210
|
# @type UsedCharSize: String
|
4144
|
-
# @param Proportion:
|
4211
|
+
# @param Proportion: 当前应用对于总用量的占比
|
4145
4212
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4146
4213
|
# @type Proportion: Float
|
4147
4214
|
|
@@ -4177,15 +4244,23 @@ module TencentCloud
|
|
4177
4244
|
# @param Output: 知识管理输出配置
|
4178
4245
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4179
4246
|
# @type Output: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeQaOutput`
|
4247
|
+
# @param Workflow: 工作流程配置
|
4248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4249
|
+
# @type Workflow: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeWorkflow`
|
4250
|
+
# @param SearchRange: 检索范围
|
4251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4252
|
+
# @type SearchRange: :class:`Tencentcloud::Lke.v20231130.models.SearchRange`
|
4180
4253
|
|
4181
|
-
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output
|
4254
|
+
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange
|
4182
4255
|
|
4183
|
-
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil)
|
4256
|
+
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil)
|
4184
4257
|
@Greeting = greeting
|
4185
4258
|
@RoleDescription = roledescription
|
4186
4259
|
@Model = model
|
4187
4260
|
@Search = search
|
4188
4261
|
@Output = output
|
4262
|
+
@Workflow = workflow
|
4263
|
+
@SearchRange = searchrange
|
4189
4264
|
end
|
4190
4265
|
|
4191
4266
|
def deserialize(params)
|
@@ -4207,6 +4282,14 @@ module TencentCloud
|
|
4207
4282
|
@Output = KnowledgeQaOutput.new
|
4208
4283
|
@Output.deserialize(params['Output'])
|
4209
4284
|
end
|
4285
|
+
unless params['Workflow'].nil?
|
4286
|
+
@Workflow = KnowledgeWorkflow.new
|
4287
|
+
@Workflow.deserialize(params['Workflow'])
|
4288
|
+
end
|
4289
|
+
unless params['SearchRange'].nil?
|
4290
|
+
@SearchRange = SearchRange.new
|
4291
|
+
@SearchRange.deserialize(params['SearchRange'])
|
4292
|
+
end
|
4210
4293
|
end
|
4211
4294
|
end
|
4212
4295
|
|
@@ -4336,6 +4419,23 @@ module TencentCloud
|
|
4336
4419
|
end
|
4337
4420
|
end
|
4338
4421
|
|
4422
|
+
# 问答知识库工作流配置
|
4423
|
+
class KnowledgeWorkflow < TencentCloud::Common::AbstractModel
|
4424
|
+
# @param IsEnabled: 是否启用工作流
|
4425
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4426
|
+
# @type IsEnabled: Boolean
|
4427
|
+
|
4428
|
+
attr_accessor :IsEnabled
|
4429
|
+
|
4430
|
+
def initialize(isenabled=nil)
|
4431
|
+
@IsEnabled = isenabled
|
4432
|
+
end
|
4433
|
+
|
4434
|
+
def deserialize(params)
|
4435
|
+
@IsEnabled = params['IsEnabled']
|
4436
|
+
end
|
4437
|
+
end
|
4438
|
+
|
4339
4439
|
# 标签ID
|
4340
4440
|
class Label < TencentCloud::Common::AbstractModel
|
4341
4441
|
# @param LabelBizId: 标签ID
|
@@ -4726,15 +4826,21 @@ module TencentCloud
|
|
4726
4826
|
# @type Query: String
|
4727
4827
|
# @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
4828
|
# @type Status: Array
|
4829
|
+
# @param QueryType: 查询类型 filename 文档、 attribute 标签
|
4830
|
+
# @type QueryType: String
|
4831
|
+
# @param CateBizId: 分类ID
|
4832
|
+
# @type CateBizId: String
|
4729
4833
|
|
4730
|
-
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status
|
4834
|
+
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId
|
4731
4835
|
|
4732
|
-
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil)
|
4836
|
+
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil, querytype=nil, catebizid=nil)
|
4733
4837
|
@BotBizId = botbizid
|
4734
4838
|
@PageNumber = pagenumber
|
4735
4839
|
@PageSize = pagesize
|
4736
4840
|
@Query = query
|
4737
4841
|
@Status = status
|
4842
|
+
@QueryType = querytype
|
4843
|
+
@CateBizId = catebizid
|
4738
4844
|
end
|
4739
4845
|
|
4740
4846
|
def deserialize(params)
|
@@ -4743,6 +4849,8 @@ module TencentCloud
|
|
4743
4849
|
@PageSize = params['PageSize']
|
4744
4850
|
@Query = params['Query']
|
4745
4851
|
@Status = params['Status']
|
4852
|
+
@QueryType = params['QueryType']
|
4853
|
+
@CateBizId = params['CateBizId']
|
4746
4854
|
end
|
4747
4855
|
end
|
4748
4856
|
|
@@ -4893,10 +5001,12 @@ module TencentCloud
|
|
4893
5001
|
# @type QueryAnswer: String
|
4894
5002
|
# @param QaBizIds: QA业务ID列表
|
4895
5003
|
# @type QaBizIds: Array
|
5004
|
+
# @param QueryType: 查询类型 filename 名称、 attribute 标签
|
5005
|
+
# @type QueryType: String
|
4896
5006
|
|
4897
|
-
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :QaBizIds
|
5007
|
+
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :QaBizIds, :QueryType
|
4898
5008
|
|
4899
|
-
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, qabizids=nil)
|
5009
|
+
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
5010
|
@BotBizId = botbizid
|
4901
5011
|
@PageNumber = pagenumber
|
4902
5012
|
@PageSize = pagesize
|
@@ -4907,6 +5017,7 @@ module TencentCloud
|
|
4907
5017
|
@Source = source
|
4908
5018
|
@QueryAnswer = queryanswer
|
4909
5019
|
@QaBizIds = qabizids
|
5020
|
+
@QueryType = querytype
|
4910
5021
|
end
|
4911
5022
|
|
4912
5023
|
def deserialize(params)
|
@@ -4920,6 +5031,7 @@ module TencentCloud
|
|
4920
5031
|
@Source = params['Source']
|
4921
5032
|
@QueryAnswer = params['QueryAnswer']
|
4922
5033
|
@QaBizIds = params['QaBizIds']
|
5034
|
+
@QueryType = params['QueryType']
|
4923
5035
|
end
|
4924
5036
|
end
|
4925
5037
|
|
@@ -5708,15 +5820,27 @@ module TencentCloud
|
|
5708
5820
|
# @param PromptWordsLimit: 提示词内容字符限制
|
5709
5821
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5710
5822
|
# @type PromptWordsLimit: String
|
5823
|
+
# @param TopP: 通过核心采样控制内容生成的多样性,较高的Top P值会导致生成更多样的内容
|
5824
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5825
|
+
# @type TopP: :class:`Tencentcloud::Lke.v20231130.models.ModelParameter`
|
5826
|
+
# @param Temperature: 温度控制随机性
|
5827
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5828
|
+
# @type Temperature: :class:`Tencentcloud::Lke.v20231130.models.ModelParameter`
|
5829
|
+
# @param MaxTokens: 最多能生成的token数量
|
5830
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5831
|
+
# @type MaxTokens: :class:`Tencentcloud::Lke.v20231130.models.ModelParameter`
|
5711
5832
|
|
5712
|
-
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit
|
5833
|
+
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens
|
5713
5834
|
|
5714
|
-
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil)
|
5835
|
+
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil, topp=nil, temperature=nil, maxtokens=nil)
|
5715
5836
|
@ModelName = modelname
|
5716
5837
|
@ModelDesc = modeldesc
|
5717
5838
|
@AliasName = aliasname
|
5718
5839
|
@ResourceStatus = resourcestatus
|
5719
5840
|
@PromptWordsLimit = promptwordslimit
|
5841
|
+
@TopP = topp
|
5842
|
+
@Temperature = temperature
|
5843
|
+
@MaxTokens = maxtokens
|
5720
5844
|
end
|
5721
5845
|
|
5722
5846
|
def deserialize(params)
|
@@ -5725,6 +5849,45 @@ module TencentCloud
|
|
5725
5849
|
@AliasName = params['AliasName']
|
5726
5850
|
@ResourceStatus = params['ResourceStatus']
|
5727
5851
|
@PromptWordsLimit = params['PromptWordsLimit']
|
5852
|
+
unless params['TopP'].nil?
|
5853
|
+
@TopP = ModelParameter.new
|
5854
|
+
@TopP.deserialize(params['TopP'])
|
5855
|
+
end
|
5856
|
+
unless params['Temperature'].nil?
|
5857
|
+
@Temperature = ModelParameter.new
|
5858
|
+
@Temperature.deserialize(params['Temperature'])
|
5859
|
+
end
|
5860
|
+
unless params['MaxTokens'].nil?
|
5861
|
+
@MaxTokens = ModelParameter.new
|
5862
|
+
@MaxTokens.deserialize(params['MaxTokens'])
|
5863
|
+
end
|
5864
|
+
end
|
5865
|
+
end
|
5866
|
+
|
5867
|
+
# 模型参数范围
|
5868
|
+
class ModelParameter < TencentCloud::Common::AbstractModel
|
5869
|
+
# @param Default: 默认值
|
5870
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5871
|
+
# @type Default: Float
|
5872
|
+
# @param Min: 最小值
|
5873
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5874
|
+
# @type Min: Float
|
5875
|
+
# @param Max: 最大值
|
5876
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5877
|
+
# @type Max: Float
|
5878
|
+
|
5879
|
+
attr_accessor :Default, :Min, :Max
|
5880
|
+
|
5881
|
+
def initialize(default=nil, min=nil, max=nil)
|
5882
|
+
@Default = default
|
5883
|
+
@Min = min
|
5884
|
+
@Max = max
|
5885
|
+
end
|
5886
|
+
|
5887
|
+
def deserialize(params)
|
5888
|
+
@Default = params['Default']
|
5889
|
+
@Min = params['Min']
|
5890
|
+
@Max = params['Max']
|
5728
5891
|
end
|
5729
5892
|
end
|
5730
5893
|
|
@@ -5736,19 +5899,19 @@ module TencentCloud
|
|
5736
5899
|
# @type AppType: String
|
5737
5900
|
# @param BaseConfig: 应用基础配置
|
5738
5901
|
# @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
|
5739
|
-
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5740
|
-
# @type LoginSubAccountUin: String
|
5741
5902
|
# @param AppConfig: 应用配置
|
5742
5903
|
# @type AppConfig: :class:`Tencentcloud::Lke.v20231130.models.AppConfig`
|
5904
|
+
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5905
|
+
# @type LoginSubAccountUin: String
|
5743
5906
|
|
5744
|
-
attr_accessor :AppBizId, :AppType, :BaseConfig, :
|
5907
|
+
attr_accessor :AppBizId, :AppType, :BaseConfig, :AppConfig, :LoginSubAccountUin
|
5745
5908
|
|
5746
|
-
def initialize(appbizid=nil, apptype=nil, baseconfig=nil,
|
5909
|
+
def initialize(appbizid=nil, apptype=nil, baseconfig=nil, appconfig=nil, loginsubaccountuin=nil)
|
5747
5910
|
@AppBizId = appbizid
|
5748
5911
|
@AppType = apptype
|
5749
5912
|
@BaseConfig = baseconfig
|
5750
|
-
@LoginSubAccountUin = loginsubaccountuin
|
5751
5913
|
@AppConfig = appconfig
|
5914
|
+
@LoginSubAccountUin = loginsubaccountuin
|
5752
5915
|
end
|
5753
5916
|
|
5754
5917
|
def deserialize(params)
|
@@ -5758,11 +5921,11 @@ module TencentCloud
|
|
5758
5921
|
@BaseConfig = BaseConfig.new
|
5759
5922
|
@BaseConfig.deserialize(params['BaseConfig'])
|
5760
5923
|
end
|
5761
|
-
@LoginSubAccountUin = params['LoginSubAccountUin']
|
5762
5924
|
unless params['AppConfig'].nil?
|
5763
5925
|
@AppConfig = AppConfig.new
|
5764
5926
|
@AppConfig.deserialize(params['AppConfig'])
|
5765
5927
|
end
|
5928
|
+
@LoginSubAccountUin = params['LoginSubAccountUin']
|
5766
5929
|
end
|
5767
5930
|
end
|
5768
5931
|
|
@@ -5795,28 +5958,28 @@ module TencentCloud
|
|
5795
5958
|
class ModifyAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
5796
5959
|
# @param BotBizId: 应用ID
|
5797
5960
|
# @type BotBizId: String
|
5798
|
-
# @param AttributeBizId:
|
5961
|
+
# @param AttributeBizId: 标签ID
|
5799
5962
|
# @type AttributeBizId: String
|
5800
|
-
# @param
|
5801
|
-
# @type AttrKey: String
|
5802
|
-
# @param AttrName: 属性名称
|
5963
|
+
# @param AttrName: 标签名称
|
5803
5964
|
# @type AttrName: String
|
5965
|
+
# @param AttrKey: 标签标识 (已作废)
|
5966
|
+
# @type AttrKey: String
|
5804
5967
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
5805
5968
|
# @type LoginUin: String
|
5806
5969
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5807
5970
|
# @type LoginSubAccountUin: String
|
5808
|
-
# @param DeleteLabelBizIds:
|
5971
|
+
# @param DeleteLabelBizIds: 删除的标签值
|
5809
5972
|
# @type DeleteLabelBizIds: Array
|
5810
|
-
# @param Labels:
|
5973
|
+
# @param Labels: 新增或编辑的标签
|
5811
5974
|
# @type Labels: Array
|
5812
5975
|
|
5813
|
-
attr_accessor :BotBizId, :AttributeBizId, :
|
5976
|
+
attr_accessor :BotBizId, :AttributeBizId, :AttrName, :AttrKey, :LoginUin, :LoginSubAccountUin, :DeleteLabelBizIds, :Labels
|
5814
5977
|
|
5815
|
-
def initialize(botbizid=nil, attributebizid=nil,
|
5978
|
+
def initialize(botbizid=nil, attributebizid=nil, attrname=nil, attrkey=nil, loginuin=nil, loginsubaccountuin=nil, deletelabelbizids=nil, labels=nil)
|
5816
5979
|
@BotBizId = botbizid
|
5817
5980
|
@AttributeBizId = attributebizid
|
5818
|
-
@AttrKey = attrkey
|
5819
5981
|
@AttrName = attrname
|
5982
|
+
@AttrKey = attrkey
|
5820
5983
|
@LoginUin = loginuin
|
5821
5984
|
@LoginSubAccountUin = loginsubaccountuin
|
5822
5985
|
@DeleteLabelBizIds = deletelabelbizids
|
@@ -5826,8 +5989,8 @@ module TencentCloud
|
|
5826
5989
|
def deserialize(params)
|
5827
5990
|
@BotBizId = params['BotBizId']
|
5828
5991
|
@AttributeBizId = params['AttributeBizId']
|
5829
|
-
@AttrKey = params['AttrKey']
|
5830
5992
|
@AttrName = params['AttrName']
|
5993
|
+
@AttrKey = params['AttrKey']
|
5831
5994
|
@LoginUin = params['LoginUin']
|
5832
5995
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
5833
5996
|
@DeleteLabelBizIds = params['DeleteLabelBizIds']
|
@@ -5921,13 +6084,13 @@ module TencentCloud
|
|
5921
6084
|
# @type DocBizId: String
|
5922
6085
|
# @param IsRefer: 是否引用链接
|
5923
6086
|
# @type IsRefer: Boolean
|
5924
|
-
# @param AttrRange:
|
6087
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件
|
5925
6088
|
# @type AttrRange: Integer
|
5926
6089
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
5927
6090
|
# @type LoginUin: String
|
5928
6091
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5929
6092
|
# @type LoginSubAccountUin: String
|
5930
|
-
# @param AttrLabels:
|
6093
|
+
# @param AttrLabels: 关联的标签
|
5931
6094
|
# @type AttrLabels: Array
|
5932
6095
|
# @param WebUrl: 网页(或自定义链接)地址
|
5933
6096
|
# @type WebUrl: String
|
@@ -5938,10 +6101,12 @@ module TencentCloud
|
|
5938
6101
|
# @type ExpireStart: String
|
5939
6102
|
# @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
|
5940
6103
|
# @type ExpireEnd: String
|
6104
|
+
# @param CateBizId: 分类ID
|
6105
|
+
# @type CateBizId: String
|
5941
6106
|
|
5942
|
-
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd
|
6107
|
+
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId
|
5943
6108
|
|
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)
|
6109
|
+
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
6110
|
@BotBizId = botbizid
|
5946
6111
|
@DocBizId = docbizid
|
5947
6112
|
@IsRefer = isrefer
|
@@ -5953,6 +6118,7 @@ module TencentCloud
|
|
5953
6118
|
@ReferUrlType = referurltype
|
5954
6119
|
@ExpireStart = expirestart
|
5955
6120
|
@ExpireEnd = expireend
|
6121
|
+
@CateBizId = catebizid
|
5956
6122
|
end
|
5957
6123
|
|
5958
6124
|
def deserialize(params)
|
@@ -5974,6 +6140,7 @@ module TencentCloud
|
|
5974
6140
|
@ReferUrlType = params['ReferUrlType']
|
5975
6141
|
@ExpireStart = params['ExpireStart']
|
5976
6142
|
@ExpireEnd = params['ExpireEnd']
|
6143
|
+
@CateBizId = params['CateBizId']
|
5977
6144
|
end
|
5978
6145
|
end
|
5979
6146
|
|
@@ -6096,9 +6263,9 @@ module TencentCloud
|
|
6096
6263
|
# @type Answer: String
|
6097
6264
|
# @param CustomParam: 自定义参数
|
6098
6265
|
# @type CustomParam: String
|
6099
|
-
# @param AttrRange:
|
6266
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件
|
6100
6267
|
# @type AttrRange: Integer
|
6101
|
-
# @param AttrLabels:
|
6268
|
+
# @param AttrLabels: 标签引用
|
6102
6269
|
# @type AttrLabels: Array
|
6103
6270
|
# @param DocBizId: 文档ID
|
6104
6271
|
# @type DocBizId: String
|
@@ -6110,10 +6277,12 @@ module TencentCloud
|
|
6110
6277
|
# @type ExpireEnd: String
|
6111
6278
|
# @param SimilarQuestionModify: 相似问修改信息(相似问没有修改则不传)
|
6112
6279
|
# @type SimilarQuestionModify: :class:`Tencentcloud::Lke.v20231130.models.SimilarQuestionModify`
|
6280
|
+
# @param QuestionDesc: 问题描述
|
6281
|
+
# @type QuestionDesc: String
|
6113
6282
|
|
6114
|
-
attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify
|
6283
|
+
attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify, :QuestionDesc
|
6115
6284
|
|
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)
|
6285
|
+
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
6286
|
@BotBizId = botbizid
|
6118
6287
|
@QaBizId = qabizid
|
6119
6288
|
@Question = question
|
@@ -6126,6 +6295,7 @@ module TencentCloud
|
|
6126
6295
|
@ExpireStart = expirestart
|
6127
6296
|
@ExpireEnd = expireend
|
6128
6297
|
@SimilarQuestionModify = similarquestionmodify
|
6298
|
+
@QuestionDesc = questiondesc
|
6129
6299
|
end
|
6130
6300
|
|
6131
6301
|
def deserialize(params)
|
@@ -6151,6 +6321,7 @@ module TencentCloud
|
|
6151
6321
|
@SimilarQuestionModify = SimilarQuestionModify.new
|
6152
6322
|
@SimilarQuestionModify.deserialize(params['SimilarQuestionModify'])
|
6153
6323
|
end
|
6324
|
+
@QuestionDesc = params['QuestionDesc']
|
6154
6325
|
end
|
6155
6326
|
end
|
6156
6327
|
|
@@ -6626,15 +6797,19 @@ module TencentCloud
|
|
6626
6797
|
# @param TaskFlow: 任务流程
|
6627
6798
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6628
6799
|
# @type TaskFlow: :class:`Tencentcloud::Lke.v20231130.models.TaskFlowSummary`
|
6800
|
+
# @param WorkFlow: 工作流调试信息
|
6801
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6802
|
+
# @type WorkFlow: :class:`Tencentcloud::Lke.v20231130.models.WorkFlowSummary`
|
6629
6803
|
|
6630
|
-
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow
|
6804
|
+
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow
|
6631
6805
|
|
6632
|
-
def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil)
|
6806
|
+
def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil, workflow=nil)
|
6633
6807
|
@Content = content
|
6634
6808
|
@System = system
|
6635
6809
|
@Histories = histories
|
6636
6810
|
@Knowledge = knowledge
|
6637
6811
|
@TaskFlow = taskflow
|
6812
|
+
@WorkFlow = workflow
|
6638
6813
|
end
|
6639
6814
|
|
6640
6815
|
def deserialize(params)
|
@@ -6660,6 +6835,10 @@ module TencentCloud
|
|
6660
6835
|
@TaskFlow = TaskFlowSummary.new
|
6661
6836
|
@TaskFlow.deserialize(params['TaskFlow'])
|
6662
6837
|
end
|
6838
|
+
unless params['WorkFlow'].nil?
|
6839
|
+
@WorkFlow = WorkFlowSummary.new
|
6840
|
+
@WorkFlow.deserialize(params['WorkFlow'])
|
6841
|
+
end
|
6663
6842
|
end
|
6664
6843
|
end
|
6665
6844
|
|
@@ -7715,13 +7894,13 @@ module TencentCloud
|
|
7715
7894
|
# @type CosHash: String
|
7716
7895
|
# @param Size: 文件大小
|
7717
7896
|
# @type Size: String
|
7718
|
-
# @param AttrRange:
|
7897
|
+
# @param AttrRange: 标签适用范围 1:全部,2:按条件范围
|
7719
7898
|
# @type AttrRange: Integer
|
7720
7899
|
# @param Source: 来源(0 源文件导入 1 网页导入)
|
7721
7900
|
# @type Source: Integer
|
7722
7901
|
# @param WebUrl: 网页(或自定义链接)地址
|
7723
7902
|
# @type WebUrl: String
|
7724
|
-
# @param AttrLabels:
|
7903
|
+
# @param AttrLabels: 标签引用
|
7725
7904
|
# @type AttrLabels: Array
|
7726
7905
|
# @param ReferUrlType: 外部引用链接类型 0:系统链接 1:自定义链接
|
7727
7906
|
# 值为1时,WebUrl 字段不能为空,否则不生效。
|
@@ -7734,10 +7913,12 @@ module TencentCloud
|
|
7734
7913
|
# @type IsRefer: Boolean
|
7735
7914
|
# @param Opt: 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档)
|
7736
7915
|
# @type Opt: Integer
|
7916
|
+
# @param CateBizId: 分类ID
|
7917
|
+
# @type CateBizId: String
|
7737
7918
|
|
7738
|
-
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt
|
7919
|
+
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId
|
7739
7920
|
|
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)
|
7921
|
+
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
7922
|
@BotBizId = botbizid
|
7742
7923
|
@FileName = filename
|
7743
7924
|
@FileType = filetype
|
@@ -7754,6 +7935,7 @@ module TencentCloud
|
|
7754
7935
|
@ExpireEnd = expireend
|
7755
7936
|
@IsRefer = isrefer
|
7756
7937
|
@Opt = opt
|
7938
|
+
@CateBizId = catebizid
|
7757
7939
|
end
|
7758
7940
|
|
7759
7941
|
def deserialize(params)
|
@@ -7780,6 +7962,7 @@ module TencentCloud
|
|
7780
7962
|
@ExpireEnd = params['ExpireEnd']
|
7781
7963
|
@IsRefer = params['IsRefer']
|
7782
7964
|
@Opt = params['Opt']
|
7965
|
+
@CateBizId = params['CateBizId']
|
7783
7966
|
end
|
7784
7967
|
end
|
7785
7968
|
|
@@ -7815,6 +7998,35 @@ module TencentCloud
|
|
7815
7998
|
end
|
7816
7999
|
end
|
7817
8000
|
|
8001
|
+
# 检索范围配置
|
8002
|
+
class SearchRange < TencentCloud::Common::AbstractModel
|
8003
|
+
# @param Condition: 检索条件and/or
|
8004
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8005
|
+
# @type Condition: String
|
8006
|
+
# @param ApiVarAttrInfos: 自定义变量和标签关系数据
|
8007
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8008
|
+
# @type ApiVarAttrInfos: Array
|
8009
|
+
|
8010
|
+
attr_accessor :Condition, :ApiVarAttrInfos
|
8011
|
+
|
8012
|
+
def initialize(condition=nil, apivarattrinfos=nil)
|
8013
|
+
@Condition = condition
|
8014
|
+
@ApiVarAttrInfos = apivarattrinfos
|
8015
|
+
end
|
8016
|
+
|
8017
|
+
def deserialize(params)
|
8018
|
+
@Condition = params['Condition']
|
8019
|
+
unless params['ApiVarAttrInfos'].nil?
|
8020
|
+
@ApiVarAttrInfos = []
|
8021
|
+
params['ApiVarAttrInfos'].each do |i|
|
8022
|
+
apivarattrinfo_tmp = ApiVarAttrInfo.new
|
8023
|
+
apivarattrinfo_tmp.deserialize(i)
|
8024
|
+
@ApiVarAttrInfos << apivarattrinfo_tmp
|
8025
|
+
end
|
8026
|
+
end
|
8027
|
+
end
|
8028
|
+
end
|
8029
|
+
|
7818
8030
|
# 相似问信息
|
7819
8031
|
class SimilarQuestion < TencentCloud::Common::AbstractModel
|
7820
8032
|
# @param SimBizId: 相似问ID
|
@@ -7823,17 +8035,22 @@ module TencentCloud
|
|
7823
8035
|
# @param Question: 相似问内容
|
7824
8036
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7825
8037
|
# @type Question: String
|
8038
|
+
# @param AuditStatus: 相似问审核状态,1审核失败
|
8039
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8040
|
+
# @type AuditStatus: Integer
|
7826
8041
|
|
7827
|
-
attr_accessor :SimBizId, :Question
|
8042
|
+
attr_accessor :SimBizId, :Question, :AuditStatus
|
7828
8043
|
|
7829
|
-
def initialize(simbizid=nil, question=nil)
|
8044
|
+
def initialize(simbizid=nil, question=nil, auditstatus=nil)
|
7830
8045
|
@SimBizId = simbizid
|
7831
8046
|
@Question = question
|
8047
|
+
@AuditStatus = auditstatus
|
7832
8048
|
end
|
7833
8049
|
|
7834
8050
|
def deserialize(params)
|
7835
8051
|
@SimBizId = params['SimBizId']
|
7836
8052
|
@Question = params['Question']
|
8053
|
+
@AuditStatus = params['AuditStatus']
|
7837
8054
|
end
|
7838
8055
|
end
|
7839
8056
|
|
@@ -7877,10 +8094,10 @@ module TencentCloud
|
|
7877
8094
|
|
7878
8095
|
# 计费统计信息
|
7879
8096
|
class Stat < TencentCloud::Common::AbstractModel
|
7880
|
-
# @param X:
|
8097
|
+
# @param X: X轴: 时间区域;根据查询条件的粒度返回“分/小时/日”三种区间范围
|
7881
8098
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7882
8099
|
# @type X: String
|
7883
|
-
# @param Y:
|
8100
|
+
# @param Y: Y轴: 该时间区域内的统计值,如token消耗量,调用次数或使用量等信息
|
7884
8101
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7885
8102
|
# @type Y: Float
|
7886
8103
|
|
@@ -7897,6 +8114,48 @@ module TencentCloud
|
|
7897
8114
|
end
|
7898
8115
|
end
|
7899
8116
|
|
8117
|
+
# 大模型token统计信息
|
8118
|
+
class StatisticInfo < TencentCloud::Common::AbstractModel
|
8119
|
+
# @param ModelName: 模型名称
|
8120
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8121
|
+
# @type ModelName: String
|
8122
|
+
# @param FirstTokenCost: 首Token耗时
|
8123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8124
|
+
# @type FirstTokenCost: Integer
|
8125
|
+
# @param TotalCost: 总耗时
|
8126
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8127
|
+
# @type TotalCost: Integer
|
8128
|
+
# @param InputTokens: 输入Token数量
|
8129
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8130
|
+
# @type InputTokens: Integer
|
8131
|
+
# @param OutputTokens: 输出Token数量
|
8132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8133
|
+
# @type OutputTokens: Integer
|
8134
|
+
# @param TotalTokens: 总Token数量
|
8135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8136
|
+
# @type TotalTokens: Integer
|
8137
|
+
|
8138
|
+
attr_accessor :ModelName, :FirstTokenCost, :TotalCost, :InputTokens, :OutputTokens, :TotalTokens
|
8139
|
+
|
8140
|
+
def initialize(modelname=nil, firsttokencost=nil, totalcost=nil, inputtokens=nil, outputtokens=nil, totaltokens=nil)
|
8141
|
+
@ModelName = modelname
|
8142
|
+
@FirstTokenCost = firsttokencost
|
8143
|
+
@TotalCost = totalcost
|
8144
|
+
@InputTokens = inputtokens
|
8145
|
+
@OutputTokens = outputtokens
|
8146
|
+
@TotalTokens = totaltokens
|
8147
|
+
end
|
8148
|
+
|
8149
|
+
def deserialize(params)
|
8150
|
+
@ModelName = params['ModelName']
|
8151
|
+
@FirstTokenCost = params['FirstTokenCost']
|
8152
|
+
@TotalCost = params['TotalCost']
|
8153
|
+
@InputTokens = params['InputTokens']
|
8154
|
+
@OutputTokens = params['OutputTokens']
|
8155
|
+
@TotalTokens = params['TotalTokens']
|
8156
|
+
end
|
8157
|
+
end
|
8158
|
+
|
7900
8159
|
# StopDocParse请求参数结构体
|
7901
8160
|
class StopDocParseRequest < TencentCloud::Common::AbstractModel
|
7902
8161
|
# @param BotBizId: 应用ID
|
@@ -8456,6 +8715,114 @@ module TencentCloud
|
|
8456
8715
|
end
|
8457
8716
|
end
|
8458
8717
|
|
8718
|
+
# 工作流程调试信息
|
8719
|
+
class WorkFlowSummary < TencentCloud::Common::AbstractModel
|
8720
|
+
# @param WorkflowId: 工作流ID
|
8721
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8722
|
+
# @type WorkflowId: String
|
8723
|
+
# @param WorkflowName: 工作流名称
|
8724
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8725
|
+
# @type WorkflowName: String
|
8726
|
+
# @param WorkflowRunId: 工作流运行ID
|
8727
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8728
|
+
# @type WorkflowRunId: String
|
8729
|
+
# @param RunNodes: 节点信息
|
8730
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8731
|
+
# @type RunNodes: Array
|
8732
|
+
|
8733
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes
|
8734
|
+
|
8735
|
+
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil)
|
8736
|
+
@WorkflowId = workflowid
|
8737
|
+
@WorkflowName = workflowname
|
8738
|
+
@WorkflowRunId = workflowrunid
|
8739
|
+
@RunNodes = runnodes
|
8740
|
+
end
|
8741
|
+
|
8742
|
+
def deserialize(params)
|
8743
|
+
@WorkflowId = params['WorkflowId']
|
8744
|
+
@WorkflowName = params['WorkflowName']
|
8745
|
+
@WorkflowRunId = params['WorkflowRunId']
|
8746
|
+
unless params['RunNodes'].nil?
|
8747
|
+
@RunNodes = []
|
8748
|
+
params['RunNodes'].each do |i|
|
8749
|
+
workflowrunnodeinfo_tmp = WorkflowRunNodeInfo.new
|
8750
|
+
workflowrunnodeinfo_tmp.deserialize(i)
|
8751
|
+
@RunNodes << workflowrunnodeinfo_tmp
|
8752
|
+
end
|
8753
|
+
end
|
8754
|
+
end
|
8755
|
+
end
|
8756
|
+
|
8757
|
+
# 工作流运行节点信息
|
8758
|
+
class WorkflowRunNodeInfo < TencentCloud::Common::AbstractModel
|
8759
|
+
# @param NodeId: 节点ID
|
8760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8761
|
+
# @type NodeId: String
|
8762
|
+
# @param NodeType: 节点类型
|
8763
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8764
|
+
# @type NodeType: Integer
|
8765
|
+
# @param NodeName: 节点名称
|
8766
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8767
|
+
# @type NodeName: String
|
8768
|
+
# @param Status: 状态
|
8769
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8770
|
+
# @type Status: Integer
|
8771
|
+
# @param Input: 输入
|
8772
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8773
|
+
# @type Input: String
|
8774
|
+
# @param Output: 输出
|
8775
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8776
|
+
# @type Output: String
|
8777
|
+
# @param TaskOutput: 任务输出
|
8778
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8779
|
+
# @type TaskOutput: String
|
8780
|
+
# @param FailMessage: 错误信息
|
8781
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8782
|
+
# @type FailMessage: String
|
8783
|
+
# @param CostMilliSeconds: 花费时长
|
8784
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8785
|
+
# @type CostMilliSeconds: Integer
|
8786
|
+
# @param StatisticInfos: 大模型输出信息
|
8787
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8788
|
+
# @type StatisticInfos: Array
|
8789
|
+
|
8790
|
+
attr_accessor :NodeId, :NodeType, :NodeName, :Status, :Input, :Output, :TaskOutput, :FailMessage, :CostMilliSeconds, :StatisticInfos
|
8791
|
+
|
8792
|
+
def initialize(nodeid=nil, nodetype=nil, nodename=nil, status=nil, input=nil, output=nil, taskoutput=nil, failmessage=nil, costmilliseconds=nil, statisticinfos=nil)
|
8793
|
+
@NodeId = nodeid
|
8794
|
+
@NodeType = nodetype
|
8795
|
+
@NodeName = nodename
|
8796
|
+
@Status = status
|
8797
|
+
@Input = input
|
8798
|
+
@Output = output
|
8799
|
+
@TaskOutput = taskoutput
|
8800
|
+
@FailMessage = failmessage
|
8801
|
+
@CostMilliSeconds = costmilliseconds
|
8802
|
+
@StatisticInfos = statisticinfos
|
8803
|
+
end
|
8804
|
+
|
8805
|
+
def deserialize(params)
|
8806
|
+
@NodeId = params['NodeId']
|
8807
|
+
@NodeType = params['NodeType']
|
8808
|
+
@NodeName = params['NodeName']
|
8809
|
+
@Status = params['Status']
|
8810
|
+
@Input = params['Input']
|
8811
|
+
@Output = params['Output']
|
8812
|
+
@TaskOutput = params['TaskOutput']
|
8813
|
+
@FailMessage = params['FailMessage']
|
8814
|
+
@CostMilliSeconds = params['CostMilliSeconds']
|
8815
|
+
unless params['StatisticInfos'].nil?
|
8816
|
+
@StatisticInfos = []
|
8817
|
+
params['StatisticInfos'].each do |i|
|
8818
|
+
statisticinfo_tmp = StatisticInfo.new
|
8819
|
+
statisticinfo_tmp.deserialize(i)
|
8820
|
+
@StatisticInfos << statisticinfo_tmp
|
8821
|
+
end
|
8822
|
+
end
|
8823
|
+
end
|
8824
|
+
end
|
8825
|
+
|
8459
8826
|
end
|
8460
8827
|
end
|
8461
8828
|
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.949
|
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-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|