tencentcloud-sdk-lke 3.0.1074 → 3.0.1079
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/client.rb +168 -0
- data/lib/v20231130/models.rb +685 -37
- metadata +2 -2
data/lib/v20231130/models.rb
CHANGED
@@ -388,6 +388,27 @@ module TencentCloud
|
|
388
388
|
end
|
389
389
|
end
|
390
390
|
|
391
|
+
# 应用基础信息
|
392
|
+
class AppBaseInfo < TencentCloud::Common::AbstractModel
|
393
|
+
# @param AppBizId: 应用ID
|
394
|
+
# @type AppBizId: String
|
395
|
+
# @param AppName: 应用名称
|
396
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
397
|
+
# @type AppName: String
|
398
|
+
|
399
|
+
attr_accessor :AppBizId, :AppName
|
400
|
+
|
401
|
+
def initialize(appbizid=nil, appname=nil)
|
402
|
+
@AppBizId = appbizid
|
403
|
+
@AppName = appname
|
404
|
+
end
|
405
|
+
|
406
|
+
def deserialize(params)
|
407
|
+
@AppBizId = params['AppBizId']
|
408
|
+
@AppName = params['AppName']
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
391
412
|
# 应用配置
|
392
413
|
class AppConfig < TencentCloud::Common::AbstractModel
|
393
414
|
# @param KnowledgeQa: 知识问答管理应用配置
|
@@ -735,6 +756,33 @@ module TencentCloud
|
|
735
756
|
end
|
736
757
|
end
|
737
758
|
|
759
|
+
# 标签值引用的工作流详情
|
760
|
+
class AttributeLabelRefByWorkflow < TencentCloud::Common::AbstractModel
|
761
|
+
# @param AttributeLabelBizId: 标签值id
|
762
|
+
# @type AttributeLabelBizId: String
|
763
|
+
# @param WorkflowList: 标签值引用的工作流列表
|
764
|
+
# @type WorkflowList: Array
|
765
|
+
|
766
|
+
attr_accessor :AttributeLabelBizId, :WorkflowList
|
767
|
+
|
768
|
+
def initialize(attributelabelbizid=nil, workflowlist=nil)
|
769
|
+
@AttributeLabelBizId = attributelabelbizid
|
770
|
+
@WorkflowList = workflowlist
|
771
|
+
end
|
772
|
+
|
773
|
+
def deserialize(params)
|
774
|
+
@AttributeLabelBizId = params['AttributeLabelBizId']
|
775
|
+
unless params['WorkflowList'].nil?
|
776
|
+
@WorkflowList = []
|
777
|
+
params['WorkflowList'].each do |i|
|
778
|
+
workflowref_tmp = WorkflowRef.new
|
779
|
+
workflowref_tmp.deserialize(i)
|
780
|
+
@WorkflowList << workflowref_tmp
|
781
|
+
end
|
782
|
+
end
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
738
786
|
# 应用基础配置
|
739
787
|
class BaseConfig < TencentCloud::Common::AbstractModel
|
740
788
|
# @param Name: 应用名称
|
@@ -984,18 +1032,30 @@ module TencentCloud
|
|
984
1032
|
class CheckAttributeLabelReferResponse < TencentCloud::Common::AbstractModel
|
985
1033
|
# @param IsRefer: 是否引用
|
986
1034
|
# @type IsRefer: Boolean
|
1035
|
+
# @param List: 引用的工作流详情
|
1036
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1037
|
+
# @type List: Array
|
987
1038
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
988
1039
|
# @type RequestId: String
|
989
1040
|
|
990
|
-
attr_accessor :IsRefer, :RequestId
|
1041
|
+
attr_accessor :IsRefer, :List, :RequestId
|
991
1042
|
|
992
|
-
def initialize(isrefer=nil, requestid=nil)
|
1043
|
+
def initialize(isrefer=nil, list=nil, requestid=nil)
|
993
1044
|
@IsRefer = isrefer
|
1045
|
+
@List = list
|
994
1046
|
@RequestId = requestid
|
995
1047
|
end
|
996
1048
|
|
997
1049
|
def deserialize(params)
|
998
1050
|
@IsRefer = params['IsRefer']
|
1051
|
+
unless params['List'].nil?
|
1052
|
+
@List = []
|
1053
|
+
params['List'].each do |i|
|
1054
|
+
attributelabelrefbyworkflow_tmp = AttributeLabelRefByWorkflow.new
|
1055
|
+
attributelabelrefbyworkflow_tmp.deserialize(i)
|
1056
|
+
@List << attributelabelrefbyworkflow_tmp
|
1057
|
+
end
|
1058
|
+
end
|
999
1059
|
@RequestId = params['RequestId']
|
1000
1060
|
end
|
1001
1061
|
end
|
@@ -1201,12 +1261,15 @@ module TencentCloud
|
|
1201
1261
|
# @type AppType: String
|
1202
1262
|
# @param BaseConfig: 应用基础配置
|
1203
1263
|
# @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
|
1264
|
+
# @param Pattern: 应用模式 standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
1265
|
+
# @type Pattern: String
|
1204
1266
|
|
1205
|
-
attr_accessor :AppType, :BaseConfig
|
1267
|
+
attr_accessor :AppType, :BaseConfig, :Pattern
|
1206
1268
|
|
1207
|
-
def initialize(apptype=nil, baseconfig=nil)
|
1269
|
+
def initialize(apptype=nil, baseconfig=nil, pattern=nil)
|
1208
1270
|
@AppType = apptype
|
1209
1271
|
@BaseConfig = baseconfig
|
1272
|
+
@Pattern = pattern
|
1210
1273
|
end
|
1211
1274
|
|
1212
1275
|
def deserialize(params)
|
@@ -1215,6 +1278,7 @@ module TencentCloud
|
|
1215
1278
|
@BaseConfig = BaseConfig.new
|
1216
1279
|
@BaseConfig.deserialize(params['BaseConfig'])
|
1217
1280
|
end
|
1281
|
+
@Pattern = params['Pattern']
|
1218
1282
|
end
|
1219
1283
|
end
|
1220
1284
|
|
@@ -1640,6 +1704,50 @@ module TencentCloud
|
|
1640
1704
|
end
|
1641
1705
|
end
|
1642
1706
|
|
1707
|
+
# CreateSharedKnowledge请求参数结构体
|
1708
|
+
class CreateSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
1709
|
+
# @param KnowledgeName: 共享知识库名称,字符数量范围:[1, 50]
|
1710
|
+
# @type KnowledgeName: String
|
1711
|
+
# @param KnowledgeDescription: 共享知识库描述,字符数量上限2000
|
1712
|
+
# @type KnowledgeDescription: String
|
1713
|
+
# @param EmbeddingModel: Embedding模型,字符数量上限128
|
1714
|
+
# @type EmbeddingModel: String
|
1715
|
+
|
1716
|
+
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel
|
1717
|
+
|
1718
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil)
|
1719
|
+
@KnowledgeName = knowledgename
|
1720
|
+
@KnowledgeDescription = knowledgedescription
|
1721
|
+
@EmbeddingModel = embeddingmodel
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
def deserialize(params)
|
1725
|
+
@KnowledgeName = params['KnowledgeName']
|
1726
|
+
@KnowledgeDescription = params['KnowledgeDescription']
|
1727
|
+
@EmbeddingModel = params['EmbeddingModel']
|
1728
|
+
end
|
1729
|
+
end
|
1730
|
+
|
1731
|
+
# CreateSharedKnowledge返回参数结构体
|
1732
|
+
class CreateSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
1733
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
1734
|
+
# @type KnowledgeBizId: String
|
1735
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1736
|
+
# @type RequestId: String
|
1737
|
+
|
1738
|
+
attr_accessor :KnowledgeBizId, :RequestId
|
1739
|
+
|
1740
|
+
def initialize(knowledgebizid=nil, requestid=nil)
|
1741
|
+
@KnowledgeBizId = knowledgebizid
|
1742
|
+
@RequestId = requestid
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
def deserialize(params)
|
1746
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
1747
|
+
@RequestId = params['RequestId']
|
1748
|
+
end
|
1749
|
+
end
|
1750
|
+
|
1643
1751
|
# CreateVar请求参数结构体
|
1644
1752
|
class CreateVarRequest < TencentCloud::Common::AbstractModel
|
1645
1753
|
# @param AppBizId: 应用ID
|
@@ -1650,14 +1758,20 @@ module TencentCloud
|
|
1650
1758
|
# @type VarDesc: String
|
1651
1759
|
# @param VarType: 变量类型定义,支持类型如下:(STRING,INT,FLOAT,BOOL,OBJECT,ARRAY_STRING,ARRAY_INT,ARRAY_FLOAT,ARRAY_BOOL,ARRAY_OBJECT,FILE,DOCUMENT,IMAGE,AUDIO);传输过程是json字符串,标签中仅支持"STRING"类型使用
|
1652
1760
|
# @type VarType: String
|
1761
|
+
# @param VarDefaultValue: 自定义变量默认值
|
1762
|
+
# @type VarDefaultValue: String
|
1763
|
+
# @param VarDefaultFileName: 自定义变量文件默认名称
|
1764
|
+
# @type VarDefaultFileName: String
|
1653
1765
|
|
1654
|
-
attr_accessor :AppBizId, :VarName, :VarDesc, :VarType
|
1766
|
+
attr_accessor :AppBizId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
1655
1767
|
|
1656
|
-
def initialize(appbizid=nil, varname=nil, vardesc=nil, vartype=nil)
|
1768
|
+
def initialize(appbizid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
|
1657
1769
|
@AppBizId = appbizid
|
1658
1770
|
@VarName = varname
|
1659
1771
|
@VarDesc = vardesc
|
1660
1772
|
@VarType = vartype
|
1773
|
+
@VarDefaultValue = vardefaultvalue
|
1774
|
+
@VarDefaultFileName = vardefaultfilename
|
1661
1775
|
end
|
1662
1776
|
|
1663
1777
|
def deserialize(params)
|
@@ -1665,6 +1779,8 @@ module TencentCloud
|
|
1665
1779
|
@VarName = params['VarName']
|
1666
1780
|
@VarDesc = params['VarDesc']
|
1667
1781
|
@VarType = params['VarType']
|
1782
|
+
@VarDefaultValue = params['VarDefaultValue']
|
1783
|
+
@VarDefaultFileName = params['VarDefaultFileName']
|
1668
1784
|
end
|
1669
1785
|
end
|
1670
1786
|
|
@@ -1982,6 +2098,42 @@ module TencentCloud
|
|
1982
2098
|
end
|
1983
2099
|
end
|
1984
2100
|
|
2101
|
+
# DeleteSharedKnowledge请求参数结构体
|
2102
|
+
class DeleteSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
2103
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
2104
|
+
# @type KnowledgeBizId: String
|
2105
|
+
|
2106
|
+
attr_accessor :KnowledgeBizId
|
2107
|
+
|
2108
|
+
def initialize(knowledgebizid=nil)
|
2109
|
+
@KnowledgeBizId = knowledgebizid
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
def deserialize(params)
|
2113
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
2114
|
+
end
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
# DeleteSharedKnowledge返回参数结构体
|
2118
|
+
class DeleteSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
2119
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
2120
|
+
# @type KnowledgeBizId: String
|
2121
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2122
|
+
# @type RequestId: String
|
2123
|
+
|
2124
|
+
attr_accessor :KnowledgeBizId, :RequestId
|
2125
|
+
|
2126
|
+
def initialize(knowledgebizid=nil, requestid=nil)
|
2127
|
+
@KnowledgeBizId = knowledgebizid
|
2128
|
+
@RequestId = requestid
|
2129
|
+
end
|
2130
|
+
|
2131
|
+
def deserialize(params)
|
2132
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
2133
|
+
@RequestId = params['RequestId']
|
2134
|
+
end
|
2135
|
+
end
|
2136
|
+
|
1985
2137
|
# DescribeApp请求参数结构体
|
1986
2138
|
class DescribeAppRequest < TencentCloud::Common::AbstractModel
|
1987
2139
|
# @param AppBizId: 应用ID
|
@@ -2187,10 +2339,12 @@ module TencentCloud
|
|
2187
2339
|
# @type AppBizIds: Array
|
2188
2340
|
# @param SubScenes: 筛选子场景(文档解析场景使用)
|
2189
2341
|
# @type SubScenes: Array
|
2342
|
+
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
2343
|
+
# @type AppType: String
|
2190
2344
|
|
2191
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes
|
2345
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType
|
2192
2346
|
|
2193
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil)
|
2347
|
+
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil)
|
2194
2348
|
@UinAccount = uinaccount
|
2195
2349
|
@LoginUin = loginuin
|
2196
2350
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -2200,6 +2354,7 @@ module TencentCloud
|
|
2200
2354
|
@EndTime = endtime
|
2201
2355
|
@AppBizIds = appbizids
|
2202
2356
|
@SubScenes = subscenes
|
2357
|
+
@AppType = apptype
|
2203
2358
|
end
|
2204
2359
|
|
2205
2360
|
def deserialize(params)
|
@@ -2212,6 +2367,7 @@ module TencentCloud
|
|
2212
2367
|
@EndTime = params['EndTime']
|
2213
2368
|
@AppBizIds = params['AppBizIds']
|
2214
2369
|
@SubScenes = params['SubScenes']
|
2370
|
+
@AppType = params['AppType']
|
2215
2371
|
end
|
2216
2372
|
end
|
2217
2373
|
|
@@ -2496,12 +2652,14 @@ module TencentCloud
|
|
2496
2652
|
# @type AttrLabels: Array
|
2497
2653
|
# @param CateBizId: 分类ID
|
2498
2654
|
# @type CateBizId: String
|
2655
|
+
# @param IsDisabled: 文档是否停用,false:未停用,true:已停用
|
2656
|
+
# @type IsDisabled: Boolean
|
2499
2657
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2500
2658
|
# @type RequestId: String
|
2501
2659
|
|
2502
|
-
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
|
2660
|
+
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, :IsDisabled, :RequestId
|
2503
2661
|
|
2504
|
-
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)
|
2662
|
+
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, isdisabled=nil, requestid=nil)
|
2505
2663
|
@DocBizId = docbizid
|
2506
2664
|
@FileName = filename
|
2507
2665
|
@FileType = filetype
|
@@ -2526,6 +2684,7 @@ module TencentCloud
|
|
2526
2684
|
@AttrRange = attrrange
|
2527
2685
|
@AttrLabels = attrlabels
|
2528
2686
|
@CateBizId = catebizid
|
2687
|
+
@IsDisabled = isdisabled
|
2529
2688
|
@RequestId = requestid
|
2530
2689
|
end
|
2531
2690
|
|
@@ -2561,6 +2720,7 @@ module TencentCloud
|
|
2561
2720
|
end
|
2562
2721
|
end
|
2563
2722
|
@CateBizId = params['CateBizId']
|
2723
|
+
@IsDisabled = params['IsDisabled']
|
2564
2724
|
@RequestId = params['RequestId']
|
2565
2725
|
end
|
2566
2726
|
end
|
@@ -2731,12 +2891,14 @@ module TencentCloud
|
|
2731
2891
|
# @type VideoAuditStatus: Integer
|
2732
2892
|
# @param QuestionDesc: 问题描述
|
2733
2893
|
# @type QuestionDesc: String
|
2894
|
+
# @param IsDisabled: 问答是否停用,false:未停用,true已停用
|
2895
|
+
# @type IsDisabled: Boolean
|
2734
2896
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2735
2897
|
# @type RequestId: String
|
2736
2898
|
|
2737
|
-
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
|
2899
|
+
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, :IsDisabled, :RequestId
|
2738
2900
|
|
2739
|
-
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)
|
2901
|
+
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, isdisabled=nil, requestid=nil)
|
2740
2902
|
@QaBizId = qabizid
|
2741
2903
|
@Question = question
|
2742
2904
|
@Answer = answer
|
@@ -2766,6 +2928,7 @@ module TencentCloud
|
|
2766
2928
|
@PicAuditStatus = picauditstatus
|
2767
2929
|
@VideoAuditStatus = videoauditstatus
|
2768
2930
|
@QuestionDesc = questiondesc
|
2931
|
+
@IsDisabled = isdisabled
|
2769
2932
|
@RequestId = requestid
|
2770
2933
|
end
|
2771
2934
|
|
@@ -2820,6 +2983,7 @@ module TencentCloud
|
|
2820
2983
|
@PicAuditStatus = params['PicAuditStatus']
|
2821
2984
|
@VideoAuditStatus = params['VideoAuditStatus']
|
2822
2985
|
@QuestionDesc = params['QuestionDesc']
|
2986
|
+
@IsDisabled = params['IsDisabled']
|
2823
2987
|
@RequestId = params['RequestId']
|
2824
2988
|
end
|
2825
2989
|
end
|
@@ -3135,6 +3299,46 @@ module TencentCloud
|
|
3135
3299
|
end
|
3136
3300
|
end
|
3137
3301
|
|
3302
|
+
# DescribeSharedKnowledge请求参数结构体
|
3303
|
+
class DescribeSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
3304
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
3305
|
+
# @type KnowledgeBizId: String
|
3306
|
+
|
3307
|
+
attr_accessor :KnowledgeBizId
|
3308
|
+
|
3309
|
+
def initialize(knowledgebizid=nil)
|
3310
|
+
@KnowledgeBizId = knowledgebizid
|
3311
|
+
end
|
3312
|
+
|
3313
|
+
def deserialize(params)
|
3314
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
3315
|
+
end
|
3316
|
+
end
|
3317
|
+
|
3318
|
+
# DescribeSharedKnowledge返回参数结构体
|
3319
|
+
class DescribeSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
3320
|
+
# @param Info: 知识库列表
|
3321
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3322
|
+
# @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeDetailInfo`
|
3323
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3324
|
+
# @type RequestId: String
|
3325
|
+
|
3326
|
+
attr_accessor :Info, :RequestId
|
3327
|
+
|
3328
|
+
def initialize(info=nil, requestid=nil)
|
3329
|
+
@Info = info
|
3330
|
+
@RequestId = requestid
|
3331
|
+
end
|
3332
|
+
|
3333
|
+
def deserialize(params)
|
3334
|
+
unless params['Info'].nil?
|
3335
|
+
@Info = KnowledgeDetailInfo.new
|
3336
|
+
@Info.deserialize(params['Info'])
|
3337
|
+
end
|
3338
|
+
@RequestId = params['RequestId']
|
3339
|
+
end
|
3340
|
+
end
|
3341
|
+
|
3138
3342
|
# DescribeStorageCredential请求参数结构体
|
3139
3343
|
class DescribeStorageCredentialRequest < TencentCloud::Common::AbstractModel
|
3140
3344
|
# @param BotBizId: 应用ID,参数非必填不代表不需要填写,下面不同的参数组合会获取到不同的权限,具体请参考 https://cloud.tencent.com/document/product/1759/116238
|
@@ -3236,16 +3440,19 @@ module TencentCloud
|
|
3236
3440
|
# @type EndTime: String
|
3237
3441
|
# @param AppBizIds: 应用id列表
|
3238
3442
|
# @type AppBizIds: Array
|
3443
|
+
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
3444
|
+
# @type AppType: String
|
3239
3445
|
|
3240
|
-
attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
|
3446
|
+
attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType
|
3241
3447
|
|
3242
|
-
def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
3448
|
+
def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, apptype=nil)
|
3243
3449
|
@UinAccount = uinaccount
|
3244
3450
|
@SubBizType = subbiztype
|
3245
3451
|
@ModelName = modelname
|
3246
3452
|
@StartTime = starttime
|
3247
3453
|
@EndTime = endtime
|
3248
3454
|
@AppBizIds = appbizids
|
3455
|
+
@AppType = apptype
|
3249
3456
|
end
|
3250
3457
|
|
3251
3458
|
def deserialize(params)
|
@@ -3255,6 +3462,7 @@ module TencentCloud
|
|
3255
3462
|
@StartTime = params['StartTime']
|
3256
3463
|
@EndTime = params['EndTime']
|
3257
3464
|
@AppBizIds = params['AppBizIds']
|
3465
|
+
@AppType = params['AppType']
|
3258
3466
|
end
|
3259
3467
|
end
|
3260
3468
|
|
@@ -3327,10 +3535,12 @@ module TencentCloud
|
|
3327
3535
|
# @type AppBizIds: Array
|
3328
3536
|
# @param SubScenes: 筛选子场景(文档解析场景使用)
|
3329
3537
|
# @type SubScenes: Array
|
3538
|
+
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
3539
|
+
# @type AppType: String
|
3330
3540
|
|
3331
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes
|
3541
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType
|
3332
3542
|
|
3333
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil)
|
3543
|
+
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil)
|
3334
3544
|
@UinAccount = uinaccount
|
3335
3545
|
@LoginUin = loginuin
|
3336
3546
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -3340,6 +3550,7 @@ module TencentCloud
|
|
3340
3550
|
@EndTime = endtime
|
3341
3551
|
@AppBizIds = appbizids
|
3342
3552
|
@SubScenes = subscenes
|
3553
|
+
@AppType = apptype
|
3343
3554
|
end
|
3344
3555
|
|
3345
3556
|
def deserialize(params)
|
@@ -3352,6 +3563,7 @@ module TencentCloud
|
|
3352
3563
|
@EndTime = params['EndTime']
|
3353
3564
|
@AppBizIds = params['AppBizIds']
|
3354
3565
|
@SubScenes = params['SubScenes']
|
3566
|
+
@AppType = params['AppType']
|
3355
3567
|
end
|
3356
3568
|
end
|
3357
3569
|
|
@@ -3471,19 +3683,23 @@ module TencentCloud
|
|
3471
3683
|
# @type Name: String
|
3472
3684
|
# @param Avatar: 图像
|
3473
3685
|
# @type Avatar: String
|
3686
|
+
# @param PreviewUrl: 预览图
|
3687
|
+
# @type PreviewUrl: String
|
3474
3688
|
|
3475
|
-
attr_accessor :AssetKey, :Name, :Avatar
|
3689
|
+
attr_accessor :AssetKey, :Name, :Avatar, :PreviewUrl
|
3476
3690
|
|
3477
|
-
def initialize(assetkey=nil, name=nil, avatar=nil)
|
3691
|
+
def initialize(assetkey=nil, name=nil, avatar=nil, previewurl=nil)
|
3478
3692
|
@AssetKey = assetkey
|
3479
3693
|
@Name = name
|
3480
3694
|
@Avatar = avatar
|
3695
|
+
@PreviewUrl = previewurl
|
3481
3696
|
end
|
3482
3697
|
|
3483
3698
|
def deserialize(params)
|
3484
3699
|
@AssetKey = params['AssetKey']
|
3485
3700
|
@Name = params['Name']
|
3486
3701
|
@Avatar = params['Avatar']
|
3702
|
+
@PreviewUrl = params['PreviewUrl']
|
3487
3703
|
end
|
3488
3704
|
end
|
3489
3705
|
|
@@ -5030,6 +5246,46 @@ module TencentCloud
|
|
5030
5246
|
end
|
5031
5247
|
end
|
5032
5248
|
|
5249
|
+
# 共享知识库基础信息
|
5250
|
+
class KnowledgeBaseInfo < TencentCloud::Common::AbstractModel
|
5251
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
5252
|
+
# @type KnowledgeBizId: String
|
5253
|
+
# @param KnowledgeName: 共享知识库名称
|
5254
|
+
# @type KnowledgeName: String
|
5255
|
+
# @param KnowledgeDescription: 共享知识库描述
|
5256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5257
|
+
# @type KnowledgeDescription: String
|
5258
|
+
# @param EmbeddingModel: Embedding模型
|
5259
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5260
|
+
# @type EmbeddingModel: String
|
5261
|
+
# @param QaExtractModel: 问答提取模型
|
5262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5263
|
+
# @type QaExtractModel: String
|
5264
|
+
# @param UpdateTime: 更新时间
|
5265
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5266
|
+
# @type UpdateTime: String
|
5267
|
+
|
5268
|
+
attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime
|
5269
|
+
|
5270
|
+
def initialize(knowledgebizid=nil, knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, updatetime=nil)
|
5271
|
+
@KnowledgeBizId = knowledgebizid
|
5272
|
+
@KnowledgeName = knowledgename
|
5273
|
+
@KnowledgeDescription = knowledgedescription
|
5274
|
+
@EmbeddingModel = embeddingmodel
|
5275
|
+
@QaExtractModel = qaextractmodel
|
5276
|
+
@UpdateTime = updatetime
|
5277
|
+
end
|
5278
|
+
|
5279
|
+
def deserialize(params)
|
5280
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
5281
|
+
@KnowledgeName = params['KnowledgeName']
|
5282
|
+
@KnowledgeDescription = params['KnowledgeDescription']
|
5283
|
+
@EmbeddingModel = params['EmbeddingModel']
|
5284
|
+
@QaExtractModel = params['QaExtractModel']
|
5285
|
+
@UpdateTime = params['UpdateTime']
|
5286
|
+
end
|
5287
|
+
end
|
5288
|
+
|
5033
5289
|
# 知识库容量饼图详情
|
5034
5290
|
class KnowledgeCapacityPieGraphDetail < TencentCloud::Common::AbstractModel
|
5035
5291
|
# @param AppName: 当前应用名称
|
@@ -5089,6 +5345,46 @@ module TencentCloud
|
|
5089
5345
|
end
|
5090
5346
|
end
|
5091
5347
|
|
5348
|
+
# 知识库详情信息
|
5349
|
+
class KnowledgeDetailInfo < TencentCloud::Common::AbstractModel
|
5350
|
+
# @param Knowledge: 知识库信息
|
5351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5352
|
+
# @type Knowledge: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeBaseInfo`
|
5353
|
+
# @param AppList: 应用列表
|
5354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5355
|
+
# @type AppList: Array
|
5356
|
+
# @param User: 用户信息
|
5357
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5358
|
+
# @type User: :class:`Tencentcloud::Lke.v20231130.models.UserBaseInfo`
|
5359
|
+
|
5360
|
+
attr_accessor :Knowledge, :AppList, :User
|
5361
|
+
|
5362
|
+
def initialize(knowledge=nil, applist=nil, user=nil)
|
5363
|
+
@Knowledge = knowledge
|
5364
|
+
@AppList = applist
|
5365
|
+
@User = user
|
5366
|
+
end
|
5367
|
+
|
5368
|
+
def deserialize(params)
|
5369
|
+
unless params['Knowledge'].nil?
|
5370
|
+
@Knowledge = KnowledgeBaseInfo.new
|
5371
|
+
@Knowledge.deserialize(params['Knowledge'])
|
5372
|
+
end
|
5373
|
+
unless params['AppList'].nil?
|
5374
|
+
@AppList = []
|
5375
|
+
params['AppList'].each do |i|
|
5376
|
+
appbaseinfo_tmp = AppBaseInfo.new
|
5377
|
+
appbaseinfo_tmp.deserialize(i)
|
5378
|
+
@AppList << appbaseinfo_tmp
|
5379
|
+
end
|
5380
|
+
end
|
5381
|
+
unless params['User'].nil?
|
5382
|
+
@User = UserBaseInfo.new
|
5383
|
+
@User.deserialize(params['User'])
|
5384
|
+
end
|
5385
|
+
end
|
5386
|
+
end
|
5387
|
+
|
5092
5388
|
# 知识问答配置
|
5093
5389
|
class KnowledgeQaConfig < TencentCloud::Common::AbstractModel
|
5094
5390
|
# @param Greeting: 欢迎语,200字符以内
|
@@ -5148,10 +5444,12 @@ module TencentCloud
|
|
5148
5444
|
# @param AiCall: 配置语音通话参数
|
5149
5445
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5150
5446
|
# @type AiCall: :class:`Tencentcloud::Lke.v20231130.models.AICallConfig`
|
5447
|
+
# @param ShareKnowledgeBases: 共享知识库关联配置
|
5448
|
+
# @type ShareKnowledgeBases: Array
|
5151
5449
|
|
5152
|
-
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval, :AiCall
|
5450
|
+
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval, :AiCall, :ShareKnowledgeBases
|
5153
5451
|
|
5154
|
-
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil, pattern=nil, searchstrategy=nil, singleworkflow=nil, plugins=nil, thoughtmodel=nil, intentachievements=nil, imagetextretrieval=nil, aicall=nil)
|
5452
|
+
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil, pattern=nil, searchstrategy=nil, singleworkflow=nil, plugins=nil, thoughtmodel=nil, intentachievements=nil, imagetextretrieval=nil, aicall=nil, shareknowledgebases=nil)
|
5155
5453
|
@Greeting = greeting
|
5156
5454
|
@RoleDescription = roledescription
|
5157
5455
|
@Model = model
|
@@ -5167,6 +5465,7 @@ module TencentCloud
|
|
5167
5465
|
@IntentAchievements = intentachievements
|
5168
5466
|
@ImageTextRetrieval = imagetextretrieval
|
5169
5467
|
@AiCall = aicall
|
5468
|
+
@ShareKnowledgeBases = shareknowledgebases
|
5170
5469
|
end
|
5171
5470
|
|
5172
5471
|
def deserialize(params)
|
@@ -5230,6 +5529,14 @@ module TencentCloud
|
|
5230
5529
|
@AiCall = AICallConfig.new
|
5231
5530
|
@AiCall.deserialize(params['AiCall'])
|
5232
5531
|
end
|
5532
|
+
unless params['ShareKnowledgeBases'].nil?
|
5533
|
+
@ShareKnowledgeBases = []
|
5534
|
+
params['ShareKnowledgeBases'].each do |i|
|
5535
|
+
shareknowledgebase_tmp = ShareKnowledgeBase.new
|
5536
|
+
shareknowledgebase_tmp.deserialize(i)
|
5537
|
+
@ShareKnowledgeBases << shareknowledgebase_tmp
|
5538
|
+
end
|
5539
|
+
end
|
5233
5540
|
end
|
5234
5541
|
end
|
5235
5542
|
|
@@ -5334,7 +5641,7 @@ module TencentCloud
|
|
5334
5641
|
|
5335
5642
|
# 检索配置
|
5336
5643
|
class KnowledgeQaSearch < TencentCloud::Common::AbstractModel
|
5337
|
-
# @param Type: 知识来源 doc:文档,qa:问答 taskflow:业务流程,search
|
5644
|
+
# @param Type: 知识来源 doc:文档,qa:问答 taskflow:业务流程,search:搜索增强,database:数据库
|
5338
5645
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5339
5646
|
# @type Type: String
|
5340
5647
|
# @param ReplyFlexibility: 问答-回复灵活度 1:已采纳答案直接回复 2:已采纳润色后回复
|
@@ -5447,6 +5754,37 @@ module TencentCloud
|
|
5447
5754
|
end
|
5448
5755
|
end
|
5449
5756
|
|
5757
|
+
# 共享知识库更新信息
|
5758
|
+
class KnowledgeUpdateInfo < TencentCloud::Common::AbstractModel
|
5759
|
+
# @param KnowledgeName: 共享知识库名称
|
5760
|
+
# @type KnowledgeName: String
|
5761
|
+
# @param KnowledgeDescription: 共享知识库描述
|
5762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5763
|
+
# @type KnowledgeDescription: String
|
5764
|
+
# @param EmbeddingModel: Embedding模型
|
5765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5766
|
+
# @type EmbeddingModel: String
|
5767
|
+
# @param QaExtractModel: 问答提取模型
|
5768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5769
|
+
# @type QaExtractModel: String
|
5770
|
+
|
5771
|
+
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel
|
5772
|
+
|
5773
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil)
|
5774
|
+
@KnowledgeName = knowledgename
|
5775
|
+
@KnowledgeDescription = knowledgedescription
|
5776
|
+
@EmbeddingModel = embeddingmodel
|
5777
|
+
@QaExtractModel = qaextractmodel
|
5778
|
+
end
|
5779
|
+
|
5780
|
+
def deserialize(params)
|
5781
|
+
@KnowledgeName = params['KnowledgeName']
|
5782
|
+
@KnowledgeDescription = params['KnowledgeDescription']
|
5783
|
+
@EmbeddingModel = params['EmbeddingModel']
|
5784
|
+
@QaExtractModel = params['QaExtractModel']
|
5785
|
+
end
|
5786
|
+
end
|
5787
|
+
|
5450
5788
|
# 问答知识库工作流配置
|
5451
5789
|
class KnowledgeWorkflow < TencentCloud::Common::AbstractModel
|
5452
5790
|
# @param IsEnabled: 是否启用工作流
|
@@ -5890,10 +6228,12 @@ module TencentCloud
|
|
5890
6228
|
# @type CustomerKnowledgeId: String
|
5891
6229
|
# @param AttributeFlags: 文档的属性标记,0: 不做用户外部权限校验
|
5892
6230
|
# @type AttributeFlags: Array
|
6231
|
+
# @param IsDisabled: false:未停用,ture:已停用
|
6232
|
+
# @type IsDisabled: Boolean
|
5893
6233
|
|
5894
|
-
attr_accessor :DocBizId, :FileName, :NewName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :AttrRange, :AttrLabels, :IsAllowEdit, :ReferUrlType, :WebUrl, :ExpireStart, :ExpireEnd, :IsAllowRetry, :Processing, :CreateTime, :CateBizId, :CustomerKnowledgeId, :AttributeFlags
|
6234
|
+
attr_accessor :DocBizId, :FileName, :NewName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :AttrRange, :AttrLabels, :IsAllowEdit, :ReferUrlType, :WebUrl, :ExpireStart, :ExpireEnd, :IsAllowRetry, :Processing, :CreateTime, :CateBizId, :CustomerKnowledgeId, :AttributeFlags, :IsDisabled
|
5895
6235
|
|
5896
|
-
def initialize(docbizid=nil, filename=nil, newname=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, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil, processing=nil, createtime=nil, catebizid=nil, customerknowledgeid=nil, attributeflags=nil)
|
6236
|
+
def initialize(docbizid=nil, filename=nil, newname=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, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil, processing=nil, createtime=nil, catebizid=nil, customerknowledgeid=nil, attributeflags=nil, isdisabled=nil)
|
5897
6237
|
@DocBizId = docbizid
|
5898
6238
|
@FileName = filename
|
5899
6239
|
@NewName = newname
|
@@ -5928,6 +6268,7 @@ module TencentCloud
|
|
5928
6268
|
@CateBizId = catebizid
|
5929
6269
|
@CustomerKnowledgeId = customerknowledgeid
|
5930
6270
|
@AttributeFlags = attributeflags
|
6271
|
+
@IsDisabled = isdisabled
|
5931
6272
|
end
|
5932
6273
|
|
5933
6274
|
def deserialize(params)
|
@@ -5972,6 +6313,7 @@ module TencentCloud
|
|
5972
6313
|
@CateBizId = params['CateBizId']
|
5973
6314
|
@CustomerKnowledgeId = params['CustomerKnowledgeId']
|
5974
6315
|
@AttributeFlags = params['AttributeFlags']
|
6316
|
+
@IsDisabled = params['IsDisabled']
|
5975
6317
|
end
|
5976
6318
|
end
|
5977
6319
|
|
@@ -5984,6 +6326,8 @@ module TencentCloud
|
|
5984
6326
|
# @param PageSize: 每页数量
|
5985
6327
|
# @type PageSize: Integer
|
5986
6328
|
# @param Query: 查询内容
|
6329
|
+
|
6330
|
+
# 输入特定标识 lke:system:untagged 将查询所有未关联标签的文档
|
5987
6331
|
# @type Query: String
|
5988
6332
|
# @param Status: 文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10-待发布 11-发布中 12-已发布 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复
|
5989
6333
|
# @type Status: Array
|
@@ -5995,10 +6339,12 @@ module TencentCloud
|
|
5995
6339
|
# @type FileTypes: Array
|
5996
6340
|
# @param FilterFlag: 文档列表筛选标识位
|
5997
6341
|
# @type FilterFlag: Array
|
6342
|
+
# @param ShowCurrCate: 是否只展示当前分类的数据 0不是,1是
|
6343
|
+
# @type ShowCurrCate: Integer
|
5998
6344
|
|
5999
|
-
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId, :FileTypes, :FilterFlag
|
6345
|
+
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId, :FileTypes, :FilterFlag, :ShowCurrCate
|
6000
6346
|
|
6001
|
-
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil, querytype=nil, catebizid=nil, filetypes=nil, filterflag=nil)
|
6347
|
+
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil, querytype=nil, catebizid=nil, filetypes=nil, filterflag=nil, showcurrcate=nil)
|
6002
6348
|
@BotBizId = botbizid
|
6003
6349
|
@PageNumber = pagenumber
|
6004
6350
|
@PageSize = pagesize
|
@@ -6008,6 +6354,7 @@ module TencentCloud
|
|
6008
6354
|
@CateBizId = catebizid
|
6009
6355
|
@FileTypes = filetypes
|
6010
6356
|
@FilterFlag = filterflag
|
6357
|
+
@ShowCurrCate = showcurrcate
|
6011
6358
|
end
|
6012
6359
|
|
6013
6360
|
def deserialize(params)
|
@@ -6027,6 +6374,7 @@ module TencentCloud
|
|
6027
6374
|
@FilterFlag << docfilterflag_tmp
|
6028
6375
|
end
|
6029
6376
|
end
|
6377
|
+
@ShowCurrCate = params['ShowCurrCate']
|
6030
6378
|
end
|
6031
6379
|
end
|
6032
6380
|
|
@@ -6172,6 +6520,8 @@ module TencentCloud
|
|
6172
6520
|
# @param PageSize: 每页大小
|
6173
6521
|
# @type PageSize: Integer
|
6174
6522
|
# @param Query: 查询问题
|
6523
|
+
|
6524
|
+
# 输入特定标识 lke:system:untagged 将查询所有未关联标签的问答
|
6175
6525
|
# @type Query: String
|
6176
6526
|
# @param AcceptStatus: 校验状态(1未校验2采纳3不采纳)
|
6177
6527
|
# @type AcceptStatus: Array
|
@@ -6189,10 +6539,12 @@ module TencentCloud
|
|
6189
6539
|
# @type QaBizIds: Array
|
6190
6540
|
# @param QueryType: 查询类型 filename 名称、 attribute 标签
|
6191
6541
|
# @type QueryType: String
|
6542
|
+
# @param ShowCurrCate: 是否只展示当前分类的数据 0不是,1是
|
6543
|
+
# @type ShowCurrCate: Integer
|
6192
6544
|
|
6193
|
-
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :CateBizId, :QaBizIds, :QueryType
|
6545
|
+
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :CateBizId, :QaBizIds, :QueryType, :ShowCurrCate
|
6194
6546
|
|
6195
|
-
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, catebizid=nil, qabizids=nil, querytype=nil)
|
6547
|
+
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, catebizid=nil, qabizids=nil, querytype=nil, showcurrcate=nil)
|
6196
6548
|
@BotBizId = botbizid
|
6197
6549
|
@PageNumber = pagenumber
|
6198
6550
|
@PageSize = pagesize
|
@@ -6205,6 +6557,7 @@ module TencentCloud
|
|
6205
6557
|
@CateBizId = catebizid
|
6206
6558
|
@QaBizIds = qabizids
|
6207
6559
|
@QueryType = querytype
|
6560
|
+
@ShowCurrCate = showcurrcate
|
6208
6561
|
end
|
6209
6562
|
|
6210
6563
|
def deserialize(params)
|
@@ -6220,6 +6573,7 @@ module TencentCloud
|
|
6220
6573
|
@CateBizId = params['CateBizId']
|
6221
6574
|
@QaBizIds = params['QaBizIds']
|
6222
6575
|
@QueryType = params['QueryType']
|
6576
|
+
@ShowCurrCate = params['ShowCurrCate']
|
6223
6577
|
end
|
6224
6578
|
end
|
6225
6579
|
|
@@ -6316,10 +6670,12 @@ module TencentCloud
|
|
6316
6670
|
# @type SimilarQuestionNum: Integer
|
6317
6671
|
# @param SimilarQuestionTips: 返回问答关联的相似问,联动搜索,仅展示一条
|
6318
6672
|
# @type SimilarQuestionTips: String
|
6673
|
+
# @param IsDisabled: 问答是否停用,false:未停用,ture:已停用
|
6674
|
+
# @type IsDisabled: Boolean
|
6319
6675
|
|
6320
|
-
attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips
|
6676
|
+
attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips, :IsDisabled
|
6321
6677
|
|
6322
|
-
def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil, expirestart=nil, expireend=nil, attrrange=nil, attrlabels=nil, similarquestionnum=nil, similarquestiontips=nil)
|
6678
|
+
def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil, expirestart=nil, expireend=nil, attrrange=nil, attrlabels=nil, similarquestionnum=nil, similarquestiontips=nil, isdisabled=nil)
|
6323
6679
|
@QaBizId = qabizid
|
6324
6680
|
@Question = question
|
6325
6681
|
@Answer = answer
|
@@ -6342,6 +6698,7 @@ module TencentCloud
|
|
6342
6698
|
@AttrLabels = attrlabels
|
6343
6699
|
@SimilarQuestionNum = similarquestionnum
|
6344
6700
|
@SimilarQuestionTips = similarquestiontips
|
6701
|
+
@IsDisabled = isdisabled
|
6345
6702
|
end
|
6346
6703
|
|
6347
6704
|
def deserialize(params)
|
@@ -6374,6 +6731,58 @@ module TencentCloud
|
|
6374
6731
|
end
|
6375
6732
|
@SimilarQuestionNum = params['SimilarQuestionNum']
|
6376
6733
|
@SimilarQuestionTips = params['SimilarQuestionTips']
|
6734
|
+
@IsDisabled = params['IsDisabled']
|
6735
|
+
end
|
6736
|
+
end
|
6737
|
+
|
6738
|
+
# ListReferShareKnowledge请求参数结构体
|
6739
|
+
class ListReferShareKnowledgeRequest < TencentCloud::Common::AbstractModel
|
6740
|
+
# @param AppBizId: 应用业务id
|
6741
|
+
# @type AppBizId: String
|
6742
|
+
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
6743
|
+
# @type LoginUin: String
|
6744
|
+
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
6745
|
+
# @type LoginSubAccountUin: String
|
6746
|
+
|
6747
|
+
attr_accessor :AppBizId, :LoginUin, :LoginSubAccountUin
|
6748
|
+
|
6749
|
+
def initialize(appbizid=nil, loginuin=nil, loginsubaccountuin=nil)
|
6750
|
+
@AppBizId = appbizid
|
6751
|
+
@LoginUin = loginuin
|
6752
|
+
@LoginSubAccountUin = loginsubaccountuin
|
6753
|
+
end
|
6754
|
+
|
6755
|
+
def deserialize(params)
|
6756
|
+
@AppBizId = params['AppBizId']
|
6757
|
+
@LoginUin = params['LoginUin']
|
6758
|
+
@LoginSubAccountUin = params['LoginSubAccountUin']
|
6759
|
+
end
|
6760
|
+
end
|
6761
|
+
|
6762
|
+
# ListReferShareKnowledge返回参数结构体
|
6763
|
+
class ListReferShareKnowledgeResponse < TencentCloud::Common::AbstractModel
|
6764
|
+
# @param List: 共享知识库信息列表
|
6765
|
+
# @type List: Array
|
6766
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6767
|
+
# @type RequestId: String
|
6768
|
+
|
6769
|
+
attr_accessor :List, :RequestId
|
6770
|
+
|
6771
|
+
def initialize(list=nil, requestid=nil)
|
6772
|
+
@List = list
|
6773
|
+
@RequestId = requestid
|
6774
|
+
end
|
6775
|
+
|
6776
|
+
def deserialize(params)
|
6777
|
+
unless params['List'].nil?
|
6778
|
+
@List = []
|
6779
|
+
params['List'].each do |i|
|
6780
|
+
knowledgebaseinfo_tmp = KnowledgeBaseInfo.new
|
6781
|
+
knowledgebaseinfo_tmp.deserialize(i)
|
6782
|
+
@List << knowledgebaseinfo_tmp
|
6783
|
+
end
|
6784
|
+
end
|
6785
|
+
@RequestId = params['RequestId']
|
6377
6786
|
end
|
6378
6787
|
end
|
6379
6788
|
|
@@ -6898,6 +7307,62 @@ module TencentCloud
|
|
6898
7307
|
end
|
6899
7308
|
end
|
6900
7309
|
|
7310
|
+
# ListSharedKnowledge请求参数结构体
|
7311
|
+
class ListSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
7312
|
+
# @param PageNumber: 分页序号,编码从1开始
|
7313
|
+
# @type PageNumber: Integer
|
7314
|
+
# @param PageSize: 分页大小,有效范围为[1,200]
|
7315
|
+
# @type PageSize: Integer
|
7316
|
+
# @param Keyword: 搜索关键字
|
7317
|
+
# @type Keyword: String
|
7318
|
+
|
7319
|
+
attr_accessor :PageNumber, :PageSize, :Keyword
|
7320
|
+
|
7321
|
+
def initialize(pagenumber=nil, pagesize=nil, keyword=nil)
|
7322
|
+
@PageNumber = pagenumber
|
7323
|
+
@PageSize = pagesize
|
7324
|
+
@Keyword = keyword
|
7325
|
+
end
|
7326
|
+
|
7327
|
+
def deserialize(params)
|
7328
|
+
@PageNumber = params['PageNumber']
|
7329
|
+
@PageSize = params['PageSize']
|
7330
|
+
@Keyword = params['Keyword']
|
7331
|
+
end
|
7332
|
+
end
|
7333
|
+
|
7334
|
+
# ListSharedKnowledge返回参数结构体
|
7335
|
+
class ListSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
7336
|
+
# @param Total: 累计数量
|
7337
|
+
# @type Total: Integer
|
7338
|
+
# @param KnowledgeList: 知识库列表
|
7339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7340
|
+
# @type KnowledgeList: Array
|
7341
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7342
|
+
# @type RequestId: String
|
7343
|
+
|
7344
|
+
attr_accessor :Total, :KnowledgeList, :RequestId
|
7345
|
+
|
7346
|
+
def initialize(total=nil, knowledgelist=nil, requestid=nil)
|
7347
|
+
@Total = total
|
7348
|
+
@KnowledgeList = knowledgelist
|
7349
|
+
@RequestId = requestid
|
7350
|
+
end
|
7351
|
+
|
7352
|
+
def deserialize(params)
|
7353
|
+
@Total = params['Total']
|
7354
|
+
unless params['KnowledgeList'].nil?
|
7355
|
+
@KnowledgeList = []
|
7356
|
+
params['KnowledgeList'].each do |i|
|
7357
|
+
knowledgedetailinfo_tmp = KnowledgeDetailInfo.new
|
7358
|
+
knowledgedetailinfo_tmp.deserialize(i)
|
7359
|
+
@KnowledgeList << knowledgedetailinfo_tmp
|
7360
|
+
end
|
7361
|
+
end
|
7362
|
+
@RequestId = params['RequestId']
|
7363
|
+
end
|
7364
|
+
end
|
7365
|
+
|
6901
7366
|
# ListUnsatisfiedReply请求参数结构体
|
6902
7367
|
class ListUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
|
6903
7368
|
# @param BotBizId: 应用ID
|
@@ -6990,10 +7455,12 @@ module TencentCloud
|
|
6990
7455
|
# @type CallType: String
|
6991
7456
|
# @param SubScenes: 筛选子场景
|
6992
7457
|
# @type SubScenes: Array
|
7458
|
+
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
7459
|
+
# @type AppType: String
|
6993
7460
|
|
6994
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :PageNumber, :PageSize, :UinAccount, :AppBizIds, :CallType, :SubScenes
|
7461
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :PageNumber, :PageSize, :UinAccount, :AppBizIds, :CallType, :SubScenes, :AppType
|
6995
7462
|
|
6996
|
-
def initialize(modelname=nil, starttime=nil, endtime=nil, pagenumber=nil, pagesize=nil, uinaccount=nil, appbizids=nil, calltype=nil, subscenes=nil)
|
7463
|
+
def initialize(modelname=nil, starttime=nil, endtime=nil, pagenumber=nil, pagesize=nil, uinaccount=nil, appbizids=nil, calltype=nil, subscenes=nil, apptype=nil)
|
6997
7464
|
@ModelName = modelname
|
6998
7465
|
@StartTime = starttime
|
6999
7466
|
@EndTime = endtime
|
@@ -7003,6 +7470,7 @@ module TencentCloud
|
|
7003
7470
|
@AppBizIds = appbizids
|
7004
7471
|
@CallType = calltype
|
7005
7472
|
@SubScenes = subscenes
|
7473
|
+
@AppType = apptype
|
7006
7474
|
end
|
7007
7475
|
|
7008
7476
|
def deserialize(params)
|
@@ -7015,6 +7483,7 @@ module TencentCloud
|
|
7015
7483
|
@AppBizIds = params['AppBizIds']
|
7016
7484
|
@CallType = params['CallType']
|
7017
7485
|
@SubScenes = params['SubScenes']
|
7486
|
+
@AppType = params['AppType']
|
7018
7487
|
end
|
7019
7488
|
end
|
7020
7489
|
|
@@ -7122,10 +7591,12 @@ module TencentCloud
|
|
7122
7591
|
# @type IsExclusive: Boolean
|
7123
7592
|
# @param SupportAiCallStatus: 模型支持智能通话效果
|
7124
7593
|
# @type SupportAiCallStatus: Integer
|
7594
|
+
# @param Concurrency: 专属并发数
|
7595
|
+
# @type Concurrency: Integer
|
7125
7596
|
|
7126
|
-
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive, :SupportAiCallStatus
|
7597
|
+
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive, :SupportAiCallStatus, :Concurrency
|
7127
7598
|
|
7128
|
-
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil, topp=nil, temperature=nil, maxtokens=nil, source=nil, icon=nil, isfree=nil, inputlenlimit=nil, supportworkflowstatus=nil, modelcategory=nil, isdefault=nil, rolelenlimit=nil, isexclusive=nil, supportaicallstatus=nil)
|
7599
|
+
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil, topp=nil, temperature=nil, maxtokens=nil, source=nil, icon=nil, isfree=nil, inputlenlimit=nil, supportworkflowstatus=nil, modelcategory=nil, isdefault=nil, rolelenlimit=nil, isexclusive=nil, supportaicallstatus=nil, concurrency=nil)
|
7129
7600
|
@ModelName = modelname
|
7130
7601
|
@ModelDesc = modeldesc
|
7131
7602
|
@AliasName = aliasname
|
@@ -7144,6 +7615,7 @@ module TencentCloud
|
|
7144
7615
|
@RoleLenLimit = rolelenlimit
|
7145
7616
|
@IsExclusive = isexclusive
|
7146
7617
|
@SupportAiCallStatus = supportaicallstatus
|
7618
|
+
@Concurrency = concurrency
|
7147
7619
|
end
|
7148
7620
|
|
7149
7621
|
def deserialize(params)
|
@@ -7174,6 +7646,7 @@ module TencentCloud
|
|
7174
7646
|
@RoleLenLimit = params['RoleLenLimit']
|
7175
7647
|
@IsExclusive = params['IsExclusive']
|
7176
7648
|
@SupportAiCallStatus = params['SupportAiCallStatus']
|
7649
|
+
@Concurrency = params['Concurrency']
|
7177
7650
|
end
|
7178
7651
|
end
|
7179
7652
|
|
@@ -8688,10 +9161,12 @@ module TencentCloud
|
|
8688
9161
|
# @param DocBizId: 文档ID
|
8689
9162
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8690
9163
|
# @type DocBizId: String
|
9164
|
+
# @param KnowledgeBizId: 知识库ID
|
9165
|
+
# @type KnowledgeBizId: String
|
8691
9166
|
|
8692
|
-
attr_accessor :ReferBizId, :DocType, :DocName, :PageContent, :Question, :Answer, :Confidence, :Mark, :Highlights, :OrgData, :PageInfos, :SheetInfos, :DocBizId
|
9167
|
+
attr_accessor :ReferBizId, :DocType, :DocName, :PageContent, :Question, :Answer, :Confidence, :Mark, :Highlights, :OrgData, :PageInfos, :SheetInfos, :DocBizId, :KnowledgeBizId
|
8693
9168
|
|
8694
|
-
def initialize(referbizid=nil, doctype=nil, docname=nil, pagecontent=nil, question=nil, answer=nil, confidence=nil, mark=nil, highlights=nil, orgdata=nil, pageinfos=nil, sheetinfos=nil, docbizid=nil)
|
9169
|
+
def initialize(referbizid=nil, doctype=nil, docname=nil, pagecontent=nil, question=nil, answer=nil, confidence=nil, mark=nil, highlights=nil, orgdata=nil, pageinfos=nil, sheetinfos=nil, docbizid=nil, knowledgebizid=nil)
|
8695
9170
|
@ReferBizId = referbizid
|
8696
9171
|
@DocType = doctype
|
8697
9172
|
@DocName = docname
|
@@ -8705,6 +9180,7 @@ module TencentCloud
|
|
8705
9180
|
@PageInfos = pageinfos
|
8706
9181
|
@SheetInfos = sheetinfos
|
8707
9182
|
@DocBizId = docbizid
|
9183
|
+
@KnowledgeBizId = knowledgebizid
|
8708
9184
|
end
|
8709
9185
|
|
8710
9186
|
def deserialize(params)
|
@@ -8728,6 +9204,51 @@ module TencentCloud
|
|
8728
9204
|
@PageInfos = params['PageInfos']
|
8729
9205
|
@SheetInfos = params['SheetInfos']
|
8730
9206
|
@DocBizId = params['DocBizId']
|
9207
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
9208
|
+
end
|
9209
|
+
end
|
9210
|
+
|
9211
|
+
# ReferShareKnowledge请求参数结构体
|
9212
|
+
class ReferShareKnowledgeRequest < TencentCloud::Common::AbstractModel
|
9213
|
+
# @param AppBizId: 应用业务id
|
9214
|
+
# @type AppBizId: String
|
9215
|
+
# @param KnowledgeBizId: 共享知识库业务id列表
|
9216
|
+
# @type KnowledgeBizId: Array
|
9217
|
+
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
9218
|
+
# @type LoginUin: String
|
9219
|
+
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
9220
|
+
# @type LoginSubAccountUin: String
|
9221
|
+
|
9222
|
+
attr_accessor :AppBizId, :KnowledgeBizId, :LoginUin, :LoginSubAccountUin
|
9223
|
+
|
9224
|
+
def initialize(appbizid=nil, knowledgebizid=nil, loginuin=nil, loginsubaccountuin=nil)
|
9225
|
+
@AppBizId = appbizid
|
9226
|
+
@KnowledgeBizId = knowledgebizid
|
9227
|
+
@LoginUin = loginuin
|
9228
|
+
@LoginSubAccountUin = loginsubaccountuin
|
9229
|
+
end
|
9230
|
+
|
9231
|
+
def deserialize(params)
|
9232
|
+
@AppBizId = params['AppBizId']
|
9233
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
9234
|
+
@LoginUin = params['LoginUin']
|
9235
|
+
@LoginSubAccountUin = params['LoginSubAccountUin']
|
9236
|
+
end
|
9237
|
+
end
|
9238
|
+
|
9239
|
+
# ReferShareKnowledge返回参数结构体
|
9240
|
+
class ReferShareKnowledgeResponse < TencentCloud::Common::AbstractModel
|
9241
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9242
|
+
# @type RequestId: String
|
9243
|
+
|
9244
|
+
attr_accessor :RequestId
|
9245
|
+
|
9246
|
+
def initialize(requestid=nil)
|
9247
|
+
@RequestId = requestid
|
9248
|
+
end
|
9249
|
+
|
9250
|
+
def deserialize(params)
|
9251
|
+
@RequestId = params['RequestId']
|
8731
9252
|
end
|
8732
9253
|
end
|
8733
9254
|
|
@@ -9422,6 +9943,29 @@ module TencentCloud
|
|
9422
9943
|
end
|
9423
9944
|
end
|
9424
9945
|
|
9946
|
+
# 共享知识库配置
|
9947
|
+
class ShareKnowledgeBase < TencentCloud::Common::AbstractModel
|
9948
|
+
# @param KnowledgeBizId: 共享知识库ID
|
9949
|
+
# @type KnowledgeBizId: String
|
9950
|
+
# @param SearchRange: 检索范围
|
9951
|
+
# @type SearchRange: :class:`Tencentcloud::Lke.v20231130.models.SearchRange`
|
9952
|
+
|
9953
|
+
attr_accessor :KnowledgeBizId, :SearchRange
|
9954
|
+
|
9955
|
+
def initialize(knowledgebizid=nil, searchrange=nil)
|
9956
|
+
@KnowledgeBizId = knowledgebizid
|
9957
|
+
@SearchRange = searchrange
|
9958
|
+
end
|
9959
|
+
|
9960
|
+
def deserialize(params)
|
9961
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
9962
|
+
unless params['SearchRange'].nil?
|
9963
|
+
@SearchRange = SearchRange.new
|
9964
|
+
@SearchRange.deserialize(params['SearchRange'])
|
9965
|
+
end
|
9966
|
+
end
|
9967
|
+
end
|
9968
|
+
|
9425
9969
|
# 相似问信息
|
9426
9970
|
class SimilarQuestion < TencentCloud::Common::AbstractModel
|
9427
9971
|
# @param SimBizId: 相似问ID
|
@@ -9681,14 +10225,20 @@ module TencentCloud
|
|
9681
10225
|
# @type VarDesc: String
|
9682
10226
|
# @param VarType: 变量类型 (STRING,INT,FLOAT,BOOL,OBJECT,ARRAY_STRING,ARRAY_INT,ARRAY_FLOAT,ARRAY_BOOL,ARRAY_OBJECT,FILE,DOCUMENT,IMAGE,AUDIO)
|
9683
10227
|
# @type VarType: String
|
10228
|
+
# @param VarDefaultValue: 自定义变量默认值
|
10229
|
+
# @type VarDefaultValue: String
|
10230
|
+
# @param VarDefaultFileName: 自定义变量文件默认名称
|
10231
|
+
# @type VarDefaultFileName: String
|
9684
10232
|
|
9685
|
-
attr_accessor :VarId, :VarName, :VarDesc, :VarType
|
10233
|
+
attr_accessor :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
9686
10234
|
|
9687
|
-
def initialize(varid=nil, varname=nil, vardesc=nil, vartype=nil)
|
10235
|
+
def initialize(varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
|
9688
10236
|
@VarId = varid
|
9689
10237
|
@VarName = varname
|
9690
10238
|
@VarDesc = vardesc
|
9691
10239
|
@VarType = vartype
|
10240
|
+
@VarDefaultValue = vardefaultvalue
|
10241
|
+
@VarDefaultFileName = vardefaultfilename
|
9692
10242
|
end
|
9693
10243
|
|
9694
10244
|
def deserialize(params)
|
@@ -9696,6 +10246,8 @@ module TencentCloud
|
|
9696
10246
|
@VarName = params['VarName']
|
9697
10247
|
@VarDesc = params['VarDesc']
|
9698
10248
|
@VarType = params['VarType']
|
10249
|
+
@VarDefaultValue = params['VarDefaultValue']
|
10250
|
+
@VarDefaultFileName = params['VarDefaultFileName']
|
9699
10251
|
end
|
9700
10252
|
end
|
9701
10253
|
|
@@ -9919,6 +10471,49 @@ module TencentCloud
|
|
9919
10471
|
end
|
9920
10472
|
end
|
9921
10473
|
|
10474
|
+
# UpdateSharedKnowledge请求参数结构体
|
10475
|
+
class UpdateSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
10476
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
10477
|
+
# @type KnowledgeBizId: String
|
10478
|
+
# @param Info: 共享知识库更新信息
|
10479
|
+
# @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeUpdateInfo`
|
10480
|
+
|
10481
|
+
attr_accessor :KnowledgeBizId, :Info
|
10482
|
+
|
10483
|
+
def initialize(knowledgebizid=nil, info=nil)
|
10484
|
+
@KnowledgeBizId = knowledgebizid
|
10485
|
+
@Info = info
|
10486
|
+
end
|
10487
|
+
|
10488
|
+
def deserialize(params)
|
10489
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
10490
|
+
unless params['Info'].nil?
|
10491
|
+
@Info = KnowledgeUpdateInfo.new
|
10492
|
+
@Info.deserialize(params['Info'])
|
10493
|
+
end
|
10494
|
+
end
|
10495
|
+
end
|
10496
|
+
|
10497
|
+
# UpdateSharedKnowledge返回参数结构体
|
10498
|
+
class UpdateSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
10499
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
10500
|
+
# @type KnowledgeBizId: String
|
10501
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10502
|
+
# @type RequestId: String
|
10503
|
+
|
10504
|
+
attr_accessor :KnowledgeBizId, :RequestId
|
10505
|
+
|
10506
|
+
def initialize(knowledgebizid=nil, requestid=nil)
|
10507
|
+
@KnowledgeBizId = knowledgebizid
|
10508
|
+
@RequestId = requestid
|
10509
|
+
end
|
10510
|
+
|
10511
|
+
def deserialize(params)
|
10512
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
10513
|
+
@RequestId = params['RequestId']
|
10514
|
+
end
|
10515
|
+
end
|
10516
|
+
|
9922
10517
|
# UploadAttributeLabel请求参数结构体
|
9923
10518
|
class UploadAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
9924
10519
|
# @param BotBizId: 应用ID
|
@@ -10015,6 +10610,27 @@ module TencentCloud
|
|
10015
10610
|
end
|
10016
10611
|
end
|
10017
10612
|
|
10613
|
+
# 用户基础信息
|
10614
|
+
class UserBaseInfo < TencentCloud::Common::AbstractModel
|
10615
|
+
# @param UserBizId: 用户ID
|
10616
|
+
# @type UserBizId: String
|
10617
|
+
# @param UserName: 用户名称
|
10618
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10619
|
+
# @type UserName: String
|
10620
|
+
|
10621
|
+
attr_accessor :UserBizId, :UserName
|
10622
|
+
|
10623
|
+
def initialize(userbizid=nil, username=nil)
|
10624
|
+
@UserBizId = userbizid
|
10625
|
+
@UserName = username
|
10626
|
+
end
|
10627
|
+
|
10628
|
+
def deserialize(params)
|
10629
|
+
@UserBizId = params['UserBizId']
|
10630
|
+
@UserName = params['UserName']
|
10631
|
+
end
|
10632
|
+
end
|
10633
|
+
|
10018
10634
|
# 任务流程参数信息
|
10019
10635
|
class ValueInfo < TencentCloud::Common::AbstractModel
|
10020
10636
|
# @param Id: 值ID
|
@@ -10263,6 +10879,38 @@ module TencentCloud
|
|
10263
10879
|
end
|
10264
10880
|
end
|
10265
10881
|
|
10882
|
+
# WorkflowRef详情
|
10883
|
+
class WorkflowRef < TencentCloud::Common::AbstractModel
|
10884
|
+
# @param WorkflowId: 任务流ID
|
10885
|
+
# @type WorkflowId: String
|
10886
|
+
# @param WorkflowName: 任务流名称
|
10887
|
+
# @type WorkflowName: String
|
10888
|
+
# @param WorkflowDesc: 任务流描述
|
10889
|
+
# @type WorkflowDesc: String
|
10890
|
+
# @param AppBizId: 应用ID
|
10891
|
+
# @type AppBizId: String
|
10892
|
+
# @param UpdateTime: 更新时间
|
10893
|
+
# @type UpdateTime: Integer
|
10894
|
+
|
10895
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowDesc, :AppBizId, :UpdateTime
|
10896
|
+
|
10897
|
+
def initialize(workflowid=nil, workflowname=nil, workflowdesc=nil, appbizid=nil, updatetime=nil)
|
10898
|
+
@WorkflowId = workflowid
|
10899
|
+
@WorkflowName = workflowname
|
10900
|
+
@WorkflowDesc = workflowdesc
|
10901
|
+
@AppBizId = appbizid
|
10902
|
+
@UpdateTime = updatetime
|
10903
|
+
end
|
10904
|
+
|
10905
|
+
def deserialize(params)
|
10906
|
+
@WorkflowId = params['WorkflowId']
|
10907
|
+
@WorkflowName = params['WorkflowName']
|
10908
|
+
@WorkflowDesc = params['WorkflowDesc']
|
10909
|
+
@AppBizId = params['AppBizId']
|
10910
|
+
@UpdateTime = params['UpdateTime']
|
10911
|
+
end
|
10912
|
+
end
|
10913
|
+
|
10266
10914
|
# 工作流运行节点信息
|
10267
10915
|
class WorkflowRunNodeInfo < TencentCloud::Common::AbstractModel
|
10268
10916
|
# @param NodeId: 节点ID
|