tencentcloud-sdk-lke 3.0.1116 → 3.0.1124
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 +1 -25
- data/lib/v20231130/models.rb +808 -161
- metadata +2 -2
data/lib/v20231130/models.rb
CHANGED
@@ -86,10 +86,12 @@ module TencentCloud
|
|
86
86
|
# @type IsStartingAgent: Boolean
|
87
87
|
# @param AgentType: Agent类型; 0: 未指定类型; 1: 知识库检索Agent
|
88
88
|
# @type AgentType: Integer
|
89
|
+
# @param AgentMode: 0 自由转交,1 计划与执行
|
90
|
+
# @type AgentMode: Integer
|
89
91
|
|
90
|
-
attr_accessor :AgentId, :WorkflowId, :Name, :IconUrl, :Instructions, :HandoffDescription, :Handoffs, :Model, :Tools, :Plugins, :IsStartingAgent, :AgentType
|
92
|
+
attr_accessor :AgentId, :WorkflowId, :Name, :IconUrl, :Instructions, :HandoffDescription, :Handoffs, :Model, :Tools, :Plugins, :IsStartingAgent, :AgentType, :AgentMode
|
91
93
|
|
92
|
-
def initialize(agentid=nil, workflowid=nil, name=nil, iconurl=nil, instructions=nil, handoffdescription=nil, handoffs=nil, model=nil, tools=nil, plugins=nil, isstartingagent=nil, agenttype=nil)
|
94
|
+
def initialize(agentid=nil, workflowid=nil, name=nil, iconurl=nil, instructions=nil, handoffdescription=nil, handoffs=nil, model=nil, tools=nil, plugins=nil, isstartingagent=nil, agenttype=nil, agentmode=nil)
|
93
95
|
@AgentId = agentid
|
94
96
|
@WorkflowId = workflowid
|
95
97
|
@Name = name
|
@@ -102,6 +104,7 @@ module TencentCloud
|
|
102
104
|
@Plugins = plugins
|
103
105
|
@IsStartingAgent = isstartingagent
|
104
106
|
@AgentType = agenttype
|
107
|
+
@AgentMode = agentmode
|
105
108
|
end
|
106
109
|
|
107
110
|
def deserialize(params)
|
@@ -134,6 +137,7 @@ module TencentCloud
|
|
134
137
|
end
|
135
138
|
@IsStartingAgent = params['IsStartingAgent']
|
136
139
|
@AgentType = params['AgentType']
|
140
|
+
@AgentMode = params['AgentMode']
|
137
141
|
end
|
138
142
|
end
|
139
143
|
|
@@ -145,17 +149,21 @@ module TencentCloud
|
|
145
149
|
# @param Output: 工具、大模型的输出信息,json
|
146
150
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
147
151
|
# @type Output: String
|
152
|
+
# @param ModelName: 模型名
|
153
|
+
# @type ModelName: String
|
148
154
|
|
149
|
-
attr_accessor :Input, :Output
|
155
|
+
attr_accessor :Input, :Output, :ModelName
|
150
156
|
|
151
|
-
def initialize(input=nil, output=nil)
|
157
|
+
def initialize(input=nil, output=nil, modelname=nil)
|
152
158
|
@Input = input
|
153
159
|
@Output = output
|
160
|
+
@ModelName = modelname
|
154
161
|
end
|
155
162
|
|
156
163
|
def deserialize(params)
|
157
164
|
@Input = params['Input']
|
158
165
|
@Output = params['Output']
|
166
|
+
@ModelName = params['ModelName']
|
159
167
|
end
|
160
168
|
end
|
161
169
|
|
@@ -393,14 +401,17 @@ module TencentCloud
|
|
393
401
|
# @type Timeout: Integer
|
394
402
|
# @param SseReadTimeout: sse服务超时时间,单位秒
|
395
403
|
# @type SseReadTimeout: Integer
|
404
|
+
# @param Query: mcp server query信息
|
405
|
+
# @type Query: Array
|
396
406
|
|
397
|
-
attr_accessor :McpServerUrl, :Headers, :Timeout, :SseReadTimeout
|
407
|
+
attr_accessor :McpServerUrl, :Headers, :Timeout, :SseReadTimeout, :Query
|
398
408
|
|
399
|
-
def initialize(mcpserverurl=nil, headers=nil, timeout=nil, ssereadtimeout=nil)
|
409
|
+
def initialize(mcpserverurl=nil, headers=nil, timeout=nil, ssereadtimeout=nil, query=nil)
|
400
410
|
@McpServerUrl = mcpserverurl
|
401
411
|
@Headers = headers
|
402
412
|
@Timeout = timeout
|
403
413
|
@SseReadTimeout = ssereadtimeout
|
414
|
+
@Query = query
|
404
415
|
end
|
405
416
|
|
406
417
|
def deserialize(params)
|
@@ -415,6 +426,14 @@ module TencentCloud
|
|
415
426
|
end
|
416
427
|
@Timeout = params['Timeout']
|
417
428
|
@SseReadTimeout = params['SseReadTimeout']
|
429
|
+
unless params['Query'].nil?
|
430
|
+
@Query = []
|
431
|
+
params['Query'].each do |i|
|
432
|
+
agentpluginquery_tmp = AgentPluginQuery.new
|
433
|
+
agentpluginquery_tmp.deserialize(i)
|
434
|
+
@Query << agentpluginquery_tmp
|
435
|
+
end
|
436
|
+
end
|
418
437
|
end
|
419
438
|
end
|
420
439
|
|
@@ -438,10 +457,12 @@ module TencentCloud
|
|
438
457
|
# @type InstructionsWordsLimit: Integer
|
439
458
|
# @param MaxReasoningRound: 单次会话最大推理轮数
|
440
459
|
# @type MaxReasoningRound: Integer
|
460
|
+
# @param ModelParams: 模型参数
|
461
|
+
# @type ModelParams: :class:`Tencentcloud::Lke.v20231130.models.ModelParams`
|
441
462
|
|
442
|
-
attr_accessor :ModelName, :ModelAliasName, :Temperature, :TopP, :IsEnabled, :HistoryLimit, :ModelContextWordsLimit, :InstructionsWordsLimit, :MaxReasoningRound
|
463
|
+
attr_accessor :ModelName, :ModelAliasName, :Temperature, :TopP, :IsEnabled, :HistoryLimit, :ModelContextWordsLimit, :InstructionsWordsLimit, :MaxReasoningRound, :ModelParams
|
443
464
|
|
444
|
-
def initialize(modelname=nil, modelaliasname=nil, temperature=nil, topp=nil, isenabled=nil, historylimit=nil, modelcontextwordslimit=nil, instructionswordslimit=nil, maxreasoninground=nil)
|
465
|
+
def initialize(modelname=nil, modelaliasname=nil, temperature=nil, topp=nil, isenabled=nil, historylimit=nil, modelcontextwordslimit=nil, instructionswordslimit=nil, maxreasoninground=nil, modelparams=nil)
|
445
466
|
@ModelName = modelname
|
446
467
|
@ModelAliasName = modelaliasname
|
447
468
|
@Temperature = temperature
|
@@ -451,6 +472,7 @@ module TencentCloud
|
|
451
472
|
@ModelContextWordsLimit = modelcontextwordslimit
|
452
473
|
@InstructionsWordsLimit = instructionswordslimit
|
453
474
|
@MaxReasoningRound = maxreasoninground
|
475
|
+
@ModelParams = modelparams
|
454
476
|
end
|
455
477
|
|
456
478
|
def deserialize(params)
|
@@ -463,6 +485,10 @@ module TencentCloud
|
|
463
485
|
@ModelContextWordsLimit = params['ModelContextWordsLimit']
|
464
486
|
@InstructionsWordsLimit = params['InstructionsWordsLimit']
|
465
487
|
@MaxReasoningRound = params['MaxReasoningRound']
|
488
|
+
unless params['ModelParams'].nil?
|
489
|
+
@ModelParams = ModelParams.new
|
490
|
+
@ModelParams.deserialize(params['ModelParams'])
|
491
|
+
end
|
466
492
|
end
|
467
493
|
end
|
468
494
|
|
@@ -513,15 +539,24 @@ module TencentCloud
|
|
513
539
|
# @type PluginInfoType: Integer
|
514
540
|
# @param KnowledgeQa: 知识库问答插件配置
|
515
541
|
# @type KnowledgeQa: :class:`Tencentcloud::Lke.v20231130.models.AgentKnowledgeQAPlugin`
|
542
|
+
# @param EnableRoleAuth: 是否使用一键授权
|
543
|
+
# @type EnableRoleAuth: Boolean
|
544
|
+
# @param Query: 应用配置的插件query信息
|
545
|
+
# @type Query: Array
|
546
|
+
# @param McpType: MCP类型
|
547
|
+
# @type McpType: Integer
|
516
548
|
|
517
|
-
attr_accessor :PluginId, :Headers, :Model, :PluginInfoType, :KnowledgeQa
|
549
|
+
attr_accessor :PluginId, :Headers, :Model, :PluginInfoType, :KnowledgeQa, :EnableRoleAuth, :Query, :McpType
|
518
550
|
|
519
|
-
def initialize(pluginid=nil, headers=nil, model=nil, plugininfotype=nil, knowledgeqa=nil)
|
551
|
+
def initialize(pluginid=nil, headers=nil, model=nil, plugininfotype=nil, knowledgeqa=nil, enableroleauth=nil, query=nil, mcptype=nil)
|
520
552
|
@PluginId = pluginid
|
521
553
|
@Headers = headers
|
522
554
|
@Model = model
|
523
555
|
@PluginInfoType = plugininfotype
|
524
556
|
@KnowledgeQa = knowledgeqa
|
557
|
+
@EnableRoleAuth = enableroleauth
|
558
|
+
@Query = query
|
559
|
+
@McpType = mcptype
|
525
560
|
end
|
526
561
|
|
527
562
|
def deserialize(params)
|
@@ -543,6 +578,51 @@ module TencentCloud
|
|
543
578
|
@KnowledgeQa = AgentKnowledgeQAPlugin.new
|
544
579
|
@KnowledgeQa.deserialize(params['KnowledgeQa'])
|
545
580
|
end
|
581
|
+
@EnableRoleAuth = params['EnableRoleAuth']
|
582
|
+
unless params['Query'].nil?
|
583
|
+
@Query = []
|
584
|
+
params['Query'].each do |i|
|
585
|
+
agentpluginquery_tmp = AgentPluginQuery.new
|
586
|
+
agentpluginquery_tmp.deserialize(i)
|
587
|
+
@Query << agentpluginquery_tmp
|
588
|
+
end
|
589
|
+
end
|
590
|
+
@McpType = params['McpType']
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
# 应用配置MCP插件query信息
|
595
|
+
class AgentPluginQuery < TencentCloud::Common::AbstractModel
|
596
|
+
# @param ParamName: 参数名称
|
597
|
+
# @type ParamName: String
|
598
|
+
# @param ParamValue: 参数值
|
599
|
+
# @type ParamValue: String
|
600
|
+
# @param GlobalHidden: query参数配置是否隐藏不可见,true-隐藏不可见,false-可见
|
601
|
+
# @type GlobalHidden: Boolean
|
602
|
+
# @param IsRequired: 参数是否可以为空
|
603
|
+
# @type IsRequired: Boolean
|
604
|
+
# @param Input: 输入的值
|
605
|
+
# @type Input: :class:`Tencentcloud::Lke.v20231130.models.AgentInput`
|
606
|
+
|
607
|
+
attr_accessor :ParamName, :ParamValue, :GlobalHidden, :IsRequired, :Input
|
608
|
+
|
609
|
+
def initialize(paramname=nil, paramvalue=nil, globalhidden=nil, isrequired=nil, input=nil)
|
610
|
+
@ParamName = paramname
|
611
|
+
@ParamValue = paramvalue
|
612
|
+
@GlobalHidden = globalhidden
|
613
|
+
@IsRequired = isrequired
|
614
|
+
@Input = input
|
615
|
+
end
|
616
|
+
|
617
|
+
def deserialize(params)
|
618
|
+
@ParamName = params['ParamName']
|
619
|
+
@ParamValue = params['ParamValue']
|
620
|
+
@GlobalHidden = params['GlobalHidden']
|
621
|
+
@IsRequired = params['IsRequired']
|
622
|
+
unless params['Input'].nil?
|
623
|
+
@Input = AgentInput.new
|
624
|
+
@Input.deserialize(params['Input'])
|
625
|
+
end
|
546
626
|
end
|
547
627
|
end
|
548
628
|
|
@@ -639,7 +719,7 @@ module TencentCloud
|
|
639
719
|
# @param DisplayContent: 展示的具体文本内容
|
640
720
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
641
721
|
# @type DisplayContent: String
|
642
|
-
# @param DisplayType:
|
722
|
+
# @param DisplayType: 1:搜索引擎参考来源;2:知识库参考来源
|
643
723
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
644
724
|
# @type DisplayType: Integer
|
645
725
|
# @param QuoteInfos: 搜索引擎展示的索引
|
@@ -729,10 +809,16 @@ module TencentCloud
|
|
729
809
|
# @param Title: 标题
|
730
810
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
731
811
|
# @type Title: String
|
812
|
+
# @param KnowledgeName: 知识库名称
|
813
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
814
|
+
# @type KnowledgeName: String
|
815
|
+
# @param KnowledgeBizId: 知识库标识
|
816
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
817
|
+
# @type KnowledgeBizId: String
|
732
818
|
|
733
|
-
attr_accessor :DocId, :Id, :Name, :Type, :Url, :DocBizId, :DocName, :QaBizId, :Index, :Title
|
819
|
+
attr_accessor :DocId, :Id, :Name, :Type, :Url, :DocBizId, :DocName, :QaBizId, :Index, :Title, :KnowledgeName, :KnowledgeBizId
|
734
820
|
|
735
|
-
def initialize(docid=nil, id=nil, name=nil, type=nil, url=nil, docbizid=nil, docname=nil, qabizid=nil, index=nil, title=nil)
|
821
|
+
def initialize(docid=nil, id=nil, name=nil, type=nil, url=nil, docbizid=nil, docname=nil, qabizid=nil, index=nil, title=nil, knowledgename=nil, knowledgebizid=nil)
|
736
822
|
@DocId = docid
|
737
823
|
@Id = id
|
738
824
|
@Name = name
|
@@ -743,6 +829,8 @@ module TencentCloud
|
|
743
829
|
@QaBizId = qabizid
|
744
830
|
@Index = index
|
745
831
|
@Title = title
|
832
|
+
@KnowledgeName = knowledgename
|
833
|
+
@KnowledgeBizId = knowledgebizid
|
746
834
|
end
|
747
835
|
|
748
836
|
def deserialize(params)
|
@@ -756,6 +844,8 @@ module TencentCloud
|
|
756
844
|
@QaBizId = params['QaBizId']
|
757
845
|
@Index = params['Index']
|
758
846
|
@Title = params['Title']
|
847
|
+
@KnowledgeName = params['KnowledgeName']
|
848
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
759
849
|
end
|
760
850
|
end
|
761
851
|
|
@@ -865,10 +955,14 @@ module TencentCloud
|
|
865
955
|
# @param CallingMethod: NON_STREAMING: 非流式 STREAMIN: 流式
|
866
956
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
867
957
|
# @type CallingMethod: String
|
958
|
+
# @param Query: query信息
|
959
|
+
# @type Query: Array
|
960
|
+
# @param FinanceStatus: 工具计费状态 0-不计费 1-可用 2-不可用(欠费、无资源等)
|
961
|
+
# @type FinanceStatus: Integer
|
868
962
|
|
869
|
-
attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod
|
963
|
+
attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod, :Query, :FinanceStatus
|
870
964
|
|
871
|
-
def initialize(pluginid=nil, pluginname=nil, iconurl=nil, plugintype=nil, toolid=nil, toolname=nil, tooldesc=nil, inputs=nil, outputs=nil, createtype=nil, mcpserver=nil, isbindingknowledge=nil, status=nil, headers=nil, callingmethod=nil)
|
965
|
+
def initialize(pluginid=nil, pluginname=nil, iconurl=nil, plugintype=nil, toolid=nil, toolname=nil, tooldesc=nil, inputs=nil, outputs=nil, createtype=nil, mcpserver=nil, isbindingknowledge=nil, status=nil, headers=nil, callingmethod=nil, query=nil, financestatus=nil)
|
872
966
|
@PluginId = pluginid
|
873
967
|
@PluginName = pluginname
|
874
968
|
@IconUrl = iconurl
|
@@ -884,6 +978,8 @@ module TencentCloud
|
|
884
978
|
@Status = status
|
885
979
|
@Headers = headers
|
886
980
|
@CallingMethod = callingmethod
|
981
|
+
@Query = query
|
982
|
+
@FinanceStatus = financestatus
|
887
983
|
end
|
888
984
|
|
889
985
|
def deserialize(params)
|
@@ -926,6 +1022,15 @@ module TencentCloud
|
|
926
1022
|
end
|
927
1023
|
end
|
928
1024
|
@CallingMethod = params['CallingMethod']
|
1025
|
+
unless params['Query'].nil?
|
1026
|
+
@Query = []
|
1027
|
+
params['Query'].each do |i|
|
1028
|
+
agentpluginquery_tmp = AgentPluginQuery.new
|
1029
|
+
agentpluginquery_tmp.deserialize(i)
|
1030
|
+
@Query << agentpluginquery_tmp
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
@FinanceStatus = params['FinanceStatus']
|
929
1034
|
end
|
930
1035
|
end
|
931
1036
|
|
@@ -1179,10 +1284,12 @@ module TencentCloud
|
|
1179
1284
|
# @param ThoughtModelAliasName: 思考模型别名
|
1180
1285
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1181
1286
|
# @type ThoughtModelAliasName: String
|
1287
|
+
# @param PermissionIds: 权限位信息
|
1288
|
+
# @type PermissionIds: Array
|
1182
1289
|
|
1183
|
-
attr_accessor :AppType, :AppTypeDesc, :AppBizId, :Name, :Avatar, :Desc, :AppStatus, :AppStatusDesc, :UpdateTime, :Operator, :ModelName, :ModelAliasName, :Pattern, :ThoughtModelAliasName
|
1290
|
+
attr_accessor :AppType, :AppTypeDesc, :AppBizId, :Name, :Avatar, :Desc, :AppStatus, :AppStatusDesc, :UpdateTime, :Operator, :ModelName, :ModelAliasName, :Pattern, :ThoughtModelAliasName, :PermissionIds
|
1184
1291
|
|
1185
|
-
def initialize(apptype=nil, apptypedesc=nil, appbizid=nil, name=nil, avatar=nil, desc=nil, appstatus=nil, appstatusdesc=nil, updatetime=nil, operator=nil, modelname=nil, modelaliasname=nil, pattern=nil, thoughtmodelaliasname=nil)
|
1292
|
+
def initialize(apptype=nil, apptypedesc=nil, appbizid=nil, name=nil, avatar=nil, desc=nil, appstatus=nil, appstatusdesc=nil, updatetime=nil, operator=nil, modelname=nil, modelaliasname=nil, pattern=nil, thoughtmodelaliasname=nil, permissionids=nil)
|
1186
1293
|
@AppType = apptype
|
1187
1294
|
@AppTypeDesc = apptypedesc
|
1188
1295
|
@AppBizId = appbizid
|
@@ -1197,6 +1304,7 @@ module TencentCloud
|
|
1197
1304
|
@ModelAliasName = modelaliasname
|
1198
1305
|
@Pattern = pattern
|
1199
1306
|
@ThoughtModelAliasName = thoughtmodelaliasname
|
1307
|
+
@PermissionIds = permissionids
|
1200
1308
|
end
|
1201
1309
|
|
1202
1310
|
def deserialize(params)
|
@@ -1214,6 +1322,7 @@ module TencentCloud
|
|
1214
1322
|
@ModelAliasName = params['ModelAliasName']
|
1215
1323
|
@Pattern = params['Pattern']
|
1216
1324
|
@ThoughtModelAliasName = params['ThoughtModelAliasName']
|
1325
|
+
@PermissionIds = params['PermissionIds']
|
1217
1326
|
end
|
1218
1327
|
end
|
1219
1328
|
|
@@ -1252,10 +1361,13 @@ module TencentCloud
|
|
1252
1361
|
# @param ResourceStatus: 模型资源状态 1:资源可用;2:资源已用尽
|
1253
1362
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1254
1363
|
# @type ResourceStatus: Integer
|
1364
|
+
# @param ModelParams: 模型参数
|
1365
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1366
|
+
# @type ModelParams: :class:`Tencentcloud::Lke.v20231130.models.ModelParams`
|
1255
1367
|
|
1256
|
-
attr_accessor :Name, :Desc, :ContextLimit, :AliasName, :TokenBalance, :IsUseContext, :HistoryLimit, :UsageType, :Temperature, :TopP, :ResourceStatus
|
1368
|
+
attr_accessor :Name, :Desc, :ContextLimit, :AliasName, :TokenBalance, :IsUseContext, :HistoryLimit, :UsageType, :Temperature, :TopP, :ResourceStatus, :ModelParams
|
1257
1369
|
|
1258
|
-
def initialize(name=nil, desc=nil, contextlimit=nil, aliasname=nil, tokenbalance=nil, isusecontext=nil, historylimit=nil, usagetype=nil, temperature=nil, topp=nil, resourcestatus=nil)
|
1370
|
+
def initialize(name=nil, desc=nil, contextlimit=nil, aliasname=nil, tokenbalance=nil, isusecontext=nil, historylimit=nil, usagetype=nil, temperature=nil, topp=nil, resourcestatus=nil, modelparams=nil)
|
1259
1371
|
@Name = name
|
1260
1372
|
@Desc = desc
|
1261
1373
|
@ContextLimit = contextlimit
|
@@ -1267,6 +1379,7 @@ module TencentCloud
|
|
1267
1379
|
@Temperature = temperature
|
1268
1380
|
@TopP = topp
|
1269
1381
|
@ResourceStatus = resourcestatus
|
1382
|
+
@ModelParams = modelparams
|
1270
1383
|
end
|
1271
1384
|
|
1272
1385
|
def deserialize(params)
|
@@ -1281,6 +1394,10 @@ module TencentCloud
|
|
1281
1394
|
@Temperature = params['Temperature']
|
1282
1395
|
@TopP = params['TopP']
|
1283
1396
|
@ResourceStatus = params['ResourceStatus']
|
1397
|
+
unless params['ModelParams'].nil?
|
1398
|
+
@ModelParams = ModelParams.new
|
1399
|
+
@ModelParams.deserialize(params['ModelParams'])
|
1400
|
+
end
|
1284
1401
|
end
|
1285
1402
|
end
|
1286
1403
|
|
@@ -1955,13 +2072,16 @@ module TencentCloud
|
|
1955
2072
|
# @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
|
1956
2073
|
# @param Pattern: 应用模式 standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
1957
2074
|
# @type Pattern: String
|
2075
|
+
# @param AgentType: 智能体类型 dialogue 对话式智能体,wechat 公众号智能体
|
2076
|
+
# @type AgentType: String
|
1958
2077
|
|
1959
|
-
attr_accessor :AppType, :BaseConfig, :Pattern
|
2078
|
+
attr_accessor :AppType, :BaseConfig, :Pattern, :AgentType
|
1960
2079
|
|
1961
|
-
def initialize(apptype=nil, baseconfig=nil, pattern=nil)
|
2080
|
+
def initialize(apptype=nil, baseconfig=nil, pattern=nil, agenttype=nil)
|
1962
2081
|
@AppType = apptype
|
1963
2082
|
@BaseConfig = baseconfig
|
1964
2083
|
@Pattern = pattern
|
2084
|
+
@AgentType = agenttype
|
1965
2085
|
end
|
1966
2086
|
|
1967
2087
|
def deserialize(params)
|
@@ -1971,6 +2091,7 @@ module TencentCloud
|
|
1971
2091
|
@BaseConfig.deserialize(params['BaseConfig'])
|
1972
2092
|
end
|
1973
2093
|
@Pattern = params['Pattern']
|
2094
|
+
@AgentType = params['AgentType']
|
1974
2095
|
end
|
1975
2096
|
end
|
1976
2097
|
|
@@ -2047,18 +2168,29 @@ module TencentCloud
|
|
2047
2168
|
class CreateAttributeLabelResponse < TencentCloud::Common::AbstractModel
|
2048
2169
|
# @param AttrBizId: 标签ID
|
2049
2170
|
# @type AttrBizId: String
|
2171
|
+
# @param Labels: 标签值ID与名称
|
2172
|
+
# @type Labels: Array
|
2050
2173
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2051
2174
|
# @type RequestId: String
|
2052
2175
|
|
2053
|
-
attr_accessor :AttrBizId, :RequestId
|
2176
|
+
attr_accessor :AttrBizId, :Labels, :RequestId
|
2054
2177
|
|
2055
|
-
def initialize(attrbizid=nil, requestid=nil)
|
2178
|
+
def initialize(attrbizid=nil, labels=nil, requestid=nil)
|
2056
2179
|
@AttrBizId = attrbizid
|
2180
|
+
@Labels = labels
|
2057
2181
|
@RequestId = requestid
|
2058
2182
|
end
|
2059
2183
|
|
2060
2184
|
def deserialize(params)
|
2061
2185
|
@AttrBizId = params['AttrBizId']
|
2186
|
+
unless params['Labels'].nil?
|
2187
|
+
@Labels = []
|
2188
|
+
params['Labels'].each do |i|
|
2189
|
+
attributelabel_tmp = AttributeLabel.new
|
2190
|
+
attributelabel_tmp.deserialize(i)
|
2191
|
+
@Labels << attributelabel_tmp
|
2192
|
+
end
|
2193
|
+
end
|
2062
2194
|
@RequestId = params['RequestId']
|
2063
2195
|
end
|
2064
2196
|
end
|
@@ -2360,19 +2492,26 @@ module TencentCloud
|
|
2360
2492
|
# @type KnowledgeDescription: String
|
2361
2493
|
# @param EmbeddingModel: Embedding模型,字符数量上限128
|
2362
2494
|
# @type EmbeddingModel: String
|
2495
|
+
# @param KnowledgeType: 共享知识库类型,0普通,1公众号
|
2496
|
+
# @type KnowledgeType: Integer
|
2363
2497
|
|
2364
|
-
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel
|
2498
|
+
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :KnowledgeType
|
2499
|
+
extend Gem::Deprecate
|
2500
|
+
deprecate :EmbeddingModel, :none, 2025, 8
|
2501
|
+
deprecate :EmbeddingModel=, :none, 2025, 8
|
2365
2502
|
|
2366
|
-
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil)
|
2503
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, knowledgetype=nil)
|
2367
2504
|
@KnowledgeName = knowledgename
|
2368
2505
|
@KnowledgeDescription = knowledgedescription
|
2369
2506
|
@EmbeddingModel = embeddingmodel
|
2507
|
+
@KnowledgeType = knowledgetype
|
2370
2508
|
end
|
2371
2509
|
|
2372
2510
|
def deserialize(params)
|
2373
2511
|
@KnowledgeName = params['KnowledgeName']
|
2374
2512
|
@KnowledgeDescription = params['KnowledgeDescription']
|
2375
2513
|
@EmbeddingModel = params['EmbeddingModel']
|
2514
|
+
@KnowledgeType = params['KnowledgeType']
|
2376
2515
|
end
|
2377
2516
|
end
|
2378
2517
|
|
@@ -2410,16 +2549,19 @@ module TencentCloud
|
|
2410
2549
|
# @type VarDefaultValue: String
|
2411
2550
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
2412
2551
|
# @type VarDefaultFileName: String
|
2552
|
+
# @param VarModuleType: 参数类型
|
2553
|
+
# @type VarModuleType: Integer
|
2413
2554
|
|
2414
|
-
attr_accessor :AppBizId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
2555
|
+
attr_accessor :AppBizId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
2415
2556
|
|
2416
|
-
def initialize(appbizid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
|
2557
|
+
def initialize(appbizid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil, varmoduletype=nil)
|
2417
2558
|
@AppBizId = appbizid
|
2418
2559
|
@VarName = varname
|
2419
2560
|
@VarDesc = vardesc
|
2420
2561
|
@VarType = vartype
|
2421
2562
|
@VarDefaultValue = vardefaultvalue
|
2422
2563
|
@VarDefaultFileName = vardefaultfilename
|
2564
|
+
@VarModuleType = varmoduletype
|
2423
2565
|
end
|
2424
2566
|
|
2425
2567
|
def deserialize(params)
|
@@ -2429,6 +2571,7 @@ module TencentCloud
|
|
2429
2571
|
@VarType = params['VarType']
|
2430
2572
|
@VarDefaultValue = params['VarDefaultValue']
|
2431
2573
|
@VarDefaultFileName = params['VarDefaultFileName']
|
2574
|
+
@VarModuleType = params['VarModuleType']
|
2432
2575
|
end
|
2433
2576
|
end
|
2434
2577
|
|
@@ -2930,17 +3073,21 @@ module TencentCloud
|
|
2930
3073
|
# @type AppBizId: String
|
2931
3074
|
# @param VarId: 变量ID
|
2932
3075
|
# @type VarId: String
|
3076
|
+
# @param VarModuleType: 参数类型
|
3077
|
+
# @type VarModuleType: Integer
|
2933
3078
|
|
2934
|
-
attr_accessor :AppBizId, :VarId
|
3079
|
+
attr_accessor :AppBizId, :VarId, :VarModuleType
|
2935
3080
|
|
2936
|
-
def initialize(appbizid=nil, varid=nil)
|
3081
|
+
def initialize(appbizid=nil, varid=nil, varmoduletype=nil)
|
2937
3082
|
@AppBizId = appbizid
|
2938
3083
|
@VarId = varid
|
3084
|
+
@VarModuleType = varmoduletype
|
2939
3085
|
end
|
2940
3086
|
|
2941
3087
|
def deserialize(params)
|
2942
3088
|
@AppBizId = params['AppBizId']
|
2943
3089
|
@VarId = params['VarId']
|
3090
|
+
@VarModuleType = params['VarModuleType']
|
2944
3091
|
end
|
2945
3092
|
end
|
2946
3093
|
|
@@ -3222,10 +3369,12 @@ module TencentCloud
|
|
3222
3369
|
# @type SubScenes: Array
|
3223
3370
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
3224
3371
|
# @type AppType: String
|
3372
|
+
# @param SpaceId: 空间id
|
3373
|
+
# @type SpaceId: String
|
3225
3374
|
|
3226
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType
|
3375
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType, :SpaceId
|
3227
3376
|
|
3228
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil)
|
3377
|
+
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil, spaceid=nil)
|
3229
3378
|
@UinAccount = uinaccount
|
3230
3379
|
@LoginUin = loginuin
|
3231
3380
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -3236,6 +3385,7 @@ module TencentCloud
|
|
3236
3385
|
@AppBizIds = appbizids
|
3237
3386
|
@SubScenes = subscenes
|
3238
3387
|
@AppType = apptype
|
3388
|
+
@SpaceId = spaceid
|
3239
3389
|
end
|
3240
3390
|
|
3241
3391
|
def deserialize(params)
|
@@ -3249,6 +3399,7 @@ module TencentCloud
|
|
3249
3399
|
@AppBizIds = params['AppBizIds']
|
3250
3400
|
@SubScenes = params['SubScenes']
|
3251
3401
|
@AppType = params['AppType']
|
3402
|
+
@SpaceId = params['SpaceId']
|
3252
3403
|
end
|
3253
3404
|
end
|
3254
3405
|
|
@@ -3298,10 +3449,12 @@ module TencentCloud
|
|
3298
3449
|
# @type SubBizType: String
|
3299
3450
|
# @param AppBizIds: 应用id列表
|
3300
3451
|
# @type AppBizIds: Array
|
3452
|
+
# @param SpaceId: 空间id
|
3453
|
+
# @type SpaceId: String
|
3301
3454
|
|
3302
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :AppBizIds
|
3455
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :AppBizIds, :SpaceId
|
3303
3456
|
|
3304
|
-
def initialize(modelname=nil, starttime=nil, endtime=nil, uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, appbizids=nil)
|
3457
|
+
def initialize(modelname=nil, starttime=nil, endtime=nil, uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, appbizids=nil, spaceid=nil)
|
3305
3458
|
@ModelName = modelname
|
3306
3459
|
@StartTime = starttime
|
3307
3460
|
@EndTime = endtime
|
@@ -3310,6 +3463,7 @@ module TencentCloud
|
|
3310
3463
|
@LoginSubAccountUin = loginsubaccountuin
|
3311
3464
|
@SubBizType = subbiztype
|
3312
3465
|
@AppBizIds = appbizids
|
3466
|
+
@SpaceId = spaceid
|
3313
3467
|
end
|
3314
3468
|
|
3315
3469
|
def deserialize(params)
|
@@ -3321,6 +3475,7 @@ module TencentCloud
|
|
3321
3475
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
3322
3476
|
@SubBizType = params['SubBizType']
|
3323
3477
|
@AppBizIds = params['AppBizIds']
|
3478
|
+
@SpaceId = params['SpaceId']
|
3324
3479
|
end
|
3325
3480
|
end
|
3326
3481
|
|
@@ -3362,14 +3517,17 @@ module TencentCloud
|
|
3362
3517
|
# @type EndTime: String
|
3363
3518
|
# @param AppBizIds: 应用id列表
|
3364
3519
|
# @type AppBizIds: Array
|
3520
|
+
# @param SpaceId: 空间id
|
3521
|
+
# @type SpaceId: String
|
3365
3522
|
|
3366
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :AppBizIds
|
3523
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :AppBizIds, :SpaceId
|
3367
3524
|
|
3368
|
-
def initialize(modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
3525
|
+
def initialize(modelname=nil, starttime=nil, endtime=nil, appbizids=nil, spaceid=nil)
|
3369
3526
|
@ModelName = modelname
|
3370
3527
|
@StartTime = starttime
|
3371
3528
|
@EndTime = endtime
|
3372
3529
|
@AppBizIds = appbizids
|
3530
|
+
@SpaceId = spaceid
|
3373
3531
|
end
|
3374
3532
|
|
3375
3533
|
def deserialize(params)
|
@@ -3377,6 +3535,7 @@ module TencentCloud
|
|
3377
3535
|
@StartTime = params['StartTime']
|
3378
3536
|
@EndTime = params['EndTime']
|
3379
3537
|
@AppBizIds = params['AppBizIds']
|
3538
|
+
@SpaceId = params['SpaceId']
|
3380
3539
|
end
|
3381
3540
|
end
|
3382
3541
|
|
@@ -3483,12 +3642,18 @@ module TencentCloud
|
|
3483
3642
|
# @param IsDownload: 是否支持下载
|
3484
3643
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3485
3644
|
# @type IsDownload: Boolean
|
3645
|
+
# @param SplitRule: 自定义切分规则
|
3646
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3647
|
+
# @type SplitRule: String
|
3648
|
+
# @param UpdatePeriodInfo: 文档更新频率
|
3649
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3650
|
+
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
3486
3651
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3487
3652
|
# @type RequestId: String
|
3488
3653
|
|
3489
|
-
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, :IsDownload, :RequestId
|
3654
|
+
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, :IsDownload, :SplitRule, :UpdatePeriodInfo, :RequestId
|
3490
3655
|
|
3491
|
-
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, isdownload=nil, requestid=nil)
|
3656
|
+
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, isdownload=nil, splitrule=nil, updateperiodinfo=nil, requestid=nil)
|
3492
3657
|
@DocBizId = docbizid
|
3493
3658
|
@FileName = filename
|
3494
3659
|
@FileType = filetype
|
@@ -3515,6 +3680,8 @@ module TencentCloud
|
|
3515
3680
|
@CateBizId = catebizid
|
3516
3681
|
@IsDisabled = isdisabled
|
3517
3682
|
@IsDownload = isdownload
|
3683
|
+
@SplitRule = splitrule
|
3684
|
+
@UpdatePeriodInfo = updateperiodinfo
|
3518
3685
|
@RequestId = requestid
|
3519
3686
|
end
|
3520
3687
|
|
@@ -3552,6 +3719,11 @@ module TencentCloud
|
|
3552
3719
|
@CateBizId = params['CateBizId']
|
3553
3720
|
@IsDisabled = params['IsDisabled']
|
3554
3721
|
@IsDownload = params['IsDownload']
|
3722
|
+
@SplitRule = params['SplitRule']
|
3723
|
+
unless params['UpdatePeriodInfo'].nil?
|
3724
|
+
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
3725
|
+
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
3726
|
+
end
|
3555
3727
|
@RequestId = params['RequestId']
|
3556
3728
|
end
|
3557
3729
|
end
|
@@ -3560,15 +3732,19 @@ module TencentCloud
|
|
3560
3732
|
class DescribeKnowledgeUsagePieGraphRequest < TencentCloud::Common::AbstractModel
|
3561
3733
|
# @param AppBizIds: 应用ID数组
|
3562
3734
|
# @type AppBizIds: Array
|
3735
|
+
# @param SpaceId: 空间列表
|
3736
|
+
# @type SpaceId: String
|
3563
3737
|
|
3564
|
-
attr_accessor :AppBizIds
|
3738
|
+
attr_accessor :AppBizIds, :SpaceId
|
3565
3739
|
|
3566
|
-
def initialize(appbizids=nil)
|
3740
|
+
def initialize(appbizids=nil, spaceid=nil)
|
3567
3741
|
@AppBizIds = appbizids
|
3742
|
+
@SpaceId = spaceid
|
3568
3743
|
end
|
3569
3744
|
|
3570
3745
|
def deserialize(params)
|
3571
3746
|
@AppBizIds = params['AppBizIds']
|
3747
|
+
@SpaceId = params['SpaceId']
|
3572
3748
|
end
|
3573
3749
|
end
|
3574
3750
|
|
@@ -4067,10 +4243,12 @@ module TencentCloud
|
|
4067
4243
|
# @type EndTime: String
|
4068
4244
|
# @param AppBizIds: 应用id列表
|
4069
4245
|
# @type AppBizIds: Array
|
4246
|
+
# @param SpaceId: 空间id
|
4247
|
+
# @type SpaceId: String
|
4070
4248
|
|
4071
|
-
attr_accessor :LoginUin, :LoginSubAccountUin, :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
|
4249
|
+
attr_accessor :LoginUin, :LoginSubAccountUin, :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SpaceId
|
4072
4250
|
|
4073
|
-
def initialize(loginuin=nil, loginsubaccountuin=nil, uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
4251
|
+
def initialize(loginuin=nil, loginsubaccountuin=nil, uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, spaceid=nil)
|
4074
4252
|
@LoginUin = loginuin
|
4075
4253
|
@LoginSubAccountUin = loginsubaccountuin
|
4076
4254
|
@UinAccount = uinaccount
|
@@ -4079,6 +4257,7 @@ module TencentCloud
|
|
4079
4257
|
@StartTime = starttime
|
4080
4258
|
@EndTime = endtime
|
4081
4259
|
@AppBizIds = appbizids
|
4260
|
+
@SpaceId = spaceid
|
4082
4261
|
end
|
4083
4262
|
|
4084
4263
|
def deserialize(params)
|
@@ -4090,6 +4269,7 @@ module TencentCloud
|
|
4090
4269
|
@StartTime = params['StartTime']
|
4091
4270
|
@EndTime = params['EndTime']
|
4092
4271
|
@AppBizIds = params['AppBizIds']
|
4272
|
+
@SpaceId = params['SpaceId']
|
4093
4273
|
end
|
4094
4274
|
end
|
4095
4275
|
|
@@ -4187,7 +4367,7 @@ module TencentCloud
|
|
4187
4367
|
|
4188
4368
|
# DescribeSharedKnowledge返回参数结构体
|
4189
4369
|
class DescribeSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
4190
|
-
# @param Info:
|
4370
|
+
# @param Info: 知识库详情列表
|
4191
4371
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4192
4372
|
# @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeDetailInfo`
|
4193
4373
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -4312,10 +4492,12 @@ module TencentCloud
|
|
4312
4492
|
# @type AppBizIds: Array
|
4313
4493
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
4314
4494
|
# @type AppType: String
|
4495
|
+
# @param SubScenes: 筛选子场景
|
4496
|
+
# @type SubScenes: Array
|
4315
4497
|
|
4316
|
-
attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType
|
4498
|
+
attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType, :SubScenes
|
4317
4499
|
|
4318
|
-
def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, apptype=nil)
|
4500
|
+
def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, apptype=nil, subscenes=nil)
|
4319
4501
|
@UinAccount = uinaccount
|
4320
4502
|
@SubBizType = subbiztype
|
4321
4503
|
@ModelName = modelname
|
@@ -4323,6 +4505,7 @@ module TencentCloud
|
|
4323
4505
|
@EndTime = endtime
|
4324
4506
|
@AppBizIds = appbizids
|
4325
4507
|
@AppType = apptype
|
4508
|
+
@SubScenes = subscenes
|
4326
4509
|
end
|
4327
4510
|
|
4328
4511
|
def deserialize(params)
|
@@ -4333,6 +4516,7 @@ module TencentCloud
|
|
4333
4516
|
@EndTime = params['EndTime']
|
4334
4517
|
@AppBizIds = params['AppBizIds']
|
4335
4518
|
@AppType = params['AppType']
|
4519
|
+
@SubScenes = params['SubScenes']
|
4336
4520
|
end
|
4337
4521
|
end
|
4338
4522
|
|
@@ -4407,10 +4591,12 @@ module TencentCloud
|
|
4407
4591
|
# @type SubScenes: Array
|
4408
4592
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
4409
4593
|
# @type AppType: String
|
4594
|
+
# @param SpaceId: 空间id
|
4595
|
+
# @type SpaceId: String
|
4410
4596
|
|
4411
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType
|
4597
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType, :SpaceId
|
4412
4598
|
|
4413
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil)
|
4599
|
+
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil, spaceid=nil)
|
4414
4600
|
@UinAccount = uinaccount
|
4415
4601
|
@LoginUin = loginuin
|
4416
4602
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -4421,6 +4607,7 @@ module TencentCloud
|
|
4421
4607
|
@AppBizIds = appbizids
|
4422
4608
|
@SubScenes = subscenes
|
4423
4609
|
@AppType = apptype
|
4610
|
+
@SpaceId = spaceid
|
4424
4611
|
end
|
4425
4612
|
|
4426
4613
|
def deserialize(params)
|
@@ -4434,6 +4621,7 @@ module TencentCloud
|
|
4434
4621
|
@AppBizIds = params['AppBizIds']
|
4435
4622
|
@SubScenes = params['SubScenes']
|
4436
4623
|
@AppType = params['AppType']
|
4624
|
+
@SpaceId = params['SpaceId']
|
4437
4625
|
end
|
4438
4626
|
end
|
4439
4627
|
|
@@ -5505,10 +5693,12 @@ module TencentCloud
|
|
5505
5693
|
# @type VarType: String
|
5506
5694
|
# @param NeedInternalVar: 是否需要内部变量(默认false)
|
5507
5695
|
# @type NeedInternalVar: Boolean
|
5696
|
+
# @param VarModuleType: 变量类型
|
5697
|
+
# @type VarModuleType: Integer
|
5508
5698
|
|
5509
|
-
attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType, :NeedInternalVar
|
5699
|
+
attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType, :NeedInternalVar, :VarModuleType
|
5510
5700
|
|
5511
|
-
def initialize(appbizid=nil, varids=nil, keyword=nil, offset=nil, limit=nil, vartype=nil, needinternalvar=nil)
|
5701
|
+
def initialize(appbizid=nil, varids=nil, keyword=nil, offset=nil, limit=nil, vartype=nil, needinternalvar=nil, varmoduletype=nil)
|
5512
5702
|
@AppBizId = appbizid
|
5513
5703
|
@VarIds = varids
|
5514
5704
|
@Keyword = keyword
|
@@ -5516,6 +5706,7 @@ module TencentCloud
|
|
5516
5706
|
@Limit = limit
|
5517
5707
|
@VarType = vartype
|
5518
5708
|
@NeedInternalVar = needinternalvar
|
5709
|
+
@VarModuleType = varmoduletype
|
5519
5710
|
end
|
5520
5711
|
|
5521
5712
|
def deserialize(params)
|
@@ -5526,6 +5717,7 @@ module TencentCloud
|
|
5526
5717
|
@Limit = params['Limit']
|
5527
5718
|
@VarType = params['VarType']
|
5528
5719
|
@NeedInternalVar = params['NeedInternalVar']
|
5720
|
+
@VarModuleType = params['VarModuleType']
|
5529
5721
|
end
|
5530
5722
|
end
|
5531
5723
|
|
@@ -5965,6 +6157,28 @@ module TencentCloud
|
|
5965
6157
|
end
|
5966
6158
|
end
|
5967
6159
|
|
6160
|
+
# 知识库高级设置
|
6161
|
+
class KnowledgeAdvancedConfig < TencentCloud::Common::AbstractModel
|
6162
|
+
# @param RerankModel: 重排序模型
|
6163
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6164
|
+
# @type RerankModel: String
|
6165
|
+
# @param RerankRecallNum: 召回数量
|
6166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6167
|
+
# @type RerankRecallNum: Integer
|
6168
|
+
|
6169
|
+
attr_accessor :RerankModel, :RerankRecallNum
|
6170
|
+
|
6171
|
+
def initialize(rerankmodel=nil, rerankrecallnum=nil)
|
6172
|
+
@RerankModel = rerankmodel
|
6173
|
+
@RerankRecallNum = rerankrecallnum
|
6174
|
+
end
|
6175
|
+
|
6176
|
+
def deserialize(params)
|
6177
|
+
@RerankModel = params['RerankModel']
|
6178
|
+
@RerankRecallNum = params['RerankRecallNum']
|
6179
|
+
end
|
6180
|
+
end
|
6181
|
+
|
5968
6182
|
# 共享知识库基础信息
|
5969
6183
|
class KnowledgeBaseInfo < TencentCloud::Common::AbstractModel
|
5970
6184
|
# @param KnowledgeBizId: 共享知识库业务ID
|
@@ -5983,16 +6197,30 @@ module TencentCloud
|
|
5983
6197
|
# @param UpdateTime: 更新时间
|
5984
6198
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5985
6199
|
# @type UpdateTime: String
|
6200
|
+
# @param KnowledgeType: 共享知识库类型,0普通,1公众号
|
6201
|
+
# @type KnowledgeType: Integer
|
6202
|
+
# @param OwnerStaffId: 拥有者id
|
6203
|
+
# @type OwnerStaffId: String
|
6204
|
+
# @param DocTotal: 知识库文档数量,当前仅支持公众号知识库
|
6205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6206
|
+
# @type DocTotal: Integer
|
6207
|
+
# @param ProcessingFlags: 知识库处理中状态标记,1:向量embedding变更中
|
6208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6209
|
+
# @type ProcessingFlags: Array
|
5986
6210
|
|
5987
|
-
attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime
|
6211
|
+
attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime, :KnowledgeType, :OwnerStaffId, :DocTotal, :ProcessingFlags
|
5988
6212
|
|
5989
|
-
def initialize(knowledgebizid=nil, knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, updatetime=nil)
|
6213
|
+
def initialize(knowledgebizid=nil, knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, updatetime=nil, knowledgetype=nil, ownerstaffid=nil, doctotal=nil, processingflags=nil)
|
5990
6214
|
@KnowledgeBizId = knowledgebizid
|
5991
6215
|
@KnowledgeName = knowledgename
|
5992
6216
|
@KnowledgeDescription = knowledgedescription
|
5993
6217
|
@EmbeddingModel = embeddingmodel
|
5994
6218
|
@QaExtractModel = qaextractmodel
|
5995
6219
|
@UpdateTime = updatetime
|
6220
|
+
@KnowledgeType = knowledgetype
|
6221
|
+
@OwnerStaffId = ownerstaffid
|
6222
|
+
@DocTotal = doctotal
|
6223
|
+
@ProcessingFlags = processingflags
|
5996
6224
|
end
|
5997
6225
|
|
5998
6226
|
def deserialize(params)
|
@@ -6002,6 +6230,10 @@ module TencentCloud
|
|
6002
6230
|
@EmbeddingModel = params['EmbeddingModel']
|
6003
6231
|
@QaExtractModel = params['QaExtractModel']
|
6004
6232
|
@UpdateTime = params['UpdateTime']
|
6233
|
+
@KnowledgeType = params['KnowledgeType']
|
6234
|
+
@OwnerStaffId = params['OwnerStaffId']
|
6235
|
+
@DocTotal = params['DocTotal']
|
6236
|
+
@ProcessingFlags = params['ProcessingFlags']
|
6005
6237
|
end
|
6006
6238
|
end
|
6007
6239
|
|
@@ -6088,13 +6320,16 @@ module TencentCloud
|
|
6088
6320
|
# @param User: 用户信息
|
6089
6321
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6090
6322
|
# @type User: :class:`Tencentcloud::Lke.v20231130.models.UserBaseInfo`
|
6323
|
+
# @param PermissionIds: 权限位信息
|
6324
|
+
# @type PermissionIds: Array
|
6091
6325
|
|
6092
|
-
attr_accessor :Knowledge, :AppList, :User
|
6326
|
+
attr_accessor :Knowledge, :AppList, :User, :PermissionIds
|
6093
6327
|
|
6094
|
-
def initialize(knowledge=nil, applist=nil, user=nil)
|
6328
|
+
def initialize(knowledge=nil, applist=nil, user=nil, permissionids=nil)
|
6095
6329
|
@Knowledge = knowledge
|
6096
6330
|
@AppList = applist
|
6097
6331
|
@User = user
|
6332
|
+
@PermissionIds = permissionids
|
6098
6333
|
end
|
6099
6334
|
|
6100
6335
|
def deserialize(params)
|
@@ -6114,6 +6349,59 @@ module TencentCloud
|
|
6114
6349
|
@User = UserBaseInfo.new
|
6115
6350
|
@User.deserialize(params['User'])
|
6116
6351
|
end
|
6352
|
+
@PermissionIds = params['PermissionIds']
|
6353
|
+
end
|
6354
|
+
end
|
6355
|
+
|
6356
|
+
# 知识库模型设置
|
6357
|
+
class KnowledgeModelConfig < TencentCloud::Common::AbstractModel
|
6358
|
+
# @param EmbeddingModel: 向量模型,该字段只有共享知识库有,应用知识库没有
|
6359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6360
|
+
# @type EmbeddingModel: String
|
6361
|
+
# @param QaExtractModel: 问答对生成模型
|
6362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6363
|
+
# @type QaExtractModel: String
|
6364
|
+
# @param SchemaModel: schema生成模型
|
6365
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6366
|
+
# @type SchemaModel: String
|
6367
|
+
|
6368
|
+
attr_accessor :EmbeddingModel, :QaExtractModel, :SchemaModel
|
6369
|
+
|
6370
|
+
def initialize(embeddingmodel=nil, qaextractmodel=nil, schemamodel=nil)
|
6371
|
+
@EmbeddingModel = embeddingmodel
|
6372
|
+
@QaExtractModel = qaextractmodel
|
6373
|
+
@SchemaModel = schemamodel
|
6374
|
+
end
|
6375
|
+
|
6376
|
+
def deserialize(params)
|
6377
|
+
@EmbeddingModel = params['EmbeddingModel']
|
6378
|
+
@QaExtractModel = params['QaExtractModel']
|
6379
|
+
@SchemaModel = params['SchemaModel']
|
6380
|
+
end
|
6381
|
+
end
|
6382
|
+
|
6383
|
+
# 应用配置关联的agent信息
|
6384
|
+
class KnowledgeQaAgent < TencentCloud::Common::AbstractModel
|
6385
|
+
# @param AgentCollaboration: 协同方式,1:自由转交,2:工作流编排,3:Plan-and-Execute
|
6386
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6387
|
+
# @type AgentCollaboration: Integer
|
6388
|
+
# @param Workflow: 应用配置agent关联的工作流
|
6389
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6390
|
+
# @type Workflow: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeQaWorkflowInfo`
|
6391
|
+
|
6392
|
+
attr_accessor :AgentCollaboration, :Workflow
|
6393
|
+
|
6394
|
+
def initialize(agentcollaboration=nil, workflow=nil)
|
6395
|
+
@AgentCollaboration = agentcollaboration
|
6396
|
+
@Workflow = workflow
|
6397
|
+
end
|
6398
|
+
|
6399
|
+
def deserialize(params)
|
6400
|
+
@AgentCollaboration = params['AgentCollaboration']
|
6401
|
+
unless params['Workflow'].nil?
|
6402
|
+
@Workflow = KnowledgeQaWorkflowInfo.new
|
6403
|
+
@Workflow.deserialize(params['Workflow'])
|
6404
|
+
end
|
6117
6405
|
end
|
6118
6406
|
end
|
6119
6407
|
|
@@ -6177,6 +6465,7 @@ module TencentCloud
|
|
6177
6465
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6178
6466
|
# @type AiCall: :class:`Tencentcloud::Lke.v20231130.models.AICallConfig`
|
6179
6467
|
# @param ShareKnowledgeBases: 共享知识库关联配置
|
6468
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6180
6469
|
# @type ShareKnowledgeBases: Array
|
6181
6470
|
# @param BackgroundImage: 背景图相关信息
|
6182
6471
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -6184,10 +6473,23 @@ module TencentCloud
|
|
6184
6473
|
# @param OpeningQuestions: 开场问题
|
6185
6474
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6186
6475
|
# @type OpeningQuestions: Array
|
6476
|
+
# @param LongMemoryOpen: 长期记忆开关
|
6477
|
+
# @type LongMemoryOpen: Boolean
|
6478
|
+
# @param LongMemoryDay: 长期记忆时效
|
6479
|
+
# @type LongMemoryDay: Integer
|
6480
|
+
# @param Agent: agent配置信息
|
6481
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6482
|
+
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeQaAgent`
|
6483
|
+
# @param KnowledgeModelConfig: 知识库模型
|
6484
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6485
|
+
# @type KnowledgeModelConfig: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeModelConfig`
|
6486
|
+
# @param KnowledgeAdvancedConfig: 知识库高级设置
|
6487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6488
|
+
# @type KnowledgeAdvancedConfig: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeAdvancedConfig`
|
6187
6489
|
|
6188
|
-
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval, :AiCall, :ShareKnowledgeBases, :BackgroundImage, :OpeningQuestions
|
6490
|
+
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval, :AiCall, :ShareKnowledgeBases, :BackgroundImage, :OpeningQuestions, :LongMemoryOpen, :LongMemoryDay, :Agent, :KnowledgeModelConfig, :KnowledgeAdvancedConfig
|
6189
6491
|
|
6190
|
-
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, backgroundimage=nil, openingquestions=nil)
|
6492
|
+
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, backgroundimage=nil, openingquestions=nil, longmemoryopen=nil, longmemoryday=nil, agent=nil, knowledgemodelconfig=nil, knowledgeadvancedconfig=nil)
|
6191
6493
|
@Greeting = greeting
|
6192
6494
|
@RoleDescription = roledescription
|
6193
6495
|
@Model = model
|
@@ -6206,6 +6508,11 @@ module TencentCloud
|
|
6206
6508
|
@ShareKnowledgeBases = shareknowledgebases
|
6207
6509
|
@BackgroundImage = backgroundimage
|
6208
6510
|
@OpeningQuestions = openingquestions
|
6511
|
+
@LongMemoryOpen = longmemoryopen
|
6512
|
+
@LongMemoryDay = longmemoryday
|
6513
|
+
@Agent = agent
|
6514
|
+
@KnowledgeModelConfig = knowledgemodelconfig
|
6515
|
+
@KnowledgeAdvancedConfig = knowledgeadvancedconfig
|
6209
6516
|
end
|
6210
6517
|
|
6211
6518
|
def deserialize(params)
|
@@ -6282,6 +6589,20 @@ module TencentCloud
|
|
6282
6589
|
@BackgroundImage.deserialize(params['BackgroundImage'])
|
6283
6590
|
end
|
6284
6591
|
@OpeningQuestions = params['OpeningQuestions']
|
6592
|
+
@LongMemoryOpen = params['LongMemoryOpen']
|
6593
|
+
@LongMemoryDay = params['LongMemoryDay']
|
6594
|
+
unless params['Agent'].nil?
|
6595
|
+
@Agent = KnowledgeQaAgent.new
|
6596
|
+
@Agent.deserialize(params['Agent'])
|
6597
|
+
end
|
6598
|
+
unless params['KnowledgeModelConfig'].nil?
|
6599
|
+
@KnowledgeModelConfig = KnowledgeModelConfig.new
|
6600
|
+
@KnowledgeModelConfig.deserialize(params['KnowledgeModelConfig'])
|
6601
|
+
end
|
6602
|
+
unless params['KnowledgeAdvancedConfig'].nil?
|
6603
|
+
@KnowledgeAdvancedConfig = KnowledgeAdvancedConfig.new
|
6604
|
+
@KnowledgeAdvancedConfig.deserialize(params['KnowledgeAdvancedConfig'])
|
6605
|
+
end
|
6285
6606
|
end
|
6286
6607
|
end
|
6287
6608
|
|
@@ -6477,6 +6798,38 @@ module TencentCloud
|
|
6477
6798
|
end
|
6478
6799
|
end
|
6479
6800
|
|
6801
|
+
# 应用配置关联的工作流信息
|
6802
|
+
class KnowledgeQaWorkflowInfo < TencentCloud::Common::AbstractModel
|
6803
|
+
# @param WorkflowId: 工作流ID
|
6804
|
+
# @type WorkflowId: String
|
6805
|
+
# @param WorkflowName: 工作流名称
|
6806
|
+
# @type WorkflowName: String
|
6807
|
+
# @param WorkflowDesc: 工作流描述
|
6808
|
+
# @type WorkflowDesc: String
|
6809
|
+
# @param Status: 工作流状态,发布状态(UNPUBLISHED: 待发布 PUBLISHING: 发布中 PUBLISHED: 已发布 FAIL:发布失败)
|
6810
|
+
# @type Status: String
|
6811
|
+
# @param IsEnable: 工作流是否启用
|
6812
|
+
# @type IsEnable: Boolean
|
6813
|
+
|
6814
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowDesc, :Status, :IsEnable
|
6815
|
+
|
6816
|
+
def initialize(workflowid=nil, workflowname=nil, workflowdesc=nil, status=nil, isenable=nil)
|
6817
|
+
@WorkflowId = workflowid
|
6818
|
+
@WorkflowName = workflowname
|
6819
|
+
@WorkflowDesc = workflowdesc
|
6820
|
+
@Status = status
|
6821
|
+
@IsEnable = isenable
|
6822
|
+
end
|
6823
|
+
|
6824
|
+
def deserialize(params)
|
6825
|
+
@WorkflowId = params['WorkflowId']
|
6826
|
+
@WorkflowName = params['WorkflowName']
|
6827
|
+
@WorkflowDesc = params['WorkflowDesc']
|
6828
|
+
@Status = params['Status']
|
6829
|
+
@IsEnable = params['IsEnable']
|
6830
|
+
end
|
6831
|
+
end
|
6832
|
+
|
6480
6833
|
# 检索知识
|
6481
6834
|
class KnowledgeSummary < TencentCloud::Common::AbstractModel
|
6482
6835
|
# @param Type: 1是问答 2是文档片段
|
@@ -6512,14 +6865,22 @@ module TencentCloud
|
|
6512
6865
|
# @param QaExtractModel: 问答提取模型
|
6513
6866
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6514
6867
|
# @type QaExtractModel: String
|
6868
|
+
# @param OwnerStaffId: 拥有者id
|
6869
|
+
# @type OwnerStaffId: String
|
6515
6870
|
|
6516
|
-
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel
|
6871
|
+
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :OwnerStaffId
|
6872
|
+
extend Gem::Deprecate
|
6873
|
+
deprecate :EmbeddingModel, :none, 2025, 8
|
6874
|
+
deprecate :EmbeddingModel=, :none, 2025, 8
|
6875
|
+
deprecate :QaExtractModel, :none, 2025, 8
|
6876
|
+
deprecate :QaExtractModel=, :none, 2025, 8
|
6517
6877
|
|
6518
|
-
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil)
|
6878
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, ownerstaffid=nil)
|
6519
6879
|
@KnowledgeName = knowledgename
|
6520
6880
|
@KnowledgeDescription = knowledgedescription
|
6521
6881
|
@EmbeddingModel = embeddingmodel
|
6522
6882
|
@QaExtractModel = qaextractmodel
|
6883
|
+
@OwnerStaffId = ownerstaffid
|
6523
6884
|
end
|
6524
6885
|
|
6525
6886
|
def deserialize(params)
|
@@ -6527,6 +6888,7 @@ module TencentCloud
|
|
6527
6888
|
@KnowledgeDescription = params['KnowledgeDescription']
|
6528
6889
|
@EmbeddingModel = params['EmbeddingModel']
|
6529
6890
|
@QaExtractModel = params['QaExtractModel']
|
6891
|
+
@OwnerStaffId = params['OwnerStaffId']
|
6530
6892
|
end
|
6531
6893
|
end
|
6532
6894
|
|
@@ -6574,72 +6936,6 @@ module TencentCloud
|
|
6574
6936
|
end
|
6575
6937
|
end
|
6576
6938
|
|
6577
|
-
# ListAppCategory请求参数结构体
|
6578
|
-
class ListAppCategoryRequest < TencentCloud::Common::AbstractModel
|
6579
|
-
|
6580
|
-
|
6581
|
-
def initialize()
|
6582
|
-
end
|
6583
|
-
|
6584
|
-
def deserialize(params)
|
6585
|
-
end
|
6586
|
-
end
|
6587
|
-
|
6588
|
-
# ListAppCategory返回参数结构体
|
6589
|
-
class ListAppCategoryResponse < TencentCloud::Common::AbstractModel
|
6590
|
-
# @param List: 应用类型列表
|
6591
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6592
|
-
# @type List: Array
|
6593
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6594
|
-
# @type RequestId: String
|
6595
|
-
|
6596
|
-
attr_accessor :List, :RequestId
|
6597
|
-
|
6598
|
-
def initialize(list=nil, requestid=nil)
|
6599
|
-
@List = list
|
6600
|
-
@RequestId = requestid
|
6601
|
-
end
|
6602
|
-
|
6603
|
-
def deserialize(params)
|
6604
|
-
unless params['List'].nil?
|
6605
|
-
@List = []
|
6606
|
-
params['List'].each do |i|
|
6607
|
-
listappcategoryrspoption_tmp = ListAppCategoryRspOption.new
|
6608
|
-
listappcategoryrspoption_tmp.deserialize(i)
|
6609
|
-
@List << listappcategoryrspoption_tmp
|
6610
|
-
end
|
6611
|
-
end
|
6612
|
-
@RequestId = params['RequestId']
|
6613
|
-
end
|
6614
|
-
end
|
6615
|
-
|
6616
|
-
# 应用类型详情
|
6617
|
-
class ListAppCategoryRspOption < TencentCloud::Common::AbstractModel
|
6618
|
-
# @param Text: 类型名称
|
6619
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6620
|
-
# @type Text: String
|
6621
|
-
# @param Value: 类型值
|
6622
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6623
|
-
# @type Value: String
|
6624
|
-
# @param Logo: 类型log
|
6625
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6626
|
-
# @type Logo: String
|
6627
|
-
|
6628
|
-
attr_accessor :Text, :Value, :Logo
|
6629
|
-
|
6630
|
-
def initialize(text=nil, value=nil, logo=nil)
|
6631
|
-
@Text = text
|
6632
|
-
@Value = value
|
6633
|
-
@Logo = logo
|
6634
|
-
end
|
6635
|
-
|
6636
|
-
def deserialize(params)
|
6637
|
-
@Text = params['Text']
|
6638
|
-
@Value = params['Value']
|
6639
|
-
@Logo = params['Logo']
|
6640
|
-
end
|
6641
|
-
end
|
6642
|
-
|
6643
6939
|
# ListAppKnowledgeDetail请求参数结构体
|
6644
6940
|
class ListAppKnowledgeDetailRequest < TencentCloud::Common::AbstractModel
|
6645
6941
|
# @param PageNumber: 页码
|
@@ -6648,19 +6944,23 @@ module TencentCloud
|
|
6648
6944
|
# @type PageSize: Integer
|
6649
6945
|
# @param AppBizIds: 应用ID列表
|
6650
6946
|
# @type AppBizIds: Array
|
6947
|
+
# @param SpaceId: 空间列表
|
6948
|
+
# @type SpaceId: String
|
6651
6949
|
|
6652
|
-
attr_accessor :PageNumber, :PageSize, :AppBizIds
|
6950
|
+
attr_accessor :PageNumber, :PageSize, :AppBizIds, :SpaceId
|
6653
6951
|
|
6654
|
-
def initialize(pagenumber=nil, pagesize=nil, appbizids=nil)
|
6952
|
+
def initialize(pagenumber=nil, pagesize=nil, appbizids=nil, spaceid=nil)
|
6655
6953
|
@PageNumber = pagenumber
|
6656
6954
|
@PageSize = pagesize
|
6657
6955
|
@AppBizIds = appbizids
|
6956
|
+
@SpaceId = spaceid
|
6658
6957
|
end
|
6659
6958
|
|
6660
6959
|
def deserialize(params)
|
6661
6960
|
@PageNumber = params['PageNumber']
|
6662
6961
|
@PageSize = params['PageSize']
|
6663
6962
|
@AppBizIds = params['AppBizIds']
|
6963
|
+
@SpaceId = params['SpaceId']
|
6664
6964
|
end
|
6665
6965
|
end
|
6666
6966
|
|
@@ -6707,15 +7007,21 @@ module TencentCloud
|
|
6707
7007
|
# @type Keyword: String
|
6708
7008
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
6709
7009
|
# @type LoginSubAccountUin: String
|
7010
|
+
# @param AgentType: 智能体类型 dialogue:对话智能体,wechat:公众号智能体
|
7011
|
+
# @type AgentType: String
|
7012
|
+
# @param AppStatus: 应用状态 1:未上线 2:运行中
|
7013
|
+
# @type AppStatus: String
|
6710
7014
|
|
6711
|
-
attr_accessor :AppType, :PageSize, :PageNumber, :Keyword, :LoginSubAccountUin
|
7015
|
+
attr_accessor :AppType, :PageSize, :PageNumber, :Keyword, :LoginSubAccountUin, :AgentType, :AppStatus
|
6712
7016
|
|
6713
|
-
def initialize(apptype=nil, pagesize=nil, pagenumber=nil, keyword=nil, loginsubaccountuin=nil)
|
7017
|
+
def initialize(apptype=nil, pagesize=nil, pagenumber=nil, keyword=nil, loginsubaccountuin=nil, agenttype=nil, appstatus=nil)
|
6714
7018
|
@AppType = apptype
|
6715
7019
|
@PageSize = pagesize
|
6716
7020
|
@PageNumber = pagenumber
|
6717
7021
|
@Keyword = keyword
|
6718
7022
|
@LoginSubAccountUin = loginsubaccountuin
|
7023
|
+
@AgentType = agenttype
|
7024
|
+
@AppStatus = appstatus
|
6719
7025
|
end
|
6720
7026
|
|
6721
7027
|
def deserialize(params)
|
@@ -6724,6 +7030,8 @@ module TencentCloud
|
|
6724
7030
|
@PageNumber = params['PageNumber']
|
6725
7031
|
@Keyword = params['Keyword']
|
6726
7032
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
7033
|
+
@AgentType = params['AgentType']
|
7034
|
+
@AppStatus = params['AppStatus']
|
6727
7035
|
end
|
6728
7036
|
end
|
6729
7037
|
|
@@ -6731,7 +7039,7 @@ module TencentCloud
|
|
6731
7039
|
class ListAppResponse < TencentCloud::Common::AbstractModel
|
6732
7040
|
# @param Total: 数量
|
6733
7041
|
# @type Total: String
|
6734
|
-
# @param List:
|
7042
|
+
# @param List: 应用列表
|
6735
7043
|
# @type List: Array
|
6736
7044
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6737
7045
|
# @type RequestId: String
|
@@ -7164,7 +7472,7 @@ module TencentCloud
|
|
7164
7472
|
# @type AppType: String
|
7165
7473
|
# @param Pattern: 应用模式 standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
7166
7474
|
# @type Pattern: String
|
7167
|
-
# @param ModelCategory: 模型类别 generate:生成模型,thought
|
7475
|
+
# @param ModelCategory: 模型类别 generate:生成模型,thought:思考模型,embedding模型,rerank:rerank模型
|
7168
7476
|
# @type ModelCategory: String
|
7169
7477
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
7170
7478
|
# @type LoginUin: String
|
@@ -8013,9 +8321,9 @@ module TencentCloud
|
|
8013
8321
|
class ListSelectDocRequest < TencentCloud::Common::AbstractModel
|
8014
8322
|
# @param BotBizId: 应用ID
|
8015
8323
|
# @type BotBizId: String
|
8016
|
-
# @param FileName:
|
8324
|
+
# @param FileName: 文档名称。可通过文档名称检索支持生成问答的文档,不支持xlsx、xls、csv格式
|
8017
8325
|
# @type FileName: String
|
8018
|
-
# @param Status:
|
8326
|
+
# @param Status: 文档状态筛选。文档状态对应码为7 审核中、8 审核失败、10 待发布、11 发布中、12 已发布、13 学习中、14 学习失败 20 已过期。其中仅状态为10 待发布、12 已发布的文档支持生成问答
|
8019
8327
|
# @type Status: Array
|
8020
8328
|
|
8021
8329
|
attr_accessor :BotBizId, :FileName, :Status
|
@@ -8068,19 +8376,23 @@ module TencentCloud
|
|
8068
8376
|
# @type PageSize: Integer
|
8069
8377
|
# @param Keyword: 搜索关键字
|
8070
8378
|
# @type Keyword: String
|
8379
|
+
# @param KnowledgeTypes: 共享知识库类型,0普通,1公众号
|
8380
|
+
# @type KnowledgeTypes: Array
|
8071
8381
|
|
8072
|
-
attr_accessor :PageNumber, :PageSize, :Keyword
|
8382
|
+
attr_accessor :PageNumber, :PageSize, :Keyword, :KnowledgeTypes
|
8073
8383
|
|
8074
|
-
def initialize(pagenumber=nil, pagesize=nil, keyword=nil)
|
8384
|
+
def initialize(pagenumber=nil, pagesize=nil, keyword=nil, knowledgetypes=nil)
|
8075
8385
|
@PageNumber = pagenumber
|
8076
8386
|
@PageSize = pagesize
|
8077
8387
|
@Keyword = keyword
|
8388
|
+
@KnowledgeTypes = knowledgetypes
|
8078
8389
|
end
|
8079
8390
|
|
8080
8391
|
def deserialize(params)
|
8081
8392
|
@PageNumber = params['PageNumber']
|
8082
8393
|
@PageSize = params['PageSize']
|
8083
8394
|
@Keyword = params['Keyword']
|
8395
|
+
@KnowledgeTypes = params['KnowledgeTypes']
|
8084
8396
|
end
|
8085
8397
|
end
|
8086
8398
|
|
@@ -8212,10 +8524,12 @@ module TencentCloud
|
|
8212
8524
|
# @type AppType: String
|
8213
8525
|
# @param BillingTag: 账单明细对应的自定义tag
|
8214
8526
|
# @type BillingTag: String
|
8527
|
+
# @param SpaceId: 空间id
|
8528
|
+
# @type SpaceId: String
|
8215
8529
|
|
8216
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :PageNumber, :PageSize, :UinAccount, :AppBizIds, :CallType, :SubScenes, :AppType, :BillingTag
|
8530
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :PageNumber, :PageSize, :UinAccount, :AppBizIds, :CallType, :SubScenes, :AppType, :BillingTag, :SpaceId
|
8217
8531
|
|
8218
|
-
def initialize(modelname=nil, starttime=nil, endtime=nil, pagenumber=nil, pagesize=nil, uinaccount=nil, appbizids=nil, calltype=nil, subscenes=nil, apptype=nil, billingtag=nil)
|
8532
|
+
def initialize(modelname=nil, starttime=nil, endtime=nil, pagenumber=nil, pagesize=nil, uinaccount=nil, appbizids=nil, calltype=nil, subscenes=nil, apptype=nil, billingtag=nil, spaceid=nil)
|
8219
8533
|
@ModelName = modelname
|
8220
8534
|
@StartTime = starttime
|
8221
8535
|
@EndTime = endtime
|
@@ -8227,6 +8541,7 @@ module TencentCloud
|
|
8227
8541
|
@SubScenes = subscenes
|
8228
8542
|
@AppType = apptype
|
8229
8543
|
@BillingTag = billingtag
|
8544
|
+
@SpaceId = spaceid
|
8230
8545
|
end
|
8231
8546
|
|
8232
8547
|
def deserialize(params)
|
@@ -8241,6 +8556,7 @@ module TencentCloud
|
|
8241
8556
|
@SubScenes = params['SubScenes']
|
8242
8557
|
@AppType = params['AppType']
|
8243
8558
|
@BillingTag = params['BillingTag']
|
8559
|
+
@SpaceId = params['SpaceId']
|
8244
8560
|
end
|
8245
8561
|
end
|
8246
8562
|
|
@@ -8392,10 +8708,22 @@ module TencentCloud
|
|
8392
8708
|
# @type SupportAiCallStatus: Integer
|
8393
8709
|
# @param Concurrency: 专属并发数
|
8394
8710
|
# @type Concurrency: Integer
|
8711
|
+
# @param ModelTags: 模型标签
|
8712
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8713
|
+
# @type ModelTags: Array
|
8714
|
+
# @param ModelParams: 模型超参定义
|
8715
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8716
|
+
# @type ModelParams: Array
|
8717
|
+
# @param ProviderName: 提供商名称
|
8718
|
+
# @type ProviderName: String
|
8719
|
+
# @param ProviderAliasName: 提供商别名
|
8720
|
+
# @type ProviderAliasName: String
|
8721
|
+
# @param ProviderType: 提供商类型 Self:提供商,Custom:自定义模型提供商,Third:第三方模型提供商
|
8722
|
+
# @type ProviderType: String
|
8395
8723
|
|
8396
|
-
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive, :SupportAiCallStatus, :Concurrency
|
8724
|
+
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive, :SupportAiCallStatus, :Concurrency, :ModelTags, :ModelParams, :ProviderName, :ProviderAliasName, :ProviderType
|
8397
8725
|
|
8398
|
-
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)
|
8726
|
+
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, modeltags=nil, modelparams=nil, providername=nil, provideraliasname=nil, providertype=nil)
|
8399
8727
|
@ModelName = modelname
|
8400
8728
|
@ModelDesc = modeldesc
|
8401
8729
|
@AliasName = aliasname
|
@@ -8415,6 +8743,11 @@ module TencentCloud
|
|
8415
8743
|
@IsExclusive = isexclusive
|
8416
8744
|
@SupportAiCallStatus = supportaicallstatus
|
8417
8745
|
@Concurrency = concurrency
|
8746
|
+
@ModelTags = modeltags
|
8747
|
+
@ModelParams = modelparams
|
8748
|
+
@ProviderName = providername
|
8749
|
+
@ProviderAliasName = provideraliasname
|
8750
|
+
@ProviderType = providertype
|
8418
8751
|
end
|
8419
8752
|
|
8420
8753
|
def deserialize(params)
|
@@ -8446,6 +8779,18 @@ module TencentCloud
|
|
8446
8779
|
@IsExclusive = params['IsExclusive']
|
8447
8780
|
@SupportAiCallStatus = params['SupportAiCallStatus']
|
8448
8781
|
@Concurrency = params['Concurrency']
|
8782
|
+
@ModelTags = params['ModelTags']
|
8783
|
+
unless params['ModelParams'].nil?
|
8784
|
+
@ModelParams = []
|
8785
|
+
params['ModelParams'].each do |i|
|
8786
|
+
modelparameter_tmp = ModelParameter.new
|
8787
|
+
modelparameter_tmp.deserialize(i)
|
8788
|
+
@ModelParams << modelparameter_tmp
|
8789
|
+
end
|
8790
|
+
end
|
8791
|
+
@ProviderName = params['ProviderName']
|
8792
|
+
@ProviderAliasName = params['ProviderAliasName']
|
8793
|
+
@ProviderType = params['ProviderType']
|
8449
8794
|
end
|
8450
8795
|
end
|
8451
8796
|
|
@@ -8460,19 +8805,72 @@ module TencentCloud
|
|
8460
8805
|
# @param Max: 最大值
|
8461
8806
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8462
8807
|
# @type Max: Float
|
8808
|
+
# @param Name: 超参名称
|
8809
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8810
|
+
# @type Name: String
|
8463
8811
|
|
8464
|
-
attr_accessor :Default, :Min, :Max
|
8812
|
+
attr_accessor :Default, :Min, :Max, :Name
|
8465
8813
|
|
8466
|
-
def initialize(default=nil, min=nil, max=nil)
|
8814
|
+
def initialize(default=nil, min=nil, max=nil, name=nil)
|
8467
8815
|
@Default = default
|
8468
8816
|
@Min = min
|
8469
8817
|
@Max = max
|
8818
|
+
@Name = name
|
8470
8819
|
end
|
8471
8820
|
|
8472
8821
|
def deserialize(params)
|
8473
8822
|
@Default = params['Default']
|
8474
8823
|
@Min = params['Min']
|
8475
8824
|
@Max = params['Max']
|
8825
|
+
@Name = params['Name']
|
8826
|
+
end
|
8827
|
+
end
|
8828
|
+
|
8829
|
+
# 模型参数
|
8830
|
+
class ModelParams < TencentCloud::Common::AbstractModel
|
8831
|
+
# @param Temperature: 温度
|
8832
|
+
# @type Temperature: Float
|
8833
|
+
# @param TopP: Top_P
|
8834
|
+
# @type TopP: Float
|
8835
|
+
# @param Seed: 随机种子
|
8836
|
+
# @type Seed: Integer
|
8837
|
+
# @param PresencePenalty: 存在惩罚
|
8838
|
+
# @type PresencePenalty: Float
|
8839
|
+
# @param FrequencyPenalty: 频率惩罚
|
8840
|
+
# @type FrequencyPenalty: Float
|
8841
|
+
# @param RepetitionPenalty: 重复惩罚
|
8842
|
+
# @type RepetitionPenalty: Float
|
8843
|
+
# @param MaxTokens: 最大输出长度
|
8844
|
+
# @type MaxTokens: Integer
|
8845
|
+
# @param StopSequences: 停止序列
|
8846
|
+
# @type StopSequences: Array
|
8847
|
+
# @param ReplyFormat: 输出格式
|
8848
|
+
# @type ReplyFormat: String
|
8849
|
+
|
8850
|
+
attr_accessor :Temperature, :TopP, :Seed, :PresencePenalty, :FrequencyPenalty, :RepetitionPenalty, :MaxTokens, :StopSequences, :ReplyFormat
|
8851
|
+
|
8852
|
+
def initialize(temperature=nil, topp=nil, seed=nil, presencepenalty=nil, frequencypenalty=nil, repetitionpenalty=nil, maxtokens=nil, stopsequences=nil, replyformat=nil)
|
8853
|
+
@Temperature = temperature
|
8854
|
+
@TopP = topp
|
8855
|
+
@Seed = seed
|
8856
|
+
@PresencePenalty = presencepenalty
|
8857
|
+
@FrequencyPenalty = frequencypenalty
|
8858
|
+
@RepetitionPenalty = repetitionpenalty
|
8859
|
+
@MaxTokens = maxtokens
|
8860
|
+
@StopSequences = stopsequences
|
8861
|
+
@ReplyFormat = replyformat
|
8862
|
+
end
|
8863
|
+
|
8864
|
+
def deserialize(params)
|
8865
|
+
@Temperature = params['Temperature']
|
8866
|
+
@TopP = params['TopP']
|
8867
|
+
@Seed = params['Seed']
|
8868
|
+
@PresencePenalty = params['PresencePenalty']
|
8869
|
+
@FrequencyPenalty = params['FrequencyPenalty']
|
8870
|
+
@RepetitionPenalty = params['RepetitionPenalty']
|
8871
|
+
@MaxTokens = params['MaxTokens']
|
8872
|
+
@StopSequences = params['StopSequences']
|
8873
|
+
@ReplyFormat = params['ReplyFormat']
|
8476
8874
|
end
|
8477
8875
|
end
|
8478
8876
|
|
@@ -8637,18 +9035,29 @@ module TencentCloud
|
|
8637
9035
|
class ModifyAttributeLabelResponse < TencentCloud::Common::AbstractModel
|
8638
9036
|
# @param TaskId: 任务ID
|
8639
9037
|
# @type TaskId: String
|
9038
|
+
# @param Labels: 标签ID与名称
|
9039
|
+
# @type Labels: Array
|
8640
9040
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8641
9041
|
# @type RequestId: String
|
8642
9042
|
|
8643
|
-
attr_accessor :TaskId, :RequestId
|
9043
|
+
attr_accessor :TaskId, :Labels, :RequestId
|
8644
9044
|
|
8645
|
-
def initialize(taskid=nil, requestid=nil)
|
9045
|
+
def initialize(taskid=nil, labels=nil, requestid=nil)
|
8646
9046
|
@TaskId = taskid
|
9047
|
+
@Labels = labels
|
8647
9048
|
@RequestId = requestid
|
8648
9049
|
end
|
8649
9050
|
|
8650
9051
|
def deserialize(params)
|
8651
9052
|
@TaskId = params['TaskId']
|
9053
|
+
unless params['Labels'].nil?
|
9054
|
+
@Labels = []
|
9055
|
+
params['Labels'].each do |i|
|
9056
|
+
attributelabel_tmp = AttributeLabel.new
|
9057
|
+
attributelabel_tmp.deserialize(i)
|
9058
|
+
@Labels << attributelabel_tmp
|
9059
|
+
end
|
9060
|
+
end
|
8652
9061
|
@RequestId = params['RequestId']
|
8653
9062
|
end
|
8654
9063
|
end
|
@@ -8773,10 +9182,16 @@ module TencentCloud
|
|
8773
9182
|
# @type CateBizId: String
|
8774
9183
|
# @param IsDownload: 是否可下载,IsRefer为true并且ReferUrlType为0时,该值才有意义
|
8775
9184
|
# @type IsDownload: Boolean
|
9185
|
+
# @param ModifyTypes: 需要修改的内容类型 0 无效 1 更新文档cos信息 2 更新文档引用信息 3 更新文档刷新频率 4 腾讯文档刷新
|
9186
|
+
# @type ModifyTypes: Array
|
9187
|
+
# @param UpdatePeriodInfo: 文档更新频率
|
9188
|
+
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
9189
|
+
# @param SplitRule: 自定义切分规则
|
9190
|
+
# @type SplitRule: String
|
8776
9191
|
|
8777
|
-
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload
|
9192
|
+
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload, :ModifyTypes, :UpdatePeriodInfo, :SplitRule
|
8778
9193
|
|
8779
|
-
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, isdownload=nil)
|
9194
|
+
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, isdownload=nil, modifytypes=nil, updateperiodinfo=nil, splitrule=nil)
|
8780
9195
|
@BotBizId = botbizid
|
8781
9196
|
@DocBizId = docbizid
|
8782
9197
|
@IsRefer = isrefer
|
@@ -8790,6 +9205,9 @@ module TencentCloud
|
|
8790
9205
|
@ExpireEnd = expireend
|
8791
9206
|
@CateBizId = catebizid
|
8792
9207
|
@IsDownload = isdownload
|
9208
|
+
@ModifyTypes = modifytypes
|
9209
|
+
@UpdatePeriodInfo = updateperiodinfo
|
9210
|
+
@SplitRule = splitrule
|
8793
9211
|
end
|
8794
9212
|
|
8795
9213
|
def deserialize(params)
|
@@ -8813,6 +9231,12 @@ module TencentCloud
|
|
8813
9231
|
@ExpireEnd = params['ExpireEnd']
|
8814
9232
|
@CateBizId = params['CateBizId']
|
8815
9233
|
@IsDownload = params['IsDownload']
|
9234
|
+
@ModifyTypes = params['ModifyTypes']
|
9235
|
+
unless params['UpdatePeriodInfo'].nil?
|
9236
|
+
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
9237
|
+
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
9238
|
+
end
|
9239
|
+
@SplitRule = params['SplitRule']
|
8816
9240
|
end
|
8817
9241
|
end
|
8818
9242
|
|
@@ -9291,10 +9715,12 @@ module TencentCloud
|
|
9291
9715
|
# @type DocBizId: String
|
9292
9716
|
# @param QaBizId: 问答业务id
|
9293
9717
|
# @type QaBizId: String
|
9718
|
+
# @param Index: 文档索引id
|
9719
|
+
# @type Index: Integer
|
9294
9720
|
|
9295
|
-
attr_accessor :Id, :Url, :Type, :Name, :DocId, :KnowledgeName, :KnowledgeBizId, :DocBizId, :QaBizId
|
9721
|
+
attr_accessor :Id, :Url, :Type, :Name, :DocId, :KnowledgeName, :KnowledgeBizId, :DocBizId, :QaBizId, :Index
|
9296
9722
|
|
9297
|
-
def initialize(id=nil, url=nil, type=nil, name=nil, docid=nil, knowledgename=nil, knowledgebizid=nil, docbizid=nil, qabizid=nil)
|
9723
|
+
def initialize(id=nil, url=nil, type=nil, name=nil, docid=nil, knowledgename=nil, knowledgebizid=nil, docbizid=nil, qabizid=nil, index=nil)
|
9298
9724
|
@Id = id
|
9299
9725
|
@Url = url
|
9300
9726
|
@Type = type
|
@@ -9304,6 +9730,7 @@ module TencentCloud
|
|
9304
9730
|
@KnowledgeBizId = knowledgebizid
|
9305
9731
|
@DocBizId = docbizid
|
9306
9732
|
@QaBizId = qabizid
|
9733
|
+
@Index = index
|
9307
9734
|
end
|
9308
9735
|
|
9309
9736
|
def deserialize(params)
|
@@ -9316,6 +9743,7 @@ module TencentCloud
|
|
9316
9743
|
@KnowledgeBizId = params['KnowledgeBizId']
|
9317
9744
|
@DocBizId = params['DocBizId']
|
9318
9745
|
@QaBizId = params['QaBizId']
|
9746
|
+
@Index = params['Index']
|
9319
9747
|
end
|
9320
9748
|
end
|
9321
9749
|
|
@@ -9544,6 +9972,26 @@ module TencentCloud
|
|
9544
9972
|
end
|
9545
9973
|
end
|
9546
9974
|
|
9975
|
+
# 选项卡索引
|
9976
|
+
class OptionCardIndex < TencentCloud::Common::AbstractModel
|
9977
|
+
# @param RecordId: 唯一标识
|
9978
|
+
# @type RecordId: String
|
9979
|
+
# @param Index: 选项卡索引
|
9980
|
+
# @type Index: Integer
|
9981
|
+
|
9982
|
+
attr_accessor :RecordId, :Index
|
9983
|
+
|
9984
|
+
def initialize(recordid=nil, index=nil)
|
9985
|
+
@RecordId = recordid
|
9986
|
+
@Index = index
|
9987
|
+
end
|
9988
|
+
|
9989
|
+
def deserialize(params)
|
9990
|
+
@RecordId = params['RecordId']
|
9991
|
+
@Index = params['Index']
|
9992
|
+
end
|
9993
|
+
end
|
9994
|
+
|
9547
9995
|
# 插件参数请求结构
|
9548
9996
|
class PluginToolReqParam < TencentCloud::Common::AbstractModel
|
9549
9997
|
# @param Name: 参数名称
|
@@ -9633,16 +10081,22 @@ module TencentCloud
|
|
9633
10081
|
# @param ResourceStatus: 计费资源状态,1:可用,2:不可用
|
9634
10082
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9635
10083
|
# @type ResourceStatus: Integer
|
10084
|
+
# @param InputCount: 输入消耗 token 数
|
10085
|
+
# @type InputCount: Integer
|
10086
|
+
# @param OutputCount: 输出消耗 token 数
|
10087
|
+
# @type OutputCount: Integer
|
9636
10088
|
|
9637
|
-
attr_accessor :Name, :Title, :Status, :Count, :Debugging, :ResourceStatus
|
10089
|
+
attr_accessor :Name, :Title, :Status, :Count, :Debugging, :ResourceStatus, :InputCount, :OutputCount
|
9638
10090
|
|
9639
|
-
def initialize(name=nil, title=nil, status=nil, count=nil, debugging=nil, resourcestatus=nil)
|
10091
|
+
def initialize(name=nil, title=nil, status=nil, count=nil, debugging=nil, resourcestatus=nil, inputcount=nil, outputcount=nil)
|
9640
10092
|
@Name = name
|
9641
10093
|
@Title = title
|
9642
10094
|
@Status = status
|
9643
10095
|
@Count = count
|
9644
10096
|
@Debugging = debugging
|
9645
10097
|
@ResourceStatus = resourcestatus
|
10098
|
+
@InputCount = inputcount
|
10099
|
+
@OutputCount = outputcount
|
9646
10100
|
end
|
9647
10101
|
|
9648
10102
|
def deserialize(params)
|
@@ -9655,6 +10109,8 @@ module TencentCloud
|
|
9655
10109
|
@Debugging.deserialize(params['Debugging'])
|
9656
10110
|
end
|
9657
10111
|
@ResourceStatus = params['ResourceStatus']
|
10112
|
+
@InputCount = params['InputCount']
|
10113
|
+
@OutputCount = params['OutputCount']
|
9658
10114
|
end
|
9659
10115
|
end
|
9660
10116
|
|
@@ -9682,6 +10138,7 @@ module TencentCloud
|
|
9682
10138
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9683
10139
|
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.AgentDebugInfo`
|
9684
10140
|
# @param CustomVariables: 自定义参数
|
10141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9685
10142
|
# @type CustomVariables: Array
|
9686
10143
|
|
9687
10144
|
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow, :Agent, :CustomVariables
|
@@ -10575,10 +11032,98 @@ module TencentCloud
|
|
10575
11032
|
# @type IsDownload: Boolean
|
10576
11033
|
# @param DuplicateFileHandles: 重复文档处理方式,按顺序匹配第一个满足条件的方式处理
|
10577
11034
|
# @type DuplicateFileHandles: Array
|
11035
|
+
# @param SplitRule: 自定义切分规则
|
11036
|
+
|
11037
|
+
# 请求参数为一个 **JSON Object**,具体格式可参见接口示例值。包含以下主要字段:
|
11038
|
+
|
11039
|
+
# | 字段名 | 类型 | 说明 |
|
11040
|
+
# |--------------------|--------|----------------------------------------|
|
11041
|
+
# | `xlsx_splitter` | Object | **Excel(xlsx)文件切分策略配置**,仅当处理 Excel 文件时有效 |
|
11042
|
+
# | `common_splitter` | Object | **通用文件(如 txt、pdf 等)切分策略配置**,按页或按标签切分 |
|
11043
|
+
# | `table_style` | String | 表格内容的输出格式,如 HTML 或 Markdown |
|
11044
|
+
|
11045
|
+
# ---
|
11046
|
+
|
11047
|
+
# ## `xlsx_splitter`(Excel 切分策略)
|
11048
|
+
|
11049
|
+
# 用于配置 **表格文件的切分方式**。
|
11050
|
+
# **类型:Object**
|
11051
|
+
|
11052
|
+
# ```json
|
11053
|
+
# "xlsx_splitter": {
|
11054
|
+
# "header_interval": [1, 2],
|
11055
|
+
# "content_start": 10,
|
11056
|
+
# "split_row": 2
|
11057
|
+
# }
|
11058
|
+
# ```
|
11059
|
+
|
11060
|
+
# ### 字段说明:
|
11061
|
+
|
11062
|
+
# | 字段名 | 类型 | 说明 |
|
11063
|
+
# |-------------------|--------|----------------------------------------------------------------------|
|
11064
|
+
# | `header_interval` | Array\<Number\> | 表头所在的行区间,格式为 `[起始行, 结束行]`,**行号从 1 开始计数**。例如 `[1, 2]` 表示第 1~2 行为表头。 |
|
11065
|
+
# | `content_start` | Number | **表格内容的起始行号(从 1 开始)**。 |
|
11066
|
+
# | `split_row` | Number | **切分行数**。 |
|
11067
|
+
|
11068
|
+
# ---
|
11069
|
+
# ## `common_splitter`(通用文件切分策略)
|
11070
|
+
|
11071
|
+
# 用于配置 **非 Excel 文件(如 TXT、PDF、DOCX 等)的切分方式**,支持两种策略:**按页切分(page)** 或 **按标识符切分(tag)**。
|
10578
11072
|
|
10579
|
-
|
11073
|
+
# **类型:Object**
|
10580
11074
|
|
10581
|
-
|
11075
|
+
# ```json
|
11076
|
+
# "common_splitter": {
|
11077
|
+
# "splitter": "page",
|
11078
|
+
# "page_splitter": {
|
11079
|
+
# "chunk_length": 1000,
|
11080
|
+
# "chunk_overlap_length": 100
|
11081
|
+
# }
|
11082
|
+
# }
|
11083
|
+
# ```
|
11084
|
+
|
11085
|
+
# ### 字段说明:
|
11086
|
+
|
11087
|
+
# | 字段名 | 类型 | 说明 |
|
11088
|
+
# |-------------------|--------|---------------------------------------------------|
|
11089
|
+
# | `splitter` | String | 切分策略类型,可选值为:`"page"`(按页切分) 或 `"tag"`(按标识符切分)。 |
|
11090
|
+
# | `page_splitter` | Object | **按页切分的配置**。 |
|
11091
|
+
# | `page_splitter.chunk_length` | 1000 | **切片最大长度**。 |
|
11092
|
+
# | `page_splitter.chunk_overlap_length` | 100 | **切片重叠长度**。 |
|
11093
|
+
# | `tag_splitter` | Object | **自定义切分配置**。 |
|
11094
|
+
# | `tag_splitter.tag` | Array\<String\> | **切分标识符**。 |
|
11095
|
+
# | `tag_splitter.chunk_length`| Number | **切片最大长度**。 |
|
11096
|
+
# | `tag_splitter.chunk_overlap_length` | Number | **切块重叠长度**。 |
|
11097
|
+
|
11098
|
+
# 🔹 **补充说明:**
|
11099
|
+
|
11100
|
+
# - `splitter` 字段的值可以是:
|
11101
|
+
# - `"page"`:只使用按页切分逻辑,此时只需要关心 `page_splitter` 相关字段。
|
11102
|
+
# - `"tag"`:只使用按标识符(如分号、换行等)切分逻辑,此时关注 `tag_splitter`。
|
11103
|
+
# ---
|
11104
|
+
|
11105
|
+
# ## `table_style`(表格输出样式)
|
11106
|
+
|
11107
|
+
# 用于指定 **表格类内容(比如从 Excel 或 CSV 中提取的表格)最终以何种格式返回**,方便前端展示或后续处理。
|
11108
|
+
|
11109
|
+
# **类型:String**
|
11110
|
+
|
11111
|
+
# ```json
|
11112
|
+
# "table_style": "md"
|
11113
|
+
# ```
|
11114
|
+
|
11115
|
+
# ### 字段说明:
|
11116
|
+
|
11117
|
+
# | 字段名 | 类型 | 说明 |
|
11118
|
+
# |--------------|--------|----------------------------------------------------------------------|
|
11119
|
+
# | `table_style` | String | 指定表格内容的输出格式。可用值:<br>• `"html"`:以 HTML 表格形式返回,适合网页展示。<br>• `"md"`:以 Markdown 表格语法返回,适合文档或 Markdown 渲染环境。|
|
11120
|
+
# @type SplitRule: String
|
11121
|
+
# @param UpdatePeriodInfo: 文档更新频率
|
11122
|
+
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
11123
|
+
|
11124
|
+
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId, :IsDownload, :DuplicateFileHandles, :SplitRule, :UpdatePeriodInfo
|
11125
|
+
|
11126
|
+
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, isdownload=nil, duplicatefilehandles=nil, splitrule=nil, updateperiodinfo=nil)
|
10582
11127
|
@BotBizId = botbizid
|
10583
11128
|
@FileName = filename
|
10584
11129
|
@FileType = filetype
|
@@ -10598,6 +11143,8 @@ module TencentCloud
|
|
10598
11143
|
@CateBizId = catebizid
|
10599
11144
|
@IsDownload = isdownload
|
10600
11145
|
@DuplicateFileHandles = duplicatefilehandles
|
11146
|
+
@SplitRule = splitrule
|
11147
|
+
@UpdatePeriodInfo = updateperiodinfo
|
10601
11148
|
end
|
10602
11149
|
|
10603
11150
|
def deserialize(params)
|
@@ -10634,6 +11181,11 @@ module TencentCloud
|
|
10634
11181
|
@DuplicateFileHandles << duplicatefilehandle_tmp
|
10635
11182
|
end
|
10636
11183
|
end
|
11184
|
+
@SplitRule = params['SplitRule']
|
11185
|
+
unless params['UpdatePeriodInfo'].nil?
|
11186
|
+
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
11187
|
+
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
11188
|
+
end
|
10637
11189
|
end
|
10638
11190
|
end
|
10639
11191
|
|
@@ -10707,35 +11259,72 @@ module TencentCloud
|
|
10707
11259
|
# @param StrategyType: 检索策略类型 0:混合检索,1:语义检索
|
10708
11260
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10709
11261
|
# @type StrategyType: Integer
|
10710
|
-
# @param TableEnhancement: Excel
|
11262
|
+
# @param TableEnhancement: Excel检索增强开关, false关闭,true打开
|
10711
11263
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10712
11264
|
# @type TableEnhancement: Boolean
|
11265
|
+
# @param EmbeddingModel: 向量模型
|
11266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11267
|
+
# @type EmbeddingModel: String
|
11268
|
+
# @param RerankModelSwitch: 结果重排序开关, on打开,off关闭
|
11269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11270
|
+
# @type RerankModelSwitch: String
|
11271
|
+
# @param RerankModel: 结果重排序模型
|
11272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11273
|
+
# @type RerankModel: String
|
10713
11274
|
|
10714
|
-
attr_accessor :StrategyType, :TableEnhancement
|
11275
|
+
attr_accessor :StrategyType, :TableEnhancement, :EmbeddingModel, :RerankModelSwitch, :RerankModel
|
10715
11276
|
|
10716
|
-
def initialize(strategytype=nil, tableenhancement=nil)
|
11277
|
+
def initialize(strategytype=nil, tableenhancement=nil, embeddingmodel=nil, rerankmodelswitch=nil, rerankmodel=nil)
|
10717
11278
|
@StrategyType = strategytype
|
10718
11279
|
@TableEnhancement = tableenhancement
|
11280
|
+
@EmbeddingModel = embeddingmodel
|
11281
|
+
@RerankModelSwitch = rerankmodelswitch
|
11282
|
+
@RerankModel = rerankmodel
|
10719
11283
|
end
|
10720
11284
|
|
10721
11285
|
def deserialize(params)
|
10722
11286
|
@StrategyType = params['StrategyType']
|
10723
11287
|
@TableEnhancement = params['TableEnhancement']
|
11288
|
+
@EmbeddingModel = params['EmbeddingModel']
|
11289
|
+
@RerankModelSwitch = params['RerankModelSwitch']
|
11290
|
+
@RerankModel = params['RerankModel']
|
10724
11291
|
end
|
10725
11292
|
end
|
10726
11293
|
|
10727
11294
|
# 共享知识库配置
|
10728
11295
|
class ShareKnowledgeBase < TencentCloud::Common::AbstractModel
|
10729
11296
|
# @param KnowledgeBizId: 共享知识库ID
|
11297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10730
11298
|
# @type KnowledgeBizId: String
|
10731
11299
|
# @param SearchRange: 检索范围
|
11300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10732
11301
|
# @type SearchRange: :class:`Tencentcloud::Lke.v20231130.models.SearchRange`
|
11302
|
+
# @param KnowledgeModelConfig: 知识库模型设置
|
11303
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11304
|
+
# @type KnowledgeModelConfig: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeModelConfig`
|
11305
|
+
# @param SearchStrategy: 检索策略配置
|
11306
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11307
|
+
# @type SearchStrategy: :class:`Tencentcloud::Lke.v20231130.models.SearchStrategy`
|
11308
|
+
# @param Search: 检索配置
|
11309
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11310
|
+
# @type Search: Array
|
11311
|
+
# @param ReplyFlexibility: // 问答-回复灵活度 1:已采纳答案直接回复 2:已采纳润色后回复
|
11312
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11313
|
+
# @type ReplyFlexibility: Integer
|
11314
|
+
# @param KnowledgeName: 共享知识库名称
|
11315
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11316
|
+
# @type KnowledgeName: String
|
10733
11317
|
|
10734
|
-
attr_accessor :KnowledgeBizId, :SearchRange
|
11318
|
+
attr_accessor :KnowledgeBizId, :SearchRange, :KnowledgeModelConfig, :SearchStrategy, :Search, :ReplyFlexibility, :KnowledgeName
|
10735
11319
|
|
10736
|
-
def initialize(knowledgebizid=nil, searchrange=nil)
|
11320
|
+
def initialize(knowledgebizid=nil, searchrange=nil, knowledgemodelconfig=nil, searchstrategy=nil, search=nil, replyflexibility=nil, knowledgename=nil)
|
10737
11321
|
@KnowledgeBizId = knowledgebizid
|
10738
11322
|
@SearchRange = searchrange
|
11323
|
+
@KnowledgeModelConfig = knowledgemodelconfig
|
11324
|
+
@SearchStrategy = searchstrategy
|
11325
|
+
@Search = search
|
11326
|
+
@ReplyFlexibility = replyflexibility
|
11327
|
+
@KnowledgeName = knowledgename
|
10739
11328
|
end
|
10740
11329
|
|
10741
11330
|
def deserialize(params)
|
@@ -10744,6 +11333,24 @@ module TencentCloud
|
|
10744
11333
|
@SearchRange = SearchRange.new
|
10745
11334
|
@SearchRange.deserialize(params['SearchRange'])
|
10746
11335
|
end
|
11336
|
+
unless params['KnowledgeModelConfig'].nil?
|
11337
|
+
@KnowledgeModelConfig = KnowledgeModelConfig.new
|
11338
|
+
@KnowledgeModelConfig.deserialize(params['KnowledgeModelConfig'])
|
11339
|
+
end
|
11340
|
+
unless params['SearchStrategy'].nil?
|
11341
|
+
@SearchStrategy = SearchStrategy.new
|
11342
|
+
@SearchStrategy.deserialize(params['SearchStrategy'])
|
11343
|
+
end
|
11344
|
+
unless params['Search'].nil?
|
11345
|
+
@Search = []
|
11346
|
+
params['Search'].each do |i|
|
11347
|
+
knowledgeqasearch_tmp = KnowledgeQaSearch.new
|
11348
|
+
knowledgeqasearch_tmp.deserialize(i)
|
11349
|
+
@Search << knowledgeqasearch_tmp
|
11350
|
+
end
|
11351
|
+
end
|
11352
|
+
@ReplyFlexibility = params['ReplyFlexibility']
|
11353
|
+
@KnowledgeName = params['KnowledgeName']
|
10747
11354
|
end
|
10748
11355
|
end
|
10749
11356
|
|
@@ -11042,16 +11649,19 @@ module TencentCloud
|
|
11042
11649
|
# @type VarDefaultValue: String
|
11043
11650
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
11044
11651
|
# @type VarDefaultFileName: String
|
11652
|
+
# @param VarModuleType: 变量类型
|
11653
|
+
# @type VarModuleType: Integer
|
11045
11654
|
|
11046
|
-
attr_accessor :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
11655
|
+
attr_accessor :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
11047
11656
|
|
11048
|
-
def initialize(varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
|
11657
|
+
def initialize(varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil, varmoduletype=nil)
|
11049
11658
|
@VarId = varid
|
11050
11659
|
@VarName = varname
|
11051
11660
|
@VarDesc = vardesc
|
11052
11661
|
@VarType = vartype
|
11053
11662
|
@VarDefaultValue = vardefaultvalue
|
11054
11663
|
@VarDefaultFileName = vardefaultfilename
|
11664
|
+
@VarModuleType = varmoduletype
|
11055
11665
|
end
|
11056
11666
|
|
11057
11667
|
def deserialize(params)
|
@@ -11061,6 +11671,7 @@ module TencentCloud
|
|
11061
11671
|
@VarType = params['VarType']
|
11062
11672
|
@VarDefaultValue = params['VarDefaultValue']
|
11063
11673
|
@VarDefaultFileName = params['VarDefaultFileName']
|
11674
|
+
@VarModuleType = params['VarModuleType']
|
11064
11675
|
end
|
11065
11676
|
end
|
11066
11677
|
|
@@ -11284,6 +11895,23 @@ module TencentCloud
|
|
11284
11895
|
end
|
11285
11896
|
end
|
11286
11897
|
|
11898
|
+
# 更新时间策略
|
11899
|
+
class UpdatePeriodInfo < TencentCloud::Common::AbstractModel
|
11900
|
+
# @param UpdatePeriodH: 文档更新频率类型:0不更新 -H 小时粒度,当前仅支持24(1天),72(3天),168(7天) 仅source=2 腾讯文档类型有效
|
11901
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11902
|
+
# @type UpdatePeriodH: Integer
|
11903
|
+
|
11904
|
+
attr_accessor :UpdatePeriodH
|
11905
|
+
|
11906
|
+
def initialize(updateperiodh=nil)
|
11907
|
+
@UpdatePeriodH = updateperiodh
|
11908
|
+
end
|
11909
|
+
|
11910
|
+
def deserialize(params)
|
11911
|
+
@UpdatePeriodH = params['UpdatePeriodH']
|
11912
|
+
end
|
11913
|
+
end
|
11914
|
+
|
11287
11915
|
# UpdateSharedKnowledge请求参数结构体
|
11288
11916
|
class UpdateSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
11289
11917
|
# @param KnowledgeBizId: 共享知识库业务ID
|
@@ -11343,10 +11971,12 @@ module TencentCloud
|
|
11343
11971
|
# @type VarDefaultValue: String
|
11344
11972
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
11345
11973
|
# @type VarDefaultFileName: String
|
11974
|
+
# @param VarModuleType: 变量类型
|
11975
|
+
# @type VarModuleType: Integer
|
11346
11976
|
|
11347
|
-
attr_accessor :AppBizId, :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
11977
|
+
attr_accessor :AppBizId, :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
11348
11978
|
|
11349
|
-
def initialize(appbizid=nil, varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
|
11979
|
+
def initialize(appbizid=nil, varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil, varmoduletype=nil)
|
11350
11980
|
@AppBizId = appbizid
|
11351
11981
|
@VarId = varid
|
11352
11982
|
@VarName = varname
|
@@ -11354,6 +11984,7 @@ module TencentCloud
|
|
11354
11984
|
@VarType = vartype
|
11355
11985
|
@VarDefaultValue = vardefaultvalue
|
11356
11986
|
@VarDefaultFileName = vardefaultfilename
|
11987
|
+
@VarModuleType = varmoduletype
|
11357
11988
|
end
|
11358
11989
|
|
11359
11990
|
def deserialize(params)
|
@@ -11364,6 +11995,7 @@ module TencentCloud
|
|
11364
11995
|
@VarType = params['VarType']
|
11365
11996
|
@VarDefaultValue = params['VarDefaultValue']
|
11366
11997
|
@VarDefaultFileName = params['VarDefaultFileName']
|
11998
|
+
@VarModuleType = params['VarModuleType']
|
11367
11999
|
end
|
11368
12000
|
end
|
11369
12001
|
|
@@ -11629,10 +12261,14 @@ module TencentCloud
|
|
11629
12261
|
# @param WorkflowReleaseTime: 工作流发布时间,unix时间戳
|
11630
12262
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11631
12263
|
# @type WorkflowReleaseTime: String
|
12264
|
+
# @param PendingMessages: 中间消息
|
12265
|
+
# @type PendingMessages: Array
|
12266
|
+
# @param OptionCardIndex: 选项卡索引
|
12267
|
+
# @type OptionCardIndex: :class:`Tencentcloud::Lke.v20231130.models.OptionCardIndex`
|
11632
12268
|
|
11633
|
-
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime
|
12269
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex
|
11634
12270
|
|
11635
|
-
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil)
|
12271
|
+
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil, pendingmessages=nil, optioncardindex=nil)
|
11636
12272
|
@WorkflowId = workflowid
|
11637
12273
|
@WorkflowName = workflowname
|
11638
12274
|
@WorkflowRunId = workflowrunid
|
@@ -11640,6 +12276,8 @@ module TencentCloud
|
|
11640
12276
|
@OptionCards = optioncards
|
11641
12277
|
@Outputs = outputs
|
11642
12278
|
@WorkflowReleaseTime = workflowreleasetime
|
12279
|
+
@PendingMessages = pendingmessages
|
12280
|
+
@OptionCardIndex = optioncardindex
|
11643
12281
|
end
|
11644
12282
|
|
11645
12283
|
def deserialize(params)
|
@@ -11657,6 +12295,11 @@ module TencentCloud
|
|
11657
12295
|
@OptionCards = params['OptionCards']
|
11658
12296
|
@Outputs = params['Outputs']
|
11659
12297
|
@WorkflowReleaseTime = params['WorkflowReleaseTime']
|
12298
|
+
@PendingMessages = params['PendingMessages']
|
12299
|
+
unless params['OptionCardIndex'].nil?
|
12300
|
+
@OptionCardIndex = OptionCardIndex.new
|
12301
|
+
@OptionCardIndex.deserialize(params['OptionCardIndex'])
|
12302
|
+
end
|
11660
12303
|
end
|
11661
12304
|
end
|
11662
12305
|
|
@@ -11802,6 +12445,8 @@ module TencentCloud
|
|
11802
12445
|
# @type WorkflowId: String
|
11803
12446
|
# @param Name: 名称
|
11804
12447
|
# @type Name: String
|
12448
|
+
# @param Output: 工作流输出
|
12449
|
+
# @type Output: String
|
11805
12450
|
# @param State: 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
|
11806
12451
|
# @type State: Integer
|
11807
12452
|
# @param FailMessage: 错误信息
|
@@ -11823,14 +12468,15 @@ module TencentCloud
|
|
11823
12468
|
# @param CustomVariables: API参数配置
|
11824
12469
|
# @type CustomVariables: Array
|
11825
12470
|
|
11826
|
-
attr_accessor :RunEnv, :AppBizId, :WorkflowRunId, :WorkflowId, :Name, :State, :FailMessage, :TotalTokens, :CreateTime, :StartTime, :EndTime, :DialogJson, :Query, :MainModelName, :CustomVariables
|
12471
|
+
attr_accessor :RunEnv, :AppBizId, :WorkflowRunId, :WorkflowId, :Name, :Output, :State, :FailMessage, :TotalTokens, :CreateTime, :StartTime, :EndTime, :DialogJson, :Query, :MainModelName, :CustomVariables
|
11827
12472
|
|
11828
|
-
def initialize(runenv=nil, appbizid=nil, workflowrunid=nil, workflowid=nil, name=nil, state=nil, failmessage=nil, totaltokens=nil, createtime=nil, starttime=nil, endtime=nil, dialogjson=nil, query=nil, mainmodelname=nil, customvariables=nil)
|
12473
|
+
def initialize(runenv=nil, appbizid=nil, workflowrunid=nil, workflowid=nil, name=nil, output=nil, state=nil, failmessage=nil, totaltokens=nil, createtime=nil, starttime=nil, endtime=nil, dialogjson=nil, query=nil, mainmodelname=nil, customvariables=nil)
|
11829
12474
|
@RunEnv = runenv
|
11830
12475
|
@AppBizId = appbizid
|
11831
12476
|
@WorkflowRunId = workflowrunid
|
11832
12477
|
@WorkflowId = workflowid
|
11833
12478
|
@Name = name
|
12479
|
+
@Output = output
|
11834
12480
|
@State = state
|
11835
12481
|
@FailMessage = failmessage
|
11836
12482
|
@TotalTokens = totaltokens
|
@@ -11849,6 +12495,7 @@ module TencentCloud
|
|
11849
12495
|
@WorkflowRunId = params['WorkflowRunId']
|
11850
12496
|
@WorkflowId = params['WorkflowId']
|
11851
12497
|
@Name = params['Name']
|
12498
|
+
@Output = params['Output']
|
11852
12499
|
@State = params['State']
|
11853
12500
|
@FailMessage = params['FailMessage']
|
11854
12501
|
@TotalTokens = params['TotalTokens']
|