tencentcloud-sdk-lke 3.0.1122 → 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 -1
- data/lib/v20231130/models.rb +782 -91
- 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
|
|
@@ -2371,19 +2492,26 @@ module TencentCloud
|
|
2371
2492
|
# @type KnowledgeDescription: String
|
2372
2493
|
# @param EmbeddingModel: Embedding模型,字符数量上限128
|
2373
2494
|
# @type EmbeddingModel: String
|
2495
|
+
# @param KnowledgeType: 共享知识库类型,0普通,1公众号
|
2496
|
+
# @type KnowledgeType: Integer
|
2374
2497
|
|
2375
|
-
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
|
2376
2502
|
|
2377
|
-
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil)
|
2503
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, knowledgetype=nil)
|
2378
2504
|
@KnowledgeName = knowledgename
|
2379
2505
|
@KnowledgeDescription = knowledgedescription
|
2380
2506
|
@EmbeddingModel = embeddingmodel
|
2507
|
+
@KnowledgeType = knowledgetype
|
2381
2508
|
end
|
2382
2509
|
|
2383
2510
|
def deserialize(params)
|
2384
2511
|
@KnowledgeName = params['KnowledgeName']
|
2385
2512
|
@KnowledgeDescription = params['KnowledgeDescription']
|
2386
2513
|
@EmbeddingModel = params['EmbeddingModel']
|
2514
|
+
@KnowledgeType = params['KnowledgeType']
|
2387
2515
|
end
|
2388
2516
|
end
|
2389
2517
|
|
@@ -2421,16 +2549,19 @@ module TencentCloud
|
|
2421
2549
|
# @type VarDefaultValue: String
|
2422
2550
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
2423
2551
|
# @type VarDefaultFileName: String
|
2552
|
+
# @param VarModuleType: 参数类型
|
2553
|
+
# @type VarModuleType: Integer
|
2424
2554
|
|
2425
|
-
attr_accessor :AppBizId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
2555
|
+
attr_accessor :AppBizId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
2426
2556
|
|
2427
|
-
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)
|
2428
2558
|
@AppBizId = appbizid
|
2429
2559
|
@VarName = varname
|
2430
2560
|
@VarDesc = vardesc
|
2431
2561
|
@VarType = vartype
|
2432
2562
|
@VarDefaultValue = vardefaultvalue
|
2433
2563
|
@VarDefaultFileName = vardefaultfilename
|
2564
|
+
@VarModuleType = varmoduletype
|
2434
2565
|
end
|
2435
2566
|
|
2436
2567
|
def deserialize(params)
|
@@ -2440,6 +2571,7 @@ module TencentCloud
|
|
2440
2571
|
@VarType = params['VarType']
|
2441
2572
|
@VarDefaultValue = params['VarDefaultValue']
|
2442
2573
|
@VarDefaultFileName = params['VarDefaultFileName']
|
2574
|
+
@VarModuleType = params['VarModuleType']
|
2443
2575
|
end
|
2444
2576
|
end
|
2445
2577
|
|
@@ -2941,17 +3073,21 @@ module TencentCloud
|
|
2941
3073
|
# @type AppBizId: String
|
2942
3074
|
# @param VarId: 变量ID
|
2943
3075
|
# @type VarId: String
|
3076
|
+
# @param VarModuleType: 参数类型
|
3077
|
+
# @type VarModuleType: Integer
|
2944
3078
|
|
2945
|
-
attr_accessor :AppBizId, :VarId
|
3079
|
+
attr_accessor :AppBizId, :VarId, :VarModuleType
|
2946
3080
|
|
2947
|
-
def initialize(appbizid=nil, varid=nil)
|
3081
|
+
def initialize(appbizid=nil, varid=nil, varmoduletype=nil)
|
2948
3082
|
@AppBizId = appbizid
|
2949
3083
|
@VarId = varid
|
3084
|
+
@VarModuleType = varmoduletype
|
2950
3085
|
end
|
2951
3086
|
|
2952
3087
|
def deserialize(params)
|
2953
3088
|
@AppBizId = params['AppBizId']
|
2954
3089
|
@VarId = params['VarId']
|
3090
|
+
@VarModuleType = params['VarModuleType']
|
2955
3091
|
end
|
2956
3092
|
end
|
2957
3093
|
|
@@ -3233,10 +3369,12 @@ module TencentCloud
|
|
3233
3369
|
# @type SubScenes: Array
|
3234
3370
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
3235
3371
|
# @type AppType: String
|
3372
|
+
# @param SpaceId: 空间id
|
3373
|
+
# @type SpaceId: String
|
3236
3374
|
|
3237
|
-
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
|
3238
3376
|
|
3239
|
-
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)
|
3240
3378
|
@UinAccount = uinaccount
|
3241
3379
|
@LoginUin = loginuin
|
3242
3380
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -3247,6 +3385,7 @@ module TencentCloud
|
|
3247
3385
|
@AppBizIds = appbizids
|
3248
3386
|
@SubScenes = subscenes
|
3249
3387
|
@AppType = apptype
|
3388
|
+
@SpaceId = spaceid
|
3250
3389
|
end
|
3251
3390
|
|
3252
3391
|
def deserialize(params)
|
@@ -3260,6 +3399,7 @@ module TencentCloud
|
|
3260
3399
|
@AppBizIds = params['AppBizIds']
|
3261
3400
|
@SubScenes = params['SubScenes']
|
3262
3401
|
@AppType = params['AppType']
|
3402
|
+
@SpaceId = params['SpaceId']
|
3263
3403
|
end
|
3264
3404
|
end
|
3265
3405
|
|
@@ -3309,10 +3449,12 @@ module TencentCloud
|
|
3309
3449
|
# @type SubBizType: String
|
3310
3450
|
# @param AppBizIds: 应用id列表
|
3311
3451
|
# @type AppBizIds: Array
|
3452
|
+
# @param SpaceId: 空间id
|
3453
|
+
# @type SpaceId: String
|
3312
3454
|
|
3313
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :AppBizIds
|
3455
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :AppBizIds, :SpaceId
|
3314
3456
|
|
3315
|
-
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)
|
3316
3458
|
@ModelName = modelname
|
3317
3459
|
@StartTime = starttime
|
3318
3460
|
@EndTime = endtime
|
@@ -3321,6 +3463,7 @@ module TencentCloud
|
|
3321
3463
|
@LoginSubAccountUin = loginsubaccountuin
|
3322
3464
|
@SubBizType = subbiztype
|
3323
3465
|
@AppBizIds = appbizids
|
3466
|
+
@SpaceId = spaceid
|
3324
3467
|
end
|
3325
3468
|
|
3326
3469
|
def deserialize(params)
|
@@ -3332,6 +3475,7 @@ module TencentCloud
|
|
3332
3475
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
3333
3476
|
@SubBizType = params['SubBizType']
|
3334
3477
|
@AppBizIds = params['AppBizIds']
|
3478
|
+
@SpaceId = params['SpaceId']
|
3335
3479
|
end
|
3336
3480
|
end
|
3337
3481
|
|
@@ -3373,14 +3517,17 @@ module TencentCloud
|
|
3373
3517
|
# @type EndTime: String
|
3374
3518
|
# @param AppBizIds: 应用id列表
|
3375
3519
|
# @type AppBizIds: Array
|
3520
|
+
# @param SpaceId: 空间id
|
3521
|
+
# @type SpaceId: String
|
3376
3522
|
|
3377
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :AppBizIds
|
3523
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :AppBizIds, :SpaceId
|
3378
3524
|
|
3379
|
-
def initialize(modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
3525
|
+
def initialize(modelname=nil, starttime=nil, endtime=nil, appbizids=nil, spaceid=nil)
|
3380
3526
|
@ModelName = modelname
|
3381
3527
|
@StartTime = starttime
|
3382
3528
|
@EndTime = endtime
|
3383
3529
|
@AppBizIds = appbizids
|
3530
|
+
@SpaceId = spaceid
|
3384
3531
|
end
|
3385
3532
|
|
3386
3533
|
def deserialize(params)
|
@@ -3388,6 +3535,7 @@ module TencentCloud
|
|
3388
3535
|
@StartTime = params['StartTime']
|
3389
3536
|
@EndTime = params['EndTime']
|
3390
3537
|
@AppBizIds = params['AppBizIds']
|
3538
|
+
@SpaceId = params['SpaceId']
|
3391
3539
|
end
|
3392
3540
|
end
|
3393
3541
|
|
@@ -3494,12 +3642,18 @@ module TencentCloud
|
|
3494
3642
|
# @param IsDownload: 是否支持下载
|
3495
3643
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3496
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`
|
3497
3651
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3498
3652
|
# @type RequestId: String
|
3499
3653
|
|
3500
|
-
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
|
3501
3655
|
|
3502
|
-
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)
|
3503
3657
|
@DocBizId = docbizid
|
3504
3658
|
@FileName = filename
|
3505
3659
|
@FileType = filetype
|
@@ -3526,6 +3680,8 @@ module TencentCloud
|
|
3526
3680
|
@CateBizId = catebizid
|
3527
3681
|
@IsDisabled = isdisabled
|
3528
3682
|
@IsDownload = isdownload
|
3683
|
+
@SplitRule = splitrule
|
3684
|
+
@UpdatePeriodInfo = updateperiodinfo
|
3529
3685
|
@RequestId = requestid
|
3530
3686
|
end
|
3531
3687
|
|
@@ -3563,6 +3719,11 @@ module TencentCloud
|
|
3563
3719
|
@CateBizId = params['CateBizId']
|
3564
3720
|
@IsDisabled = params['IsDisabled']
|
3565
3721
|
@IsDownload = params['IsDownload']
|
3722
|
+
@SplitRule = params['SplitRule']
|
3723
|
+
unless params['UpdatePeriodInfo'].nil?
|
3724
|
+
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
3725
|
+
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
3726
|
+
end
|
3566
3727
|
@RequestId = params['RequestId']
|
3567
3728
|
end
|
3568
3729
|
end
|
@@ -3571,15 +3732,19 @@ module TencentCloud
|
|
3571
3732
|
class DescribeKnowledgeUsagePieGraphRequest < TencentCloud::Common::AbstractModel
|
3572
3733
|
# @param AppBizIds: 应用ID数组
|
3573
3734
|
# @type AppBizIds: Array
|
3735
|
+
# @param SpaceId: 空间列表
|
3736
|
+
# @type SpaceId: String
|
3574
3737
|
|
3575
|
-
attr_accessor :AppBizIds
|
3738
|
+
attr_accessor :AppBizIds, :SpaceId
|
3576
3739
|
|
3577
|
-
def initialize(appbizids=nil)
|
3740
|
+
def initialize(appbizids=nil, spaceid=nil)
|
3578
3741
|
@AppBizIds = appbizids
|
3742
|
+
@SpaceId = spaceid
|
3579
3743
|
end
|
3580
3744
|
|
3581
3745
|
def deserialize(params)
|
3582
3746
|
@AppBizIds = params['AppBizIds']
|
3747
|
+
@SpaceId = params['SpaceId']
|
3583
3748
|
end
|
3584
3749
|
end
|
3585
3750
|
|
@@ -4078,10 +4243,12 @@ module TencentCloud
|
|
4078
4243
|
# @type EndTime: String
|
4079
4244
|
# @param AppBizIds: 应用id列表
|
4080
4245
|
# @type AppBizIds: Array
|
4246
|
+
# @param SpaceId: 空间id
|
4247
|
+
# @type SpaceId: String
|
4081
4248
|
|
4082
|
-
attr_accessor :LoginUin, :LoginSubAccountUin, :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
|
4249
|
+
attr_accessor :LoginUin, :LoginSubAccountUin, :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SpaceId
|
4083
4250
|
|
4084
|
-
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)
|
4085
4252
|
@LoginUin = loginuin
|
4086
4253
|
@LoginSubAccountUin = loginsubaccountuin
|
4087
4254
|
@UinAccount = uinaccount
|
@@ -4090,6 +4257,7 @@ module TencentCloud
|
|
4090
4257
|
@StartTime = starttime
|
4091
4258
|
@EndTime = endtime
|
4092
4259
|
@AppBizIds = appbizids
|
4260
|
+
@SpaceId = spaceid
|
4093
4261
|
end
|
4094
4262
|
|
4095
4263
|
def deserialize(params)
|
@@ -4101,6 +4269,7 @@ module TencentCloud
|
|
4101
4269
|
@StartTime = params['StartTime']
|
4102
4270
|
@EndTime = params['EndTime']
|
4103
4271
|
@AppBizIds = params['AppBizIds']
|
4272
|
+
@SpaceId = params['SpaceId']
|
4104
4273
|
end
|
4105
4274
|
end
|
4106
4275
|
|
@@ -4198,7 +4367,7 @@ module TencentCloud
|
|
4198
4367
|
|
4199
4368
|
# DescribeSharedKnowledge返回参数结构体
|
4200
4369
|
class DescribeSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
4201
|
-
# @param Info:
|
4370
|
+
# @param Info: 知识库详情列表
|
4202
4371
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4203
4372
|
# @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeDetailInfo`
|
4204
4373
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -4323,10 +4492,12 @@ module TencentCloud
|
|
4323
4492
|
# @type AppBizIds: Array
|
4324
4493
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
4325
4494
|
# @type AppType: String
|
4495
|
+
# @param SubScenes: 筛选子场景
|
4496
|
+
# @type SubScenes: Array
|
4326
4497
|
|
4327
|
-
attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType
|
4498
|
+
attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType, :SubScenes
|
4328
4499
|
|
4329
|
-
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)
|
4330
4501
|
@UinAccount = uinaccount
|
4331
4502
|
@SubBizType = subbiztype
|
4332
4503
|
@ModelName = modelname
|
@@ -4334,6 +4505,7 @@ module TencentCloud
|
|
4334
4505
|
@EndTime = endtime
|
4335
4506
|
@AppBizIds = appbizids
|
4336
4507
|
@AppType = apptype
|
4508
|
+
@SubScenes = subscenes
|
4337
4509
|
end
|
4338
4510
|
|
4339
4511
|
def deserialize(params)
|
@@ -4344,6 +4516,7 @@ module TencentCloud
|
|
4344
4516
|
@EndTime = params['EndTime']
|
4345
4517
|
@AppBizIds = params['AppBizIds']
|
4346
4518
|
@AppType = params['AppType']
|
4519
|
+
@SubScenes = params['SubScenes']
|
4347
4520
|
end
|
4348
4521
|
end
|
4349
4522
|
|
@@ -4418,10 +4591,12 @@ module TencentCloud
|
|
4418
4591
|
# @type SubScenes: Array
|
4419
4592
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
4420
4593
|
# @type AppType: String
|
4594
|
+
# @param SpaceId: 空间id
|
4595
|
+
# @type SpaceId: String
|
4421
4596
|
|
4422
|
-
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
|
4423
4598
|
|
4424
|
-
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)
|
4425
4600
|
@UinAccount = uinaccount
|
4426
4601
|
@LoginUin = loginuin
|
4427
4602
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -4432,6 +4607,7 @@ module TencentCloud
|
|
4432
4607
|
@AppBizIds = appbizids
|
4433
4608
|
@SubScenes = subscenes
|
4434
4609
|
@AppType = apptype
|
4610
|
+
@SpaceId = spaceid
|
4435
4611
|
end
|
4436
4612
|
|
4437
4613
|
def deserialize(params)
|
@@ -4445,6 +4621,7 @@ module TencentCloud
|
|
4445
4621
|
@AppBizIds = params['AppBizIds']
|
4446
4622
|
@SubScenes = params['SubScenes']
|
4447
4623
|
@AppType = params['AppType']
|
4624
|
+
@SpaceId = params['SpaceId']
|
4448
4625
|
end
|
4449
4626
|
end
|
4450
4627
|
|
@@ -5516,10 +5693,12 @@ module TencentCloud
|
|
5516
5693
|
# @type VarType: String
|
5517
5694
|
# @param NeedInternalVar: 是否需要内部变量(默认false)
|
5518
5695
|
# @type NeedInternalVar: Boolean
|
5696
|
+
# @param VarModuleType: 变量类型
|
5697
|
+
# @type VarModuleType: Integer
|
5519
5698
|
|
5520
|
-
attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType, :NeedInternalVar
|
5699
|
+
attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType, :NeedInternalVar, :VarModuleType
|
5521
5700
|
|
5522
|
-
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)
|
5523
5702
|
@AppBizId = appbizid
|
5524
5703
|
@VarIds = varids
|
5525
5704
|
@Keyword = keyword
|
@@ -5527,6 +5706,7 @@ module TencentCloud
|
|
5527
5706
|
@Limit = limit
|
5528
5707
|
@VarType = vartype
|
5529
5708
|
@NeedInternalVar = needinternalvar
|
5709
|
+
@VarModuleType = varmoduletype
|
5530
5710
|
end
|
5531
5711
|
|
5532
5712
|
def deserialize(params)
|
@@ -5537,6 +5717,7 @@ module TencentCloud
|
|
5537
5717
|
@Limit = params['Limit']
|
5538
5718
|
@VarType = params['VarType']
|
5539
5719
|
@NeedInternalVar = params['NeedInternalVar']
|
5720
|
+
@VarModuleType = params['VarModuleType']
|
5540
5721
|
end
|
5541
5722
|
end
|
5542
5723
|
|
@@ -5976,6 +6157,28 @@ module TencentCloud
|
|
5976
6157
|
end
|
5977
6158
|
end
|
5978
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
|
+
|
5979
6182
|
# 共享知识库基础信息
|
5980
6183
|
class KnowledgeBaseInfo < TencentCloud::Common::AbstractModel
|
5981
6184
|
# @param KnowledgeBizId: 共享知识库业务ID
|
@@ -5994,16 +6197,30 @@ module TencentCloud
|
|
5994
6197
|
# @param UpdateTime: 更新时间
|
5995
6198
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5996
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
|
5997
6210
|
|
5998
|
-
attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime
|
6211
|
+
attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime, :KnowledgeType, :OwnerStaffId, :DocTotal, :ProcessingFlags
|
5999
6212
|
|
6000
|
-
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)
|
6001
6214
|
@KnowledgeBizId = knowledgebizid
|
6002
6215
|
@KnowledgeName = knowledgename
|
6003
6216
|
@KnowledgeDescription = knowledgedescription
|
6004
6217
|
@EmbeddingModel = embeddingmodel
|
6005
6218
|
@QaExtractModel = qaextractmodel
|
6006
6219
|
@UpdateTime = updatetime
|
6220
|
+
@KnowledgeType = knowledgetype
|
6221
|
+
@OwnerStaffId = ownerstaffid
|
6222
|
+
@DocTotal = doctotal
|
6223
|
+
@ProcessingFlags = processingflags
|
6007
6224
|
end
|
6008
6225
|
|
6009
6226
|
def deserialize(params)
|
@@ -6013,6 +6230,10 @@ module TencentCloud
|
|
6013
6230
|
@EmbeddingModel = params['EmbeddingModel']
|
6014
6231
|
@QaExtractModel = params['QaExtractModel']
|
6015
6232
|
@UpdateTime = params['UpdateTime']
|
6233
|
+
@KnowledgeType = params['KnowledgeType']
|
6234
|
+
@OwnerStaffId = params['OwnerStaffId']
|
6235
|
+
@DocTotal = params['DocTotal']
|
6236
|
+
@ProcessingFlags = params['ProcessingFlags']
|
6016
6237
|
end
|
6017
6238
|
end
|
6018
6239
|
|
@@ -6099,13 +6320,16 @@ module TencentCloud
|
|
6099
6320
|
# @param User: 用户信息
|
6100
6321
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6101
6322
|
# @type User: :class:`Tencentcloud::Lke.v20231130.models.UserBaseInfo`
|
6323
|
+
# @param PermissionIds: 权限位信息
|
6324
|
+
# @type PermissionIds: Array
|
6102
6325
|
|
6103
|
-
attr_accessor :Knowledge, :AppList, :User
|
6326
|
+
attr_accessor :Knowledge, :AppList, :User, :PermissionIds
|
6104
6327
|
|
6105
|
-
def initialize(knowledge=nil, applist=nil, user=nil)
|
6328
|
+
def initialize(knowledge=nil, applist=nil, user=nil, permissionids=nil)
|
6106
6329
|
@Knowledge = knowledge
|
6107
6330
|
@AppList = applist
|
6108
6331
|
@User = user
|
6332
|
+
@PermissionIds = permissionids
|
6109
6333
|
end
|
6110
6334
|
|
6111
6335
|
def deserialize(params)
|
@@ -6125,6 +6349,59 @@ module TencentCloud
|
|
6125
6349
|
@User = UserBaseInfo.new
|
6126
6350
|
@User.deserialize(params['User'])
|
6127
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
|
6128
6405
|
end
|
6129
6406
|
end
|
6130
6407
|
|
@@ -6188,6 +6465,7 @@ module TencentCloud
|
|
6188
6465
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6189
6466
|
# @type AiCall: :class:`Tencentcloud::Lke.v20231130.models.AICallConfig`
|
6190
6467
|
# @param ShareKnowledgeBases: 共享知识库关联配置
|
6468
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6191
6469
|
# @type ShareKnowledgeBases: Array
|
6192
6470
|
# @param BackgroundImage: 背景图相关信息
|
6193
6471
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -6195,10 +6473,23 @@ module TencentCloud
|
|
6195
6473
|
# @param OpeningQuestions: 开场问题
|
6196
6474
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6197
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`
|
6198
6489
|
|
6199
|
-
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
|
6200
6491
|
|
6201
|
-
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)
|
6202
6493
|
@Greeting = greeting
|
6203
6494
|
@RoleDescription = roledescription
|
6204
6495
|
@Model = model
|
@@ -6217,6 +6508,11 @@ module TencentCloud
|
|
6217
6508
|
@ShareKnowledgeBases = shareknowledgebases
|
6218
6509
|
@BackgroundImage = backgroundimage
|
6219
6510
|
@OpeningQuestions = openingquestions
|
6511
|
+
@LongMemoryOpen = longmemoryopen
|
6512
|
+
@LongMemoryDay = longmemoryday
|
6513
|
+
@Agent = agent
|
6514
|
+
@KnowledgeModelConfig = knowledgemodelconfig
|
6515
|
+
@KnowledgeAdvancedConfig = knowledgeadvancedconfig
|
6220
6516
|
end
|
6221
6517
|
|
6222
6518
|
def deserialize(params)
|
@@ -6293,6 +6589,20 @@ module TencentCloud
|
|
6293
6589
|
@BackgroundImage.deserialize(params['BackgroundImage'])
|
6294
6590
|
end
|
6295
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
|
6296
6606
|
end
|
6297
6607
|
end
|
6298
6608
|
|
@@ -6488,6 +6798,38 @@ module TencentCloud
|
|
6488
6798
|
end
|
6489
6799
|
end
|
6490
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
|
+
|
6491
6833
|
# 检索知识
|
6492
6834
|
class KnowledgeSummary < TencentCloud::Common::AbstractModel
|
6493
6835
|
# @param Type: 1是问答 2是文档片段
|
@@ -6523,14 +6865,22 @@ module TencentCloud
|
|
6523
6865
|
# @param QaExtractModel: 问答提取模型
|
6524
6866
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6525
6867
|
# @type QaExtractModel: String
|
6868
|
+
# @param OwnerStaffId: 拥有者id
|
6869
|
+
# @type OwnerStaffId: String
|
6526
6870
|
|
6527
|
-
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
|
6528
6877
|
|
6529
|
-
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil)
|
6878
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, ownerstaffid=nil)
|
6530
6879
|
@KnowledgeName = knowledgename
|
6531
6880
|
@KnowledgeDescription = knowledgedescription
|
6532
6881
|
@EmbeddingModel = embeddingmodel
|
6533
6882
|
@QaExtractModel = qaextractmodel
|
6883
|
+
@OwnerStaffId = ownerstaffid
|
6534
6884
|
end
|
6535
6885
|
|
6536
6886
|
def deserialize(params)
|
@@ -6538,6 +6888,7 @@ module TencentCloud
|
|
6538
6888
|
@KnowledgeDescription = params['KnowledgeDescription']
|
6539
6889
|
@EmbeddingModel = params['EmbeddingModel']
|
6540
6890
|
@QaExtractModel = params['QaExtractModel']
|
6891
|
+
@OwnerStaffId = params['OwnerStaffId']
|
6541
6892
|
end
|
6542
6893
|
end
|
6543
6894
|
|
@@ -6593,19 +6944,23 @@ module TencentCloud
|
|
6593
6944
|
# @type PageSize: Integer
|
6594
6945
|
# @param AppBizIds: 应用ID列表
|
6595
6946
|
# @type AppBizIds: Array
|
6947
|
+
# @param SpaceId: 空间列表
|
6948
|
+
# @type SpaceId: String
|
6596
6949
|
|
6597
|
-
attr_accessor :PageNumber, :PageSize, :AppBizIds
|
6950
|
+
attr_accessor :PageNumber, :PageSize, :AppBizIds, :SpaceId
|
6598
6951
|
|
6599
|
-
def initialize(pagenumber=nil, pagesize=nil, appbizids=nil)
|
6952
|
+
def initialize(pagenumber=nil, pagesize=nil, appbizids=nil, spaceid=nil)
|
6600
6953
|
@PageNumber = pagenumber
|
6601
6954
|
@PageSize = pagesize
|
6602
6955
|
@AppBizIds = appbizids
|
6956
|
+
@SpaceId = spaceid
|
6603
6957
|
end
|
6604
6958
|
|
6605
6959
|
def deserialize(params)
|
6606
6960
|
@PageNumber = params['PageNumber']
|
6607
6961
|
@PageSize = params['PageSize']
|
6608
6962
|
@AppBizIds = params['AppBizIds']
|
6963
|
+
@SpaceId = params['SpaceId']
|
6609
6964
|
end
|
6610
6965
|
end
|
6611
6966
|
|
@@ -6652,15 +7007,21 @@ module TencentCloud
|
|
6652
7007
|
# @type Keyword: String
|
6653
7008
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
6654
7009
|
# @type LoginSubAccountUin: String
|
7010
|
+
# @param AgentType: 智能体类型 dialogue:对话智能体,wechat:公众号智能体
|
7011
|
+
# @type AgentType: String
|
7012
|
+
# @param AppStatus: 应用状态 1:未上线 2:运行中
|
7013
|
+
# @type AppStatus: String
|
6655
7014
|
|
6656
|
-
attr_accessor :AppType, :PageSize, :PageNumber, :Keyword, :LoginSubAccountUin
|
7015
|
+
attr_accessor :AppType, :PageSize, :PageNumber, :Keyword, :LoginSubAccountUin, :AgentType, :AppStatus
|
6657
7016
|
|
6658
|
-
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)
|
6659
7018
|
@AppType = apptype
|
6660
7019
|
@PageSize = pagesize
|
6661
7020
|
@PageNumber = pagenumber
|
6662
7021
|
@Keyword = keyword
|
6663
7022
|
@LoginSubAccountUin = loginsubaccountuin
|
7023
|
+
@AgentType = agenttype
|
7024
|
+
@AppStatus = appstatus
|
6664
7025
|
end
|
6665
7026
|
|
6666
7027
|
def deserialize(params)
|
@@ -6669,6 +7030,8 @@ module TencentCloud
|
|
6669
7030
|
@PageNumber = params['PageNumber']
|
6670
7031
|
@Keyword = params['Keyword']
|
6671
7032
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
7033
|
+
@AgentType = params['AgentType']
|
7034
|
+
@AppStatus = params['AppStatus']
|
6672
7035
|
end
|
6673
7036
|
end
|
6674
7037
|
|
@@ -6676,7 +7039,7 @@ module TencentCloud
|
|
6676
7039
|
class ListAppResponse < TencentCloud::Common::AbstractModel
|
6677
7040
|
# @param Total: 数量
|
6678
7041
|
# @type Total: String
|
6679
|
-
# @param List:
|
7042
|
+
# @param List: 应用列表
|
6680
7043
|
# @type List: Array
|
6681
7044
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6682
7045
|
# @type RequestId: String
|
@@ -7109,7 +7472,7 @@ module TencentCloud
|
|
7109
7472
|
# @type AppType: String
|
7110
7473
|
# @param Pattern: 应用模式 standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
7111
7474
|
# @type Pattern: String
|
7112
|
-
# @param ModelCategory: 模型类别 generate:生成模型,thought
|
7475
|
+
# @param ModelCategory: 模型类别 generate:生成模型,thought:思考模型,embedding模型,rerank:rerank模型
|
7113
7476
|
# @type ModelCategory: String
|
7114
7477
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
7115
7478
|
# @type LoginUin: String
|
@@ -7958,9 +8321,9 @@ module TencentCloud
|
|
7958
8321
|
class ListSelectDocRequest < TencentCloud::Common::AbstractModel
|
7959
8322
|
# @param BotBizId: 应用ID
|
7960
8323
|
# @type BotBizId: String
|
7961
|
-
# @param FileName:
|
8324
|
+
# @param FileName: 文档名称。可通过文档名称检索支持生成问答的文档,不支持xlsx、xls、csv格式
|
7962
8325
|
# @type FileName: String
|
7963
|
-
# @param Status:
|
8326
|
+
# @param Status: 文档状态筛选。文档状态对应码为7 审核中、8 审核失败、10 待发布、11 发布中、12 已发布、13 学习中、14 学习失败 20 已过期。其中仅状态为10 待发布、12 已发布的文档支持生成问答
|
7964
8327
|
# @type Status: Array
|
7965
8328
|
|
7966
8329
|
attr_accessor :BotBizId, :FileName, :Status
|
@@ -8013,19 +8376,23 @@ module TencentCloud
|
|
8013
8376
|
# @type PageSize: Integer
|
8014
8377
|
# @param Keyword: 搜索关键字
|
8015
8378
|
# @type Keyword: String
|
8379
|
+
# @param KnowledgeTypes: 共享知识库类型,0普通,1公众号
|
8380
|
+
# @type KnowledgeTypes: Array
|
8016
8381
|
|
8017
|
-
attr_accessor :PageNumber, :PageSize, :Keyword
|
8382
|
+
attr_accessor :PageNumber, :PageSize, :Keyword, :KnowledgeTypes
|
8018
8383
|
|
8019
|
-
def initialize(pagenumber=nil, pagesize=nil, keyword=nil)
|
8384
|
+
def initialize(pagenumber=nil, pagesize=nil, keyword=nil, knowledgetypes=nil)
|
8020
8385
|
@PageNumber = pagenumber
|
8021
8386
|
@PageSize = pagesize
|
8022
8387
|
@Keyword = keyword
|
8388
|
+
@KnowledgeTypes = knowledgetypes
|
8023
8389
|
end
|
8024
8390
|
|
8025
8391
|
def deserialize(params)
|
8026
8392
|
@PageNumber = params['PageNumber']
|
8027
8393
|
@PageSize = params['PageSize']
|
8028
8394
|
@Keyword = params['Keyword']
|
8395
|
+
@KnowledgeTypes = params['KnowledgeTypes']
|
8029
8396
|
end
|
8030
8397
|
end
|
8031
8398
|
|
@@ -8157,10 +8524,12 @@ module TencentCloud
|
|
8157
8524
|
# @type AppType: String
|
8158
8525
|
# @param BillingTag: 账单明细对应的自定义tag
|
8159
8526
|
# @type BillingTag: String
|
8527
|
+
# @param SpaceId: 空间id
|
8528
|
+
# @type SpaceId: String
|
8160
8529
|
|
8161
|
-
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
|
8162
8531
|
|
8163
|
-
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)
|
8164
8533
|
@ModelName = modelname
|
8165
8534
|
@StartTime = starttime
|
8166
8535
|
@EndTime = endtime
|
@@ -8172,6 +8541,7 @@ module TencentCloud
|
|
8172
8541
|
@SubScenes = subscenes
|
8173
8542
|
@AppType = apptype
|
8174
8543
|
@BillingTag = billingtag
|
8544
|
+
@SpaceId = spaceid
|
8175
8545
|
end
|
8176
8546
|
|
8177
8547
|
def deserialize(params)
|
@@ -8186,6 +8556,7 @@ module TencentCloud
|
|
8186
8556
|
@SubScenes = params['SubScenes']
|
8187
8557
|
@AppType = params['AppType']
|
8188
8558
|
@BillingTag = params['BillingTag']
|
8559
|
+
@SpaceId = params['SpaceId']
|
8189
8560
|
end
|
8190
8561
|
end
|
8191
8562
|
|
@@ -8337,10 +8708,22 @@ module TencentCloud
|
|
8337
8708
|
# @type SupportAiCallStatus: Integer
|
8338
8709
|
# @param Concurrency: 专属并发数
|
8339
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
|
8340
8723
|
|
8341
|
-
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
|
8342
8725
|
|
8343
|
-
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)
|
8344
8727
|
@ModelName = modelname
|
8345
8728
|
@ModelDesc = modeldesc
|
8346
8729
|
@AliasName = aliasname
|
@@ -8360,6 +8743,11 @@ module TencentCloud
|
|
8360
8743
|
@IsExclusive = isexclusive
|
8361
8744
|
@SupportAiCallStatus = supportaicallstatus
|
8362
8745
|
@Concurrency = concurrency
|
8746
|
+
@ModelTags = modeltags
|
8747
|
+
@ModelParams = modelparams
|
8748
|
+
@ProviderName = providername
|
8749
|
+
@ProviderAliasName = provideraliasname
|
8750
|
+
@ProviderType = providertype
|
8363
8751
|
end
|
8364
8752
|
|
8365
8753
|
def deserialize(params)
|
@@ -8391,6 +8779,18 @@ module TencentCloud
|
|
8391
8779
|
@IsExclusive = params['IsExclusive']
|
8392
8780
|
@SupportAiCallStatus = params['SupportAiCallStatus']
|
8393
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']
|
8394
8794
|
end
|
8395
8795
|
end
|
8396
8796
|
|
@@ -8405,19 +8805,72 @@ module TencentCloud
|
|
8405
8805
|
# @param Max: 最大值
|
8406
8806
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8407
8807
|
# @type Max: Float
|
8808
|
+
# @param Name: 超参名称
|
8809
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8810
|
+
# @type Name: String
|
8408
8811
|
|
8409
|
-
attr_accessor :Default, :Min, :Max
|
8812
|
+
attr_accessor :Default, :Min, :Max, :Name
|
8410
8813
|
|
8411
|
-
def initialize(default=nil, min=nil, max=nil)
|
8814
|
+
def initialize(default=nil, min=nil, max=nil, name=nil)
|
8412
8815
|
@Default = default
|
8413
8816
|
@Min = min
|
8414
8817
|
@Max = max
|
8818
|
+
@Name = name
|
8415
8819
|
end
|
8416
8820
|
|
8417
8821
|
def deserialize(params)
|
8418
8822
|
@Default = params['Default']
|
8419
8823
|
@Min = params['Min']
|
8420
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']
|
8421
8874
|
end
|
8422
8875
|
end
|
8423
8876
|
|
@@ -8729,10 +9182,16 @@ module TencentCloud
|
|
8729
9182
|
# @type CateBizId: String
|
8730
9183
|
# @param IsDownload: 是否可下载,IsRefer为true并且ReferUrlType为0时,该值才有意义
|
8731
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
|
8732
9191
|
|
8733
|
-
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
|
8734
9193
|
|
8735
|
-
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)
|
8736
9195
|
@BotBizId = botbizid
|
8737
9196
|
@DocBizId = docbizid
|
8738
9197
|
@IsRefer = isrefer
|
@@ -8746,6 +9205,9 @@ module TencentCloud
|
|
8746
9205
|
@ExpireEnd = expireend
|
8747
9206
|
@CateBizId = catebizid
|
8748
9207
|
@IsDownload = isdownload
|
9208
|
+
@ModifyTypes = modifytypes
|
9209
|
+
@UpdatePeriodInfo = updateperiodinfo
|
9210
|
+
@SplitRule = splitrule
|
8749
9211
|
end
|
8750
9212
|
|
8751
9213
|
def deserialize(params)
|
@@ -8769,6 +9231,12 @@ module TencentCloud
|
|
8769
9231
|
@ExpireEnd = params['ExpireEnd']
|
8770
9232
|
@CateBizId = params['CateBizId']
|
8771
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']
|
8772
9240
|
end
|
8773
9241
|
end
|
8774
9242
|
|
@@ -9247,10 +9715,12 @@ module TencentCloud
|
|
9247
9715
|
# @type DocBizId: String
|
9248
9716
|
# @param QaBizId: 问答业务id
|
9249
9717
|
# @type QaBizId: String
|
9718
|
+
# @param Index: 文档索引id
|
9719
|
+
# @type Index: Integer
|
9250
9720
|
|
9251
|
-
attr_accessor :Id, :Url, :Type, :Name, :DocId, :KnowledgeName, :KnowledgeBizId, :DocBizId, :QaBizId
|
9721
|
+
attr_accessor :Id, :Url, :Type, :Name, :DocId, :KnowledgeName, :KnowledgeBizId, :DocBizId, :QaBizId, :Index
|
9252
9722
|
|
9253
|
-
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)
|
9254
9724
|
@Id = id
|
9255
9725
|
@Url = url
|
9256
9726
|
@Type = type
|
@@ -9260,6 +9730,7 @@ module TencentCloud
|
|
9260
9730
|
@KnowledgeBizId = knowledgebizid
|
9261
9731
|
@DocBizId = docbizid
|
9262
9732
|
@QaBizId = qabizid
|
9733
|
+
@Index = index
|
9263
9734
|
end
|
9264
9735
|
|
9265
9736
|
def deserialize(params)
|
@@ -9272,6 +9743,7 @@ module TencentCloud
|
|
9272
9743
|
@KnowledgeBizId = params['KnowledgeBizId']
|
9273
9744
|
@DocBizId = params['DocBizId']
|
9274
9745
|
@QaBizId = params['QaBizId']
|
9746
|
+
@Index = params['Index']
|
9275
9747
|
end
|
9276
9748
|
end
|
9277
9749
|
|
@@ -9500,6 +9972,26 @@ module TencentCloud
|
|
9500
9972
|
end
|
9501
9973
|
end
|
9502
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
|
+
|
9503
9995
|
# 插件参数请求结构
|
9504
9996
|
class PluginToolReqParam < TencentCloud::Common::AbstractModel
|
9505
9997
|
# @param Name: 参数名称
|
@@ -9589,16 +10081,22 @@ module TencentCloud
|
|
9589
10081
|
# @param ResourceStatus: 计费资源状态,1:可用,2:不可用
|
9590
10082
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9591
10083
|
# @type ResourceStatus: Integer
|
10084
|
+
# @param InputCount: 输入消耗 token 数
|
10085
|
+
# @type InputCount: Integer
|
10086
|
+
# @param OutputCount: 输出消耗 token 数
|
10087
|
+
# @type OutputCount: Integer
|
9592
10088
|
|
9593
|
-
attr_accessor :Name, :Title, :Status, :Count, :Debugging, :ResourceStatus
|
10089
|
+
attr_accessor :Name, :Title, :Status, :Count, :Debugging, :ResourceStatus, :InputCount, :OutputCount
|
9594
10090
|
|
9595
|
-
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)
|
9596
10092
|
@Name = name
|
9597
10093
|
@Title = title
|
9598
10094
|
@Status = status
|
9599
10095
|
@Count = count
|
9600
10096
|
@Debugging = debugging
|
9601
10097
|
@ResourceStatus = resourcestatus
|
10098
|
+
@InputCount = inputcount
|
10099
|
+
@OutputCount = outputcount
|
9602
10100
|
end
|
9603
10101
|
|
9604
10102
|
def deserialize(params)
|
@@ -9611,6 +10109,8 @@ module TencentCloud
|
|
9611
10109
|
@Debugging.deserialize(params['Debugging'])
|
9612
10110
|
end
|
9613
10111
|
@ResourceStatus = params['ResourceStatus']
|
10112
|
+
@InputCount = params['InputCount']
|
10113
|
+
@OutputCount = params['OutputCount']
|
9614
10114
|
end
|
9615
10115
|
end
|
9616
10116
|
|
@@ -9638,6 +10138,7 @@ module TencentCloud
|
|
9638
10138
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9639
10139
|
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.AgentDebugInfo`
|
9640
10140
|
# @param CustomVariables: 自定义参数
|
10141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9641
10142
|
# @type CustomVariables: Array
|
9642
10143
|
|
9643
10144
|
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow, :Agent, :CustomVariables
|
@@ -10531,10 +11032,98 @@ module TencentCloud
|
|
10531
11032
|
# @type IsDownload: Boolean
|
10532
11033
|
# @param DuplicateFileHandles: 重复文档处理方式,按顺序匹配第一个满足条件的方式处理
|
10533
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**
|
10534
11051
|
|
10535
|
-
|
11052
|
+
# ```json
|
11053
|
+
# "xlsx_splitter": {
|
11054
|
+
# "header_interval": [1, 2],
|
11055
|
+
# "content_start": 10,
|
11056
|
+
# "split_row": 2
|
11057
|
+
# }
|
11058
|
+
# ```
|
10536
11059
|
|
10537
|
-
|
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)**。
|
11072
|
+
|
11073
|
+
# **类型:Object**
|
11074
|
+
|
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)
|
10538
11127
|
@BotBizId = botbizid
|
10539
11128
|
@FileName = filename
|
10540
11129
|
@FileType = filetype
|
@@ -10554,6 +11143,8 @@ module TencentCloud
|
|
10554
11143
|
@CateBizId = catebizid
|
10555
11144
|
@IsDownload = isdownload
|
10556
11145
|
@DuplicateFileHandles = duplicatefilehandles
|
11146
|
+
@SplitRule = splitrule
|
11147
|
+
@UpdatePeriodInfo = updateperiodinfo
|
10557
11148
|
end
|
10558
11149
|
|
10559
11150
|
def deserialize(params)
|
@@ -10590,6 +11181,11 @@ module TencentCloud
|
|
10590
11181
|
@DuplicateFileHandles << duplicatefilehandle_tmp
|
10591
11182
|
end
|
10592
11183
|
end
|
11184
|
+
@SplitRule = params['SplitRule']
|
11185
|
+
unless params['UpdatePeriodInfo'].nil?
|
11186
|
+
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
11187
|
+
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
11188
|
+
end
|
10593
11189
|
end
|
10594
11190
|
end
|
10595
11191
|
|
@@ -10663,35 +11259,72 @@ module TencentCloud
|
|
10663
11259
|
# @param StrategyType: 检索策略类型 0:混合检索,1:语义检索
|
10664
11260
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10665
11261
|
# @type StrategyType: Integer
|
10666
|
-
# @param TableEnhancement: Excel
|
11262
|
+
# @param TableEnhancement: Excel检索增强开关, false关闭,true打开
|
10667
11263
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10668
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
|
10669
11274
|
|
10670
|
-
attr_accessor :StrategyType, :TableEnhancement
|
11275
|
+
attr_accessor :StrategyType, :TableEnhancement, :EmbeddingModel, :RerankModelSwitch, :RerankModel
|
10671
11276
|
|
10672
|
-
def initialize(strategytype=nil, tableenhancement=nil)
|
11277
|
+
def initialize(strategytype=nil, tableenhancement=nil, embeddingmodel=nil, rerankmodelswitch=nil, rerankmodel=nil)
|
10673
11278
|
@StrategyType = strategytype
|
10674
11279
|
@TableEnhancement = tableenhancement
|
11280
|
+
@EmbeddingModel = embeddingmodel
|
11281
|
+
@RerankModelSwitch = rerankmodelswitch
|
11282
|
+
@RerankModel = rerankmodel
|
10675
11283
|
end
|
10676
11284
|
|
10677
11285
|
def deserialize(params)
|
10678
11286
|
@StrategyType = params['StrategyType']
|
10679
11287
|
@TableEnhancement = params['TableEnhancement']
|
11288
|
+
@EmbeddingModel = params['EmbeddingModel']
|
11289
|
+
@RerankModelSwitch = params['RerankModelSwitch']
|
11290
|
+
@RerankModel = params['RerankModel']
|
10680
11291
|
end
|
10681
11292
|
end
|
10682
11293
|
|
10683
11294
|
# 共享知识库配置
|
10684
11295
|
class ShareKnowledgeBase < TencentCloud::Common::AbstractModel
|
10685
11296
|
# @param KnowledgeBizId: 共享知识库ID
|
11297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10686
11298
|
# @type KnowledgeBizId: String
|
10687
11299
|
# @param SearchRange: 检索范围
|
11300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10688
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
|
10689
11317
|
|
10690
|
-
attr_accessor :KnowledgeBizId, :SearchRange
|
11318
|
+
attr_accessor :KnowledgeBizId, :SearchRange, :KnowledgeModelConfig, :SearchStrategy, :Search, :ReplyFlexibility, :KnowledgeName
|
10691
11319
|
|
10692
|
-
def initialize(knowledgebizid=nil, searchrange=nil)
|
11320
|
+
def initialize(knowledgebizid=nil, searchrange=nil, knowledgemodelconfig=nil, searchstrategy=nil, search=nil, replyflexibility=nil, knowledgename=nil)
|
10693
11321
|
@KnowledgeBizId = knowledgebizid
|
10694
11322
|
@SearchRange = searchrange
|
11323
|
+
@KnowledgeModelConfig = knowledgemodelconfig
|
11324
|
+
@SearchStrategy = searchstrategy
|
11325
|
+
@Search = search
|
11326
|
+
@ReplyFlexibility = replyflexibility
|
11327
|
+
@KnowledgeName = knowledgename
|
10695
11328
|
end
|
10696
11329
|
|
10697
11330
|
def deserialize(params)
|
@@ -10700,6 +11333,24 @@ module TencentCloud
|
|
10700
11333
|
@SearchRange = SearchRange.new
|
10701
11334
|
@SearchRange.deserialize(params['SearchRange'])
|
10702
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']
|
10703
11354
|
end
|
10704
11355
|
end
|
10705
11356
|
|
@@ -10998,16 +11649,19 @@ module TencentCloud
|
|
10998
11649
|
# @type VarDefaultValue: String
|
10999
11650
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
11000
11651
|
# @type VarDefaultFileName: String
|
11652
|
+
# @param VarModuleType: 变量类型
|
11653
|
+
# @type VarModuleType: Integer
|
11001
11654
|
|
11002
|
-
attr_accessor :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
11655
|
+
attr_accessor :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
11003
11656
|
|
11004
|
-
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)
|
11005
11658
|
@VarId = varid
|
11006
11659
|
@VarName = varname
|
11007
11660
|
@VarDesc = vardesc
|
11008
11661
|
@VarType = vartype
|
11009
11662
|
@VarDefaultValue = vardefaultvalue
|
11010
11663
|
@VarDefaultFileName = vardefaultfilename
|
11664
|
+
@VarModuleType = varmoduletype
|
11011
11665
|
end
|
11012
11666
|
|
11013
11667
|
def deserialize(params)
|
@@ -11017,6 +11671,7 @@ module TencentCloud
|
|
11017
11671
|
@VarType = params['VarType']
|
11018
11672
|
@VarDefaultValue = params['VarDefaultValue']
|
11019
11673
|
@VarDefaultFileName = params['VarDefaultFileName']
|
11674
|
+
@VarModuleType = params['VarModuleType']
|
11020
11675
|
end
|
11021
11676
|
end
|
11022
11677
|
|
@@ -11240,6 +11895,23 @@ module TencentCloud
|
|
11240
11895
|
end
|
11241
11896
|
end
|
11242
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
|
+
|
11243
11915
|
# UpdateSharedKnowledge请求参数结构体
|
11244
11916
|
class UpdateSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
11245
11917
|
# @param KnowledgeBizId: 共享知识库业务ID
|
@@ -11299,10 +11971,12 @@ module TencentCloud
|
|
11299
11971
|
# @type VarDefaultValue: String
|
11300
11972
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
11301
11973
|
# @type VarDefaultFileName: String
|
11974
|
+
# @param VarModuleType: 变量类型
|
11975
|
+
# @type VarModuleType: Integer
|
11302
11976
|
|
11303
|
-
attr_accessor :AppBizId, :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
11977
|
+
attr_accessor :AppBizId, :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
11304
11978
|
|
11305
|
-
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)
|
11306
11980
|
@AppBizId = appbizid
|
11307
11981
|
@VarId = varid
|
11308
11982
|
@VarName = varname
|
@@ -11310,6 +11984,7 @@ module TencentCloud
|
|
11310
11984
|
@VarType = vartype
|
11311
11985
|
@VarDefaultValue = vardefaultvalue
|
11312
11986
|
@VarDefaultFileName = vardefaultfilename
|
11987
|
+
@VarModuleType = varmoduletype
|
11313
11988
|
end
|
11314
11989
|
|
11315
11990
|
def deserialize(params)
|
@@ -11320,6 +11995,7 @@ module TencentCloud
|
|
11320
11995
|
@VarType = params['VarType']
|
11321
11996
|
@VarDefaultValue = params['VarDefaultValue']
|
11322
11997
|
@VarDefaultFileName = params['VarDefaultFileName']
|
11998
|
+
@VarModuleType = params['VarModuleType']
|
11323
11999
|
end
|
11324
12000
|
end
|
11325
12001
|
|
@@ -11585,10 +12261,14 @@ module TencentCloud
|
|
11585
12261
|
# @param WorkflowReleaseTime: 工作流发布时间,unix时间戳
|
11586
12262
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11587
12263
|
# @type WorkflowReleaseTime: String
|
12264
|
+
# @param PendingMessages: 中间消息
|
12265
|
+
# @type PendingMessages: Array
|
12266
|
+
# @param OptionCardIndex: 选项卡索引
|
12267
|
+
# @type OptionCardIndex: :class:`Tencentcloud::Lke.v20231130.models.OptionCardIndex`
|
11588
12268
|
|
11589
|
-
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime
|
12269
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex
|
11590
12270
|
|
11591
|
-
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)
|
11592
12272
|
@WorkflowId = workflowid
|
11593
12273
|
@WorkflowName = workflowname
|
11594
12274
|
@WorkflowRunId = workflowrunid
|
@@ -11596,6 +12276,8 @@ module TencentCloud
|
|
11596
12276
|
@OptionCards = optioncards
|
11597
12277
|
@Outputs = outputs
|
11598
12278
|
@WorkflowReleaseTime = workflowreleasetime
|
12279
|
+
@PendingMessages = pendingmessages
|
12280
|
+
@OptionCardIndex = optioncardindex
|
11599
12281
|
end
|
11600
12282
|
|
11601
12283
|
def deserialize(params)
|
@@ -11613,6 +12295,11 @@ module TencentCloud
|
|
11613
12295
|
@OptionCards = params['OptionCards']
|
11614
12296
|
@Outputs = params['Outputs']
|
11615
12297
|
@WorkflowReleaseTime = params['WorkflowReleaseTime']
|
12298
|
+
@PendingMessages = params['PendingMessages']
|
12299
|
+
unless params['OptionCardIndex'].nil?
|
12300
|
+
@OptionCardIndex = OptionCardIndex.new
|
12301
|
+
@OptionCardIndex.deserialize(params['OptionCardIndex'])
|
12302
|
+
end
|
11616
12303
|
end
|
11617
12304
|
end
|
11618
12305
|
|
@@ -11758,6 +12445,8 @@ module TencentCloud
|
|
11758
12445
|
# @type WorkflowId: String
|
11759
12446
|
# @param Name: 名称
|
11760
12447
|
# @type Name: String
|
12448
|
+
# @param Output: 工作流输出
|
12449
|
+
# @type Output: String
|
11761
12450
|
# @param State: 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
|
11762
12451
|
# @type State: Integer
|
11763
12452
|
# @param FailMessage: 错误信息
|
@@ -11779,14 +12468,15 @@ module TencentCloud
|
|
11779
12468
|
# @param CustomVariables: API参数配置
|
11780
12469
|
# @type CustomVariables: Array
|
11781
12470
|
|
11782
|
-
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
|
11783
12472
|
|
11784
|
-
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)
|
11785
12474
|
@RunEnv = runenv
|
11786
12475
|
@AppBizId = appbizid
|
11787
12476
|
@WorkflowRunId = workflowrunid
|
11788
12477
|
@WorkflowId = workflowid
|
11789
12478
|
@Name = name
|
12479
|
+
@Output = output
|
11790
12480
|
@State = state
|
11791
12481
|
@FailMessage = failmessage
|
11792
12482
|
@TotalTokens = totaltokens
|
@@ -11805,6 +12495,7 @@ module TencentCloud
|
|
11805
12495
|
@WorkflowRunId = params['WorkflowRunId']
|
11806
12496
|
@WorkflowId = params['WorkflowId']
|
11807
12497
|
@Name = params['Name']
|
12498
|
+
@Output = params['Output']
|
11808
12499
|
@State = params['State']
|
11809
12500
|
@FailMessage = params['FailMessage']
|
11810
12501
|
@TotalTokens = params['TotalTokens']
|