tencentcloud-sdk-lke 3.0.1122 → 3.0.1131
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 +831 -95
- 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
|
|
@@ -167,13 +175,22 @@ module TencentCloud
|
|
167
175
|
# @type UserInputValue: :class:`Tencentcloud::Lke.v20231130.models.AgentInputUserInputValue`
|
168
176
|
# @param CustomVarId: 自定义变量(API参数)
|
169
177
|
# @type CustomVarId: String
|
178
|
+
# @param EnvVarId: 环境变量参数
|
179
|
+
# @type EnvVarId: String
|
180
|
+
# @param AppVarId: 应用变量参数
|
181
|
+
# @type AppVarId: String
|
182
|
+
# @param SystemVariable: 系统参数
|
183
|
+
# @type SystemVariable: :class:`Tencentcloud::Lke.v20231130.models.AgentInputSystemVariable`
|
170
184
|
|
171
|
-
attr_accessor :InputType, :UserInputValue, :CustomVarId
|
185
|
+
attr_accessor :InputType, :UserInputValue, :CustomVarId, :EnvVarId, :AppVarId, :SystemVariable
|
172
186
|
|
173
|
-
def initialize(inputtype=nil, userinputvalue=nil, customvarid=nil)
|
187
|
+
def initialize(inputtype=nil, userinputvalue=nil, customvarid=nil, envvarid=nil, appvarid=nil, systemvariable=nil)
|
174
188
|
@InputType = inputtype
|
175
189
|
@UserInputValue = userinputvalue
|
176
190
|
@CustomVarId = customvarid
|
191
|
+
@EnvVarId = envvarid
|
192
|
+
@AppVarId = appvarid
|
193
|
+
@SystemVariable = systemvariable
|
177
194
|
end
|
178
195
|
|
179
196
|
def deserialize(params)
|
@@ -183,6 +200,32 @@ module TencentCloud
|
|
183
200
|
@UserInputValue.deserialize(params['UserInputValue'])
|
184
201
|
end
|
185
202
|
@CustomVarId = params['CustomVarId']
|
203
|
+
@EnvVarId = params['EnvVarId']
|
204
|
+
@AppVarId = params['AppVarId']
|
205
|
+
unless params['SystemVariable'].nil?
|
206
|
+
@SystemVariable = AgentInputSystemVariable.new
|
207
|
+
@SystemVariable.deserialize(params['SystemVariable'])
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
# 系统参数
|
213
|
+
class AgentInputSystemVariable < TencentCloud::Common::AbstractModel
|
214
|
+
# @param Name: 系统参数名
|
215
|
+
# @type Name: String
|
216
|
+
# @param DialogHistoryLimit: 对话历史轮数的配置;如果Input是系统变量中的“对话历史”时才使用;
|
217
|
+
# @type DialogHistoryLimit: Integer
|
218
|
+
|
219
|
+
attr_accessor :Name, :DialogHistoryLimit
|
220
|
+
|
221
|
+
def initialize(name=nil, dialoghistorylimit=nil)
|
222
|
+
@Name = name
|
223
|
+
@DialogHistoryLimit = dialoghistorylimit
|
224
|
+
end
|
225
|
+
|
226
|
+
def deserialize(params)
|
227
|
+
@Name = params['Name']
|
228
|
+
@DialogHistoryLimit = params['DialogHistoryLimit']
|
186
229
|
end
|
187
230
|
end
|
188
231
|
|
@@ -393,14 +436,17 @@ module TencentCloud
|
|
393
436
|
# @type Timeout: Integer
|
394
437
|
# @param SseReadTimeout: sse服务超时时间,单位秒
|
395
438
|
# @type SseReadTimeout: Integer
|
439
|
+
# @param Query: mcp server query信息
|
440
|
+
# @type Query: Array
|
396
441
|
|
397
|
-
attr_accessor :McpServerUrl, :Headers, :Timeout, :SseReadTimeout
|
442
|
+
attr_accessor :McpServerUrl, :Headers, :Timeout, :SseReadTimeout, :Query
|
398
443
|
|
399
|
-
def initialize(mcpserverurl=nil, headers=nil, timeout=nil, ssereadtimeout=nil)
|
444
|
+
def initialize(mcpserverurl=nil, headers=nil, timeout=nil, ssereadtimeout=nil, query=nil)
|
400
445
|
@McpServerUrl = mcpserverurl
|
401
446
|
@Headers = headers
|
402
447
|
@Timeout = timeout
|
403
448
|
@SseReadTimeout = ssereadtimeout
|
449
|
+
@Query = query
|
404
450
|
end
|
405
451
|
|
406
452
|
def deserialize(params)
|
@@ -415,6 +461,14 @@ module TencentCloud
|
|
415
461
|
end
|
416
462
|
@Timeout = params['Timeout']
|
417
463
|
@SseReadTimeout = params['SseReadTimeout']
|
464
|
+
unless params['Query'].nil?
|
465
|
+
@Query = []
|
466
|
+
params['Query'].each do |i|
|
467
|
+
agentpluginquery_tmp = AgentPluginQuery.new
|
468
|
+
agentpluginquery_tmp.deserialize(i)
|
469
|
+
@Query << agentpluginquery_tmp
|
470
|
+
end
|
471
|
+
end
|
418
472
|
end
|
419
473
|
end
|
420
474
|
|
@@ -438,10 +492,12 @@ module TencentCloud
|
|
438
492
|
# @type InstructionsWordsLimit: Integer
|
439
493
|
# @param MaxReasoningRound: 单次会话最大推理轮数
|
440
494
|
# @type MaxReasoningRound: Integer
|
495
|
+
# @param ModelParams: 模型参数
|
496
|
+
# @type ModelParams: :class:`Tencentcloud::Lke.v20231130.models.ModelParams`
|
441
497
|
|
442
|
-
attr_accessor :ModelName, :ModelAliasName, :Temperature, :TopP, :IsEnabled, :HistoryLimit, :ModelContextWordsLimit, :InstructionsWordsLimit, :MaxReasoningRound
|
498
|
+
attr_accessor :ModelName, :ModelAliasName, :Temperature, :TopP, :IsEnabled, :HistoryLimit, :ModelContextWordsLimit, :InstructionsWordsLimit, :MaxReasoningRound, :ModelParams
|
443
499
|
|
444
|
-
def initialize(modelname=nil, modelaliasname=nil, temperature=nil, topp=nil, isenabled=nil, historylimit=nil, modelcontextwordslimit=nil, instructionswordslimit=nil, maxreasoninground=nil)
|
500
|
+
def initialize(modelname=nil, modelaliasname=nil, temperature=nil, topp=nil, isenabled=nil, historylimit=nil, modelcontextwordslimit=nil, instructionswordslimit=nil, maxreasoninground=nil, modelparams=nil)
|
445
501
|
@ModelName = modelname
|
446
502
|
@ModelAliasName = modelaliasname
|
447
503
|
@Temperature = temperature
|
@@ -451,6 +507,7 @@ module TencentCloud
|
|
451
507
|
@ModelContextWordsLimit = modelcontextwordslimit
|
452
508
|
@InstructionsWordsLimit = instructionswordslimit
|
453
509
|
@MaxReasoningRound = maxreasoninground
|
510
|
+
@ModelParams = modelparams
|
454
511
|
end
|
455
512
|
|
456
513
|
def deserialize(params)
|
@@ -463,6 +520,10 @@ module TencentCloud
|
|
463
520
|
@ModelContextWordsLimit = params['ModelContextWordsLimit']
|
464
521
|
@InstructionsWordsLimit = params['InstructionsWordsLimit']
|
465
522
|
@MaxReasoningRound = params['MaxReasoningRound']
|
523
|
+
unless params['ModelParams'].nil?
|
524
|
+
@ModelParams = ModelParams.new
|
525
|
+
@ModelParams.deserialize(params['ModelParams'])
|
526
|
+
end
|
466
527
|
end
|
467
528
|
end
|
468
529
|
|
@@ -513,15 +574,24 @@ module TencentCloud
|
|
513
574
|
# @type PluginInfoType: Integer
|
514
575
|
# @param KnowledgeQa: 知识库问答插件配置
|
515
576
|
# @type KnowledgeQa: :class:`Tencentcloud::Lke.v20231130.models.AgentKnowledgeQAPlugin`
|
577
|
+
# @param EnableRoleAuth: 是否使用一键授权
|
578
|
+
# @type EnableRoleAuth: Boolean
|
579
|
+
# @param Query: 应用配置的插件query信息
|
580
|
+
# @type Query: Array
|
581
|
+
# @param McpType: MCP类型
|
582
|
+
# @type McpType: Integer
|
516
583
|
|
517
|
-
attr_accessor :PluginId, :Headers, :Model, :PluginInfoType, :KnowledgeQa
|
584
|
+
attr_accessor :PluginId, :Headers, :Model, :PluginInfoType, :KnowledgeQa, :EnableRoleAuth, :Query, :McpType
|
518
585
|
|
519
|
-
def initialize(pluginid=nil, headers=nil, model=nil, plugininfotype=nil, knowledgeqa=nil)
|
586
|
+
def initialize(pluginid=nil, headers=nil, model=nil, plugininfotype=nil, knowledgeqa=nil, enableroleauth=nil, query=nil, mcptype=nil)
|
520
587
|
@PluginId = pluginid
|
521
588
|
@Headers = headers
|
522
589
|
@Model = model
|
523
590
|
@PluginInfoType = plugininfotype
|
524
591
|
@KnowledgeQa = knowledgeqa
|
592
|
+
@EnableRoleAuth = enableroleauth
|
593
|
+
@Query = query
|
594
|
+
@McpType = mcptype
|
525
595
|
end
|
526
596
|
|
527
597
|
def deserialize(params)
|
@@ -543,6 +613,51 @@ module TencentCloud
|
|
543
613
|
@KnowledgeQa = AgentKnowledgeQAPlugin.new
|
544
614
|
@KnowledgeQa.deserialize(params['KnowledgeQa'])
|
545
615
|
end
|
616
|
+
@EnableRoleAuth = params['EnableRoleAuth']
|
617
|
+
unless params['Query'].nil?
|
618
|
+
@Query = []
|
619
|
+
params['Query'].each do |i|
|
620
|
+
agentpluginquery_tmp = AgentPluginQuery.new
|
621
|
+
agentpluginquery_tmp.deserialize(i)
|
622
|
+
@Query << agentpluginquery_tmp
|
623
|
+
end
|
624
|
+
end
|
625
|
+
@McpType = params['McpType']
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
# 应用配置MCP插件query信息
|
630
|
+
class AgentPluginQuery < TencentCloud::Common::AbstractModel
|
631
|
+
# @param ParamName: 参数名称
|
632
|
+
# @type ParamName: String
|
633
|
+
# @param ParamValue: 参数值
|
634
|
+
# @type ParamValue: String
|
635
|
+
# @param GlobalHidden: query参数配置是否隐藏不可见,true-隐藏不可见,false-可见
|
636
|
+
# @type GlobalHidden: Boolean
|
637
|
+
# @param IsRequired: 参数是否可以为空
|
638
|
+
# @type IsRequired: Boolean
|
639
|
+
# @param Input: 输入的值
|
640
|
+
# @type Input: :class:`Tencentcloud::Lke.v20231130.models.AgentInput`
|
641
|
+
|
642
|
+
attr_accessor :ParamName, :ParamValue, :GlobalHidden, :IsRequired, :Input
|
643
|
+
|
644
|
+
def initialize(paramname=nil, paramvalue=nil, globalhidden=nil, isrequired=nil, input=nil)
|
645
|
+
@ParamName = paramname
|
646
|
+
@ParamValue = paramvalue
|
647
|
+
@GlobalHidden = globalhidden
|
648
|
+
@IsRequired = isrequired
|
649
|
+
@Input = input
|
650
|
+
end
|
651
|
+
|
652
|
+
def deserialize(params)
|
653
|
+
@ParamName = params['ParamName']
|
654
|
+
@ParamValue = params['ParamValue']
|
655
|
+
@GlobalHidden = params['GlobalHidden']
|
656
|
+
@IsRequired = params['IsRequired']
|
657
|
+
unless params['Input'].nil?
|
658
|
+
@Input = AgentInput.new
|
659
|
+
@Input.deserialize(params['Input'])
|
660
|
+
end
|
546
661
|
end
|
547
662
|
end
|
548
663
|
|
@@ -639,7 +754,7 @@ module TencentCloud
|
|
639
754
|
# @param DisplayContent: 展示的具体文本内容
|
640
755
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
641
756
|
# @type DisplayContent: String
|
642
|
-
# @param DisplayType:
|
757
|
+
# @param DisplayType: 1:搜索引擎参考来源;2:知识库参考来源
|
643
758
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
644
759
|
# @type DisplayType: Integer
|
645
760
|
# @param QuoteInfos: 搜索引擎展示的索引
|
@@ -729,10 +844,16 @@ module TencentCloud
|
|
729
844
|
# @param Title: 标题
|
730
845
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
731
846
|
# @type Title: String
|
847
|
+
# @param KnowledgeName: 知识库名称
|
848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
849
|
+
# @type KnowledgeName: String
|
850
|
+
# @param KnowledgeBizId: 知识库标识
|
851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
852
|
+
# @type KnowledgeBizId: String
|
732
853
|
|
733
|
-
attr_accessor :DocId, :Id, :Name, :Type, :Url, :DocBizId, :DocName, :QaBizId, :Index, :Title
|
854
|
+
attr_accessor :DocId, :Id, :Name, :Type, :Url, :DocBizId, :DocName, :QaBizId, :Index, :Title, :KnowledgeName, :KnowledgeBizId
|
734
855
|
|
735
|
-
def initialize(docid=nil, id=nil, name=nil, type=nil, url=nil, docbizid=nil, docname=nil, qabizid=nil, index=nil, title=nil)
|
856
|
+
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
857
|
@DocId = docid
|
737
858
|
@Id = id
|
738
859
|
@Name = name
|
@@ -743,6 +864,8 @@ module TencentCloud
|
|
743
864
|
@QaBizId = qabizid
|
744
865
|
@Index = index
|
745
866
|
@Title = title
|
867
|
+
@KnowledgeName = knowledgename
|
868
|
+
@KnowledgeBizId = knowledgebizid
|
746
869
|
end
|
747
870
|
|
748
871
|
def deserialize(params)
|
@@ -756,6 +879,8 @@ module TencentCloud
|
|
756
879
|
@QaBizId = params['QaBizId']
|
757
880
|
@Index = params['Index']
|
758
881
|
@Title = params['Title']
|
882
|
+
@KnowledgeName = params['KnowledgeName']
|
883
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
759
884
|
end
|
760
885
|
end
|
761
886
|
|
@@ -865,10 +990,14 @@ module TencentCloud
|
|
865
990
|
# @param CallingMethod: NON_STREAMING: 非流式 STREAMIN: 流式
|
866
991
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
867
992
|
# @type CallingMethod: String
|
993
|
+
# @param Query: query信息
|
994
|
+
# @type Query: Array
|
995
|
+
# @param FinanceStatus: 工具计费状态 0-不计费 1-可用 2-不可用(欠费、无资源等)
|
996
|
+
# @type FinanceStatus: Integer
|
868
997
|
|
869
|
-
attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod
|
998
|
+
attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod, :Query, :FinanceStatus
|
870
999
|
|
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)
|
1000
|
+
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
1001
|
@PluginId = pluginid
|
873
1002
|
@PluginName = pluginname
|
874
1003
|
@IconUrl = iconurl
|
@@ -884,6 +1013,8 @@ module TencentCloud
|
|
884
1013
|
@Status = status
|
885
1014
|
@Headers = headers
|
886
1015
|
@CallingMethod = callingmethod
|
1016
|
+
@Query = query
|
1017
|
+
@FinanceStatus = financestatus
|
887
1018
|
end
|
888
1019
|
|
889
1020
|
def deserialize(params)
|
@@ -926,6 +1057,15 @@ module TencentCloud
|
|
926
1057
|
end
|
927
1058
|
end
|
928
1059
|
@CallingMethod = params['CallingMethod']
|
1060
|
+
unless params['Query'].nil?
|
1061
|
+
@Query = []
|
1062
|
+
params['Query'].each do |i|
|
1063
|
+
agentpluginquery_tmp = AgentPluginQuery.new
|
1064
|
+
agentpluginquery_tmp.deserialize(i)
|
1065
|
+
@Query << agentpluginquery_tmp
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
@FinanceStatus = params['FinanceStatus']
|
929
1069
|
end
|
930
1070
|
end
|
931
1071
|
|
@@ -1179,10 +1319,15 @@ module TencentCloud
|
|
1179
1319
|
# @param ThoughtModelAliasName: 思考模型别名
|
1180
1320
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1181
1321
|
# @type ThoughtModelAliasName: String
|
1322
|
+
# @param PermissionIds: 权限位信息
|
1323
|
+
# @type PermissionIds: Array
|
1324
|
+
# @param Creator: 创建人昵称
|
1325
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1326
|
+
# @type Creator: String
|
1182
1327
|
|
1183
|
-
attr_accessor :AppType, :AppTypeDesc, :AppBizId, :Name, :Avatar, :Desc, :AppStatus, :AppStatusDesc, :UpdateTime, :Operator, :ModelName, :ModelAliasName, :Pattern, :ThoughtModelAliasName
|
1328
|
+
attr_accessor :AppType, :AppTypeDesc, :AppBizId, :Name, :Avatar, :Desc, :AppStatus, :AppStatusDesc, :UpdateTime, :Operator, :ModelName, :ModelAliasName, :Pattern, :ThoughtModelAliasName, :PermissionIds, :Creator
|
1184
1329
|
|
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)
|
1330
|
+
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, creator=nil)
|
1186
1331
|
@AppType = apptype
|
1187
1332
|
@AppTypeDesc = apptypedesc
|
1188
1333
|
@AppBizId = appbizid
|
@@ -1197,6 +1342,8 @@ module TencentCloud
|
|
1197
1342
|
@ModelAliasName = modelaliasname
|
1198
1343
|
@Pattern = pattern
|
1199
1344
|
@ThoughtModelAliasName = thoughtmodelaliasname
|
1345
|
+
@PermissionIds = permissionids
|
1346
|
+
@Creator = creator
|
1200
1347
|
end
|
1201
1348
|
|
1202
1349
|
def deserialize(params)
|
@@ -1214,6 +1361,8 @@ module TencentCloud
|
|
1214
1361
|
@ModelAliasName = params['ModelAliasName']
|
1215
1362
|
@Pattern = params['Pattern']
|
1216
1363
|
@ThoughtModelAliasName = params['ThoughtModelAliasName']
|
1364
|
+
@PermissionIds = params['PermissionIds']
|
1365
|
+
@Creator = params['Creator']
|
1217
1366
|
end
|
1218
1367
|
end
|
1219
1368
|
|
@@ -1252,10 +1401,13 @@ module TencentCloud
|
|
1252
1401
|
# @param ResourceStatus: 模型资源状态 1:资源可用;2:资源已用尽
|
1253
1402
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1254
1403
|
# @type ResourceStatus: Integer
|
1404
|
+
# @param ModelParams: 模型参数
|
1405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1406
|
+
# @type ModelParams: :class:`Tencentcloud::Lke.v20231130.models.ModelParams`
|
1255
1407
|
|
1256
|
-
attr_accessor :Name, :Desc, :ContextLimit, :AliasName, :TokenBalance, :IsUseContext, :HistoryLimit, :UsageType, :Temperature, :TopP, :ResourceStatus
|
1408
|
+
attr_accessor :Name, :Desc, :ContextLimit, :AliasName, :TokenBalance, :IsUseContext, :HistoryLimit, :UsageType, :Temperature, :TopP, :ResourceStatus, :ModelParams
|
1257
1409
|
|
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)
|
1410
|
+
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
1411
|
@Name = name
|
1260
1412
|
@Desc = desc
|
1261
1413
|
@ContextLimit = contextlimit
|
@@ -1267,6 +1419,7 @@ module TencentCloud
|
|
1267
1419
|
@Temperature = temperature
|
1268
1420
|
@TopP = topp
|
1269
1421
|
@ResourceStatus = resourcestatus
|
1422
|
+
@ModelParams = modelparams
|
1270
1423
|
end
|
1271
1424
|
|
1272
1425
|
def deserialize(params)
|
@@ -1281,6 +1434,10 @@ module TencentCloud
|
|
1281
1434
|
@Temperature = params['Temperature']
|
1282
1435
|
@TopP = params['TopP']
|
1283
1436
|
@ResourceStatus = params['ResourceStatus']
|
1437
|
+
unless params['ModelParams'].nil?
|
1438
|
+
@ModelParams = ModelParams.new
|
1439
|
+
@ModelParams.deserialize(params['ModelParams'])
|
1440
|
+
end
|
1284
1441
|
end
|
1285
1442
|
end
|
1286
1443
|
|
@@ -1955,13 +2112,16 @@ module TencentCloud
|
|
1955
2112
|
# @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
|
1956
2113
|
# @param Pattern: 应用模式 standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
1957
2114
|
# @type Pattern: String
|
2115
|
+
# @param AgentType: 智能体类型 dialogue 对话式智能体,wechat 公众号智能体
|
2116
|
+
# @type AgentType: String
|
1958
2117
|
|
1959
|
-
attr_accessor :AppType, :BaseConfig, :Pattern
|
2118
|
+
attr_accessor :AppType, :BaseConfig, :Pattern, :AgentType
|
1960
2119
|
|
1961
|
-
def initialize(apptype=nil, baseconfig=nil, pattern=nil)
|
2120
|
+
def initialize(apptype=nil, baseconfig=nil, pattern=nil, agenttype=nil)
|
1962
2121
|
@AppType = apptype
|
1963
2122
|
@BaseConfig = baseconfig
|
1964
2123
|
@Pattern = pattern
|
2124
|
+
@AgentType = agenttype
|
1965
2125
|
end
|
1966
2126
|
|
1967
2127
|
def deserialize(params)
|
@@ -1971,6 +2131,7 @@ module TencentCloud
|
|
1971
2131
|
@BaseConfig.deserialize(params['BaseConfig'])
|
1972
2132
|
end
|
1973
2133
|
@Pattern = params['Pattern']
|
2134
|
+
@AgentType = params['AgentType']
|
1974
2135
|
end
|
1975
2136
|
end
|
1976
2137
|
|
@@ -2371,19 +2532,26 @@ module TencentCloud
|
|
2371
2532
|
# @type KnowledgeDescription: String
|
2372
2533
|
# @param EmbeddingModel: Embedding模型,字符数量上限128
|
2373
2534
|
# @type EmbeddingModel: String
|
2535
|
+
# @param KnowledgeType: 共享知识库类型,0普通,1公众号
|
2536
|
+
# @type KnowledgeType: Integer
|
2374
2537
|
|
2375
|
-
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel
|
2538
|
+
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :KnowledgeType
|
2539
|
+
extend Gem::Deprecate
|
2540
|
+
deprecate :EmbeddingModel, :none, 2025, 8
|
2541
|
+
deprecate :EmbeddingModel=, :none, 2025, 8
|
2376
2542
|
|
2377
|
-
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil)
|
2543
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, knowledgetype=nil)
|
2378
2544
|
@KnowledgeName = knowledgename
|
2379
2545
|
@KnowledgeDescription = knowledgedescription
|
2380
2546
|
@EmbeddingModel = embeddingmodel
|
2547
|
+
@KnowledgeType = knowledgetype
|
2381
2548
|
end
|
2382
2549
|
|
2383
2550
|
def deserialize(params)
|
2384
2551
|
@KnowledgeName = params['KnowledgeName']
|
2385
2552
|
@KnowledgeDescription = params['KnowledgeDescription']
|
2386
2553
|
@EmbeddingModel = params['EmbeddingModel']
|
2554
|
+
@KnowledgeType = params['KnowledgeType']
|
2387
2555
|
end
|
2388
2556
|
end
|
2389
2557
|
|
@@ -2421,16 +2589,19 @@ module TencentCloud
|
|
2421
2589
|
# @type VarDefaultValue: String
|
2422
2590
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
2423
2591
|
# @type VarDefaultFileName: String
|
2592
|
+
# @param VarModuleType: 参数类型
|
2593
|
+
# @type VarModuleType: Integer
|
2424
2594
|
|
2425
|
-
attr_accessor :AppBizId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
2595
|
+
attr_accessor :AppBizId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
2426
2596
|
|
2427
|
-
def initialize(appbizid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
|
2597
|
+
def initialize(appbizid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil, varmoduletype=nil)
|
2428
2598
|
@AppBizId = appbizid
|
2429
2599
|
@VarName = varname
|
2430
2600
|
@VarDesc = vardesc
|
2431
2601
|
@VarType = vartype
|
2432
2602
|
@VarDefaultValue = vardefaultvalue
|
2433
2603
|
@VarDefaultFileName = vardefaultfilename
|
2604
|
+
@VarModuleType = varmoduletype
|
2434
2605
|
end
|
2435
2606
|
|
2436
2607
|
def deserialize(params)
|
@@ -2440,6 +2611,7 @@ module TencentCloud
|
|
2440
2611
|
@VarType = params['VarType']
|
2441
2612
|
@VarDefaultValue = params['VarDefaultValue']
|
2442
2613
|
@VarDefaultFileName = params['VarDefaultFileName']
|
2614
|
+
@VarModuleType = params['VarModuleType']
|
2443
2615
|
end
|
2444
2616
|
end
|
2445
2617
|
|
@@ -2941,17 +3113,21 @@ module TencentCloud
|
|
2941
3113
|
# @type AppBizId: String
|
2942
3114
|
# @param VarId: 变量ID
|
2943
3115
|
# @type VarId: String
|
3116
|
+
# @param VarModuleType: 参数类型
|
3117
|
+
# @type VarModuleType: Integer
|
2944
3118
|
|
2945
|
-
attr_accessor :AppBizId, :VarId
|
3119
|
+
attr_accessor :AppBizId, :VarId, :VarModuleType
|
2946
3120
|
|
2947
|
-
def initialize(appbizid=nil, varid=nil)
|
3121
|
+
def initialize(appbizid=nil, varid=nil, varmoduletype=nil)
|
2948
3122
|
@AppBizId = appbizid
|
2949
3123
|
@VarId = varid
|
3124
|
+
@VarModuleType = varmoduletype
|
2950
3125
|
end
|
2951
3126
|
|
2952
3127
|
def deserialize(params)
|
2953
3128
|
@AppBizId = params['AppBizId']
|
2954
3129
|
@VarId = params['VarId']
|
3130
|
+
@VarModuleType = params['VarModuleType']
|
2955
3131
|
end
|
2956
3132
|
end
|
2957
3133
|
|
@@ -3233,10 +3409,12 @@ module TencentCloud
|
|
3233
3409
|
# @type SubScenes: Array
|
3234
3410
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
3235
3411
|
# @type AppType: String
|
3412
|
+
# @param SpaceId: 空间id
|
3413
|
+
# @type SpaceId: String
|
3236
3414
|
|
3237
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType
|
3415
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType, :SpaceId
|
3238
3416
|
|
3239
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil)
|
3417
|
+
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
3418
|
@UinAccount = uinaccount
|
3241
3419
|
@LoginUin = loginuin
|
3242
3420
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -3247,6 +3425,7 @@ module TencentCloud
|
|
3247
3425
|
@AppBizIds = appbizids
|
3248
3426
|
@SubScenes = subscenes
|
3249
3427
|
@AppType = apptype
|
3428
|
+
@SpaceId = spaceid
|
3250
3429
|
end
|
3251
3430
|
|
3252
3431
|
def deserialize(params)
|
@@ -3260,6 +3439,7 @@ module TencentCloud
|
|
3260
3439
|
@AppBizIds = params['AppBizIds']
|
3261
3440
|
@SubScenes = params['SubScenes']
|
3262
3441
|
@AppType = params['AppType']
|
3442
|
+
@SpaceId = params['SpaceId']
|
3263
3443
|
end
|
3264
3444
|
end
|
3265
3445
|
|
@@ -3309,10 +3489,12 @@ module TencentCloud
|
|
3309
3489
|
# @type SubBizType: String
|
3310
3490
|
# @param AppBizIds: 应用id列表
|
3311
3491
|
# @type AppBizIds: Array
|
3492
|
+
# @param SpaceId: 空间id
|
3493
|
+
# @type SpaceId: String
|
3312
3494
|
|
3313
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :AppBizIds
|
3495
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :AppBizIds, :SpaceId
|
3314
3496
|
|
3315
|
-
def initialize(modelname=nil, starttime=nil, endtime=nil, uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, appbizids=nil)
|
3497
|
+
def initialize(modelname=nil, starttime=nil, endtime=nil, uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, appbizids=nil, spaceid=nil)
|
3316
3498
|
@ModelName = modelname
|
3317
3499
|
@StartTime = starttime
|
3318
3500
|
@EndTime = endtime
|
@@ -3321,6 +3503,7 @@ module TencentCloud
|
|
3321
3503
|
@LoginSubAccountUin = loginsubaccountuin
|
3322
3504
|
@SubBizType = subbiztype
|
3323
3505
|
@AppBizIds = appbizids
|
3506
|
+
@SpaceId = spaceid
|
3324
3507
|
end
|
3325
3508
|
|
3326
3509
|
def deserialize(params)
|
@@ -3332,6 +3515,7 @@ module TencentCloud
|
|
3332
3515
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
3333
3516
|
@SubBizType = params['SubBizType']
|
3334
3517
|
@AppBizIds = params['AppBizIds']
|
3518
|
+
@SpaceId = params['SpaceId']
|
3335
3519
|
end
|
3336
3520
|
end
|
3337
3521
|
|
@@ -3373,14 +3557,17 @@ module TencentCloud
|
|
3373
3557
|
# @type EndTime: String
|
3374
3558
|
# @param AppBizIds: 应用id列表
|
3375
3559
|
# @type AppBizIds: Array
|
3560
|
+
# @param SpaceId: 空间id
|
3561
|
+
# @type SpaceId: String
|
3376
3562
|
|
3377
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :AppBizIds
|
3563
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :AppBizIds, :SpaceId
|
3378
3564
|
|
3379
|
-
def initialize(modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
3565
|
+
def initialize(modelname=nil, starttime=nil, endtime=nil, appbizids=nil, spaceid=nil)
|
3380
3566
|
@ModelName = modelname
|
3381
3567
|
@StartTime = starttime
|
3382
3568
|
@EndTime = endtime
|
3383
3569
|
@AppBizIds = appbizids
|
3570
|
+
@SpaceId = spaceid
|
3384
3571
|
end
|
3385
3572
|
|
3386
3573
|
def deserialize(params)
|
@@ -3388,6 +3575,7 @@ module TencentCloud
|
|
3388
3575
|
@StartTime = params['StartTime']
|
3389
3576
|
@EndTime = params['EndTime']
|
3390
3577
|
@AppBizIds = params['AppBizIds']
|
3578
|
+
@SpaceId = params['SpaceId']
|
3391
3579
|
end
|
3392
3580
|
end
|
3393
3581
|
|
@@ -3494,12 +3682,18 @@ module TencentCloud
|
|
3494
3682
|
# @param IsDownload: 是否支持下载
|
3495
3683
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3496
3684
|
# @type IsDownload: Boolean
|
3685
|
+
# @param SplitRule: 自定义切分规则
|
3686
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3687
|
+
# @type SplitRule: String
|
3688
|
+
# @param UpdatePeriodInfo: 文档更新频率
|
3689
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3690
|
+
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
3497
3691
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3498
3692
|
# @type RequestId: String
|
3499
3693
|
|
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
|
3694
|
+
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
3695
|
|
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)
|
3696
|
+
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
3697
|
@DocBizId = docbizid
|
3504
3698
|
@FileName = filename
|
3505
3699
|
@FileType = filetype
|
@@ -3526,6 +3720,8 @@ module TencentCloud
|
|
3526
3720
|
@CateBizId = catebizid
|
3527
3721
|
@IsDisabled = isdisabled
|
3528
3722
|
@IsDownload = isdownload
|
3723
|
+
@SplitRule = splitrule
|
3724
|
+
@UpdatePeriodInfo = updateperiodinfo
|
3529
3725
|
@RequestId = requestid
|
3530
3726
|
end
|
3531
3727
|
|
@@ -3563,6 +3759,11 @@ module TencentCloud
|
|
3563
3759
|
@CateBizId = params['CateBizId']
|
3564
3760
|
@IsDisabled = params['IsDisabled']
|
3565
3761
|
@IsDownload = params['IsDownload']
|
3762
|
+
@SplitRule = params['SplitRule']
|
3763
|
+
unless params['UpdatePeriodInfo'].nil?
|
3764
|
+
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
3765
|
+
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
3766
|
+
end
|
3566
3767
|
@RequestId = params['RequestId']
|
3567
3768
|
end
|
3568
3769
|
end
|
@@ -3571,15 +3772,19 @@ module TencentCloud
|
|
3571
3772
|
class DescribeKnowledgeUsagePieGraphRequest < TencentCloud::Common::AbstractModel
|
3572
3773
|
# @param AppBizIds: 应用ID数组
|
3573
3774
|
# @type AppBizIds: Array
|
3775
|
+
# @param SpaceId: 空间列表
|
3776
|
+
# @type SpaceId: String
|
3574
3777
|
|
3575
|
-
attr_accessor :AppBizIds
|
3778
|
+
attr_accessor :AppBizIds, :SpaceId
|
3576
3779
|
|
3577
|
-
def initialize(appbizids=nil)
|
3780
|
+
def initialize(appbizids=nil, spaceid=nil)
|
3578
3781
|
@AppBizIds = appbizids
|
3782
|
+
@SpaceId = spaceid
|
3579
3783
|
end
|
3580
3784
|
|
3581
3785
|
def deserialize(params)
|
3582
3786
|
@AppBizIds = params['AppBizIds']
|
3787
|
+
@SpaceId = params['SpaceId']
|
3583
3788
|
end
|
3584
3789
|
end
|
3585
3790
|
|
@@ -4078,10 +4283,12 @@ module TencentCloud
|
|
4078
4283
|
# @type EndTime: String
|
4079
4284
|
# @param AppBizIds: 应用id列表
|
4080
4285
|
# @type AppBizIds: Array
|
4286
|
+
# @param SpaceId: 空间id
|
4287
|
+
# @type SpaceId: String
|
4081
4288
|
|
4082
|
-
attr_accessor :LoginUin, :LoginSubAccountUin, :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
|
4289
|
+
attr_accessor :LoginUin, :LoginSubAccountUin, :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SpaceId
|
4083
4290
|
|
4084
|
-
def initialize(loginuin=nil, loginsubaccountuin=nil, uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
|
4291
|
+
def initialize(loginuin=nil, loginsubaccountuin=nil, uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, spaceid=nil)
|
4085
4292
|
@LoginUin = loginuin
|
4086
4293
|
@LoginSubAccountUin = loginsubaccountuin
|
4087
4294
|
@UinAccount = uinaccount
|
@@ -4090,6 +4297,7 @@ module TencentCloud
|
|
4090
4297
|
@StartTime = starttime
|
4091
4298
|
@EndTime = endtime
|
4092
4299
|
@AppBizIds = appbizids
|
4300
|
+
@SpaceId = spaceid
|
4093
4301
|
end
|
4094
4302
|
|
4095
4303
|
def deserialize(params)
|
@@ -4101,6 +4309,7 @@ module TencentCloud
|
|
4101
4309
|
@StartTime = params['StartTime']
|
4102
4310
|
@EndTime = params['EndTime']
|
4103
4311
|
@AppBizIds = params['AppBizIds']
|
4312
|
+
@SpaceId = params['SpaceId']
|
4104
4313
|
end
|
4105
4314
|
end
|
4106
4315
|
|
@@ -4198,7 +4407,7 @@ module TencentCloud
|
|
4198
4407
|
|
4199
4408
|
# DescribeSharedKnowledge返回参数结构体
|
4200
4409
|
class DescribeSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
4201
|
-
# @param Info:
|
4410
|
+
# @param Info: 知识库详情列表
|
4202
4411
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4203
4412
|
# @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeDetailInfo`
|
4204
4413
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -4323,10 +4532,12 @@ module TencentCloud
|
|
4323
4532
|
# @type AppBizIds: Array
|
4324
4533
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
4325
4534
|
# @type AppType: String
|
4535
|
+
# @param SubScenes: 筛选子场景
|
4536
|
+
# @type SubScenes: Array
|
4326
4537
|
|
4327
|
-
attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType
|
4538
|
+
attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType, :SubScenes
|
4328
4539
|
|
4329
|
-
def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, apptype=nil)
|
4540
|
+
def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, apptype=nil, subscenes=nil)
|
4330
4541
|
@UinAccount = uinaccount
|
4331
4542
|
@SubBizType = subbiztype
|
4332
4543
|
@ModelName = modelname
|
@@ -4334,6 +4545,7 @@ module TencentCloud
|
|
4334
4545
|
@EndTime = endtime
|
4335
4546
|
@AppBizIds = appbizids
|
4336
4547
|
@AppType = apptype
|
4548
|
+
@SubScenes = subscenes
|
4337
4549
|
end
|
4338
4550
|
|
4339
4551
|
def deserialize(params)
|
@@ -4344,6 +4556,7 @@ module TencentCloud
|
|
4344
4556
|
@EndTime = params['EndTime']
|
4345
4557
|
@AppBizIds = params['AppBizIds']
|
4346
4558
|
@AppType = params['AppType']
|
4559
|
+
@SubScenes = params['SubScenes']
|
4347
4560
|
end
|
4348
4561
|
end
|
4349
4562
|
|
@@ -4418,10 +4631,12 @@ module TencentCloud
|
|
4418
4631
|
# @type SubScenes: Array
|
4419
4632
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
4420
4633
|
# @type AppType: String
|
4634
|
+
# @param SpaceId: 空间id
|
4635
|
+
# @type SpaceId: String
|
4421
4636
|
|
4422
|
-
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType
|
4637
|
+
attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType, :SpaceId
|
4423
4638
|
|
4424
|
-
def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil)
|
4639
|
+
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
4640
|
@UinAccount = uinaccount
|
4426
4641
|
@LoginUin = loginuin
|
4427
4642
|
@LoginSubAccountUin = loginsubaccountuin
|
@@ -4432,6 +4647,7 @@ module TencentCloud
|
|
4432
4647
|
@AppBizIds = appbizids
|
4433
4648
|
@SubScenes = subscenes
|
4434
4649
|
@AppType = apptype
|
4650
|
+
@SpaceId = spaceid
|
4435
4651
|
end
|
4436
4652
|
|
4437
4653
|
def deserialize(params)
|
@@ -4445,6 +4661,7 @@ module TencentCloud
|
|
4445
4661
|
@AppBizIds = params['AppBizIds']
|
4446
4662
|
@SubScenes = params['SubScenes']
|
4447
4663
|
@AppType = params['AppType']
|
4664
|
+
@SpaceId = params['SpaceId']
|
4448
4665
|
end
|
4449
4666
|
end
|
4450
4667
|
|
@@ -5516,10 +5733,12 @@ module TencentCloud
|
|
5516
5733
|
# @type VarType: String
|
5517
5734
|
# @param NeedInternalVar: 是否需要内部变量(默认false)
|
5518
5735
|
# @type NeedInternalVar: Boolean
|
5736
|
+
# @param VarModuleType: 变量类型
|
5737
|
+
# @type VarModuleType: Integer
|
5519
5738
|
|
5520
|
-
attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType, :NeedInternalVar
|
5739
|
+
attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType, :NeedInternalVar, :VarModuleType
|
5521
5740
|
|
5522
|
-
def initialize(appbizid=nil, varids=nil, keyword=nil, offset=nil, limit=nil, vartype=nil, needinternalvar=nil)
|
5741
|
+
def initialize(appbizid=nil, varids=nil, keyword=nil, offset=nil, limit=nil, vartype=nil, needinternalvar=nil, varmoduletype=nil)
|
5523
5742
|
@AppBizId = appbizid
|
5524
5743
|
@VarIds = varids
|
5525
5744
|
@Keyword = keyword
|
@@ -5527,6 +5746,7 @@ module TencentCloud
|
|
5527
5746
|
@Limit = limit
|
5528
5747
|
@VarType = vartype
|
5529
5748
|
@NeedInternalVar = needinternalvar
|
5749
|
+
@VarModuleType = varmoduletype
|
5530
5750
|
end
|
5531
5751
|
|
5532
5752
|
def deserialize(params)
|
@@ -5537,6 +5757,7 @@ module TencentCloud
|
|
5537
5757
|
@Limit = params['Limit']
|
5538
5758
|
@VarType = params['VarType']
|
5539
5759
|
@NeedInternalVar = params['NeedInternalVar']
|
5760
|
+
@VarModuleType = params['VarModuleType']
|
5540
5761
|
end
|
5541
5762
|
end
|
5542
5763
|
|
@@ -5976,6 +6197,28 @@ module TencentCloud
|
|
5976
6197
|
end
|
5977
6198
|
end
|
5978
6199
|
|
6200
|
+
# 知识库高级设置
|
6201
|
+
class KnowledgeAdvancedConfig < TencentCloud::Common::AbstractModel
|
6202
|
+
# @param RerankModel: 重排序模型
|
6203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6204
|
+
# @type RerankModel: String
|
6205
|
+
# @param RerankRecallNum: 召回数量
|
6206
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6207
|
+
# @type RerankRecallNum: Integer
|
6208
|
+
|
6209
|
+
attr_accessor :RerankModel, :RerankRecallNum
|
6210
|
+
|
6211
|
+
def initialize(rerankmodel=nil, rerankrecallnum=nil)
|
6212
|
+
@RerankModel = rerankmodel
|
6213
|
+
@RerankRecallNum = rerankrecallnum
|
6214
|
+
end
|
6215
|
+
|
6216
|
+
def deserialize(params)
|
6217
|
+
@RerankModel = params['RerankModel']
|
6218
|
+
@RerankRecallNum = params['RerankRecallNum']
|
6219
|
+
end
|
6220
|
+
end
|
6221
|
+
|
5979
6222
|
# 共享知识库基础信息
|
5980
6223
|
class KnowledgeBaseInfo < TencentCloud::Common::AbstractModel
|
5981
6224
|
# @param KnowledgeBizId: 共享知识库业务ID
|
@@ -5994,16 +6237,30 @@ module TencentCloud
|
|
5994
6237
|
# @param UpdateTime: 更新时间
|
5995
6238
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5996
6239
|
# @type UpdateTime: String
|
6240
|
+
# @param KnowledgeType: 共享知识库类型,0普通,1公众号
|
6241
|
+
# @type KnowledgeType: Integer
|
6242
|
+
# @param OwnerStaffId: 拥有者id
|
6243
|
+
# @type OwnerStaffId: String
|
6244
|
+
# @param DocTotal: 知识库文档数量,当前仅支持公众号知识库
|
6245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6246
|
+
# @type DocTotal: Integer
|
6247
|
+
# @param ProcessingFlags: 知识库处理中状态标记,1:向量embedding变更中
|
6248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6249
|
+
# @type ProcessingFlags: Array
|
5997
6250
|
|
5998
|
-
attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime
|
6251
|
+
attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime, :KnowledgeType, :OwnerStaffId, :DocTotal, :ProcessingFlags
|
5999
6252
|
|
6000
|
-
def initialize(knowledgebizid=nil, knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, updatetime=nil)
|
6253
|
+
def initialize(knowledgebizid=nil, knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, updatetime=nil, knowledgetype=nil, ownerstaffid=nil, doctotal=nil, processingflags=nil)
|
6001
6254
|
@KnowledgeBizId = knowledgebizid
|
6002
6255
|
@KnowledgeName = knowledgename
|
6003
6256
|
@KnowledgeDescription = knowledgedescription
|
6004
6257
|
@EmbeddingModel = embeddingmodel
|
6005
6258
|
@QaExtractModel = qaextractmodel
|
6006
6259
|
@UpdateTime = updatetime
|
6260
|
+
@KnowledgeType = knowledgetype
|
6261
|
+
@OwnerStaffId = ownerstaffid
|
6262
|
+
@DocTotal = doctotal
|
6263
|
+
@ProcessingFlags = processingflags
|
6007
6264
|
end
|
6008
6265
|
|
6009
6266
|
def deserialize(params)
|
@@ -6013,6 +6270,10 @@ module TencentCloud
|
|
6013
6270
|
@EmbeddingModel = params['EmbeddingModel']
|
6014
6271
|
@QaExtractModel = params['QaExtractModel']
|
6015
6272
|
@UpdateTime = params['UpdateTime']
|
6273
|
+
@KnowledgeType = params['KnowledgeType']
|
6274
|
+
@OwnerStaffId = params['OwnerStaffId']
|
6275
|
+
@DocTotal = params['DocTotal']
|
6276
|
+
@ProcessingFlags = params['ProcessingFlags']
|
6016
6277
|
end
|
6017
6278
|
end
|
6018
6279
|
|
@@ -6099,13 +6360,16 @@ module TencentCloud
|
|
6099
6360
|
# @param User: 用户信息
|
6100
6361
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6101
6362
|
# @type User: :class:`Tencentcloud::Lke.v20231130.models.UserBaseInfo`
|
6363
|
+
# @param PermissionIds: 权限位信息
|
6364
|
+
# @type PermissionIds: Array
|
6102
6365
|
|
6103
|
-
attr_accessor :Knowledge, :AppList, :User
|
6366
|
+
attr_accessor :Knowledge, :AppList, :User, :PermissionIds
|
6104
6367
|
|
6105
|
-
def initialize(knowledge=nil, applist=nil, user=nil)
|
6368
|
+
def initialize(knowledge=nil, applist=nil, user=nil, permissionids=nil)
|
6106
6369
|
@Knowledge = knowledge
|
6107
6370
|
@AppList = applist
|
6108
6371
|
@User = user
|
6372
|
+
@PermissionIds = permissionids
|
6109
6373
|
end
|
6110
6374
|
|
6111
6375
|
def deserialize(params)
|
@@ -6125,6 +6389,59 @@ module TencentCloud
|
|
6125
6389
|
@User = UserBaseInfo.new
|
6126
6390
|
@User.deserialize(params['User'])
|
6127
6391
|
end
|
6392
|
+
@PermissionIds = params['PermissionIds']
|
6393
|
+
end
|
6394
|
+
end
|
6395
|
+
|
6396
|
+
# 知识库模型设置
|
6397
|
+
class KnowledgeModelConfig < TencentCloud::Common::AbstractModel
|
6398
|
+
# @param EmbeddingModel: 向量模型,该字段只有共享知识库有,应用知识库没有
|
6399
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6400
|
+
# @type EmbeddingModel: String
|
6401
|
+
# @param QaExtractModel: 问答对生成模型
|
6402
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6403
|
+
# @type QaExtractModel: String
|
6404
|
+
# @param SchemaModel: schema生成模型
|
6405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6406
|
+
# @type SchemaModel: String
|
6407
|
+
|
6408
|
+
attr_accessor :EmbeddingModel, :QaExtractModel, :SchemaModel
|
6409
|
+
|
6410
|
+
def initialize(embeddingmodel=nil, qaextractmodel=nil, schemamodel=nil)
|
6411
|
+
@EmbeddingModel = embeddingmodel
|
6412
|
+
@QaExtractModel = qaextractmodel
|
6413
|
+
@SchemaModel = schemamodel
|
6414
|
+
end
|
6415
|
+
|
6416
|
+
def deserialize(params)
|
6417
|
+
@EmbeddingModel = params['EmbeddingModel']
|
6418
|
+
@QaExtractModel = params['QaExtractModel']
|
6419
|
+
@SchemaModel = params['SchemaModel']
|
6420
|
+
end
|
6421
|
+
end
|
6422
|
+
|
6423
|
+
# 应用配置关联的agent信息
|
6424
|
+
class KnowledgeQaAgent < TencentCloud::Common::AbstractModel
|
6425
|
+
# @param AgentCollaboration: 协同方式,1:自由转交,2:工作流编排,3:Plan-and-Execute
|
6426
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6427
|
+
# @type AgentCollaboration: Integer
|
6428
|
+
# @param Workflow: 应用配置agent关联的工作流
|
6429
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6430
|
+
# @type Workflow: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeQaWorkflowInfo`
|
6431
|
+
|
6432
|
+
attr_accessor :AgentCollaboration, :Workflow
|
6433
|
+
|
6434
|
+
def initialize(agentcollaboration=nil, workflow=nil)
|
6435
|
+
@AgentCollaboration = agentcollaboration
|
6436
|
+
@Workflow = workflow
|
6437
|
+
end
|
6438
|
+
|
6439
|
+
def deserialize(params)
|
6440
|
+
@AgentCollaboration = params['AgentCollaboration']
|
6441
|
+
unless params['Workflow'].nil?
|
6442
|
+
@Workflow = KnowledgeQaWorkflowInfo.new
|
6443
|
+
@Workflow.deserialize(params['Workflow'])
|
6444
|
+
end
|
6128
6445
|
end
|
6129
6446
|
end
|
6130
6447
|
|
@@ -6188,6 +6505,7 @@ module TencentCloud
|
|
6188
6505
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6189
6506
|
# @type AiCall: :class:`Tencentcloud::Lke.v20231130.models.AICallConfig`
|
6190
6507
|
# @param ShareKnowledgeBases: 共享知识库关联配置
|
6508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6191
6509
|
# @type ShareKnowledgeBases: Array
|
6192
6510
|
# @param BackgroundImage: 背景图相关信息
|
6193
6511
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -6195,10 +6513,23 @@ module TencentCloud
|
|
6195
6513
|
# @param OpeningQuestions: 开场问题
|
6196
6514
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6197
6515
|
# @type OpeningQuestions: Array
|
6516
|
+
# @param LongMemoryOpen: 长期记忆开关
|
6517
|
+
# @type LongMemoryOpen: Boolean
|
6518
|
+
# @param LongMemoryDay: 长期记忆时效
|
6519
|
+
# @type LongMemoryDay: Integer
|
6520
|
+
# @param Agent: agent配置信息
|
6521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6522
|
+
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeQaAgent`
|
6523
|
+
# @param KnowledgeModelConfig: 知识库模型
|
6524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6525
|
+
# @type KnowledgeModelConfig: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeModelConfig`
|
6526
|
+
# @param KnowledgeAdvancedConfig: 知识库高级设置
|
6527
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6528
|
+
# @type KnowledgeAdvancedConfig: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeAdvancedConfig`
|
6198
6529
|
|
6199
|
-
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval, :AiCall, :ShareKnowledgeBases, :BackgroundImage, :OpeningQuestions
|
6530
|
+
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
6531
|
|
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)
|
6532
|
+
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
6533
|
@Greeting = greeting
|
6203
6534
|
@RoleDescription = roledescription
|
6204
6535
|
@Model = model
|
@@ -6217,6 +6548,11 @@ module TencentCloud
|
|
6217
6548
|
@ShareKnowledgeBases = shareknowledgebases
|
6218
6549
|
@BackgroundImage = backgroundimage
|
6219
6550
|
@OpeningQuestions = openingquestions
|
6551
|
+
@LongMemoryOpen = longmemoryopen
|
6552
|
+
@LongMemoryDay = longmemoryday
|
6553
|
+
@Agent = agent
|
6554
|
+
@KnowledgeModelConfig = knowledgemodelconfig
|
6555
|
+
@KnowledgeAdvancedConfig = knowledgeadvancedconfig
|
6220
6556
|
end
|
6221
6557
|
|
6222
6558
|
def deserialize(params)
|
@@ -6293,6 +6629,20 @@ module TencentCloud
|
|
6293
6629
|
@BackgroundImage.deserialize(params['BackgroundImage'])
|
6294
6630
|
end
|
6295
6631
|
@OpeningQuestions = params['OpeningQuestions']
|
6632
|
+
@LongMemoryOpen = params['LongMemoryOpen']
|
6633
|
+
@LongMemoryDay = params['LongMemoryDay']
|
6634
|
+
unless params['Agent'].nil?
|
6635
|
+
@Agent = KnowledgeQaAgent.new
|
6636
|
+
@Agent.deserialize(params['Agent'])
|
6637
|
+
end
|
6638
|
+
unless params['KnowledgeModelConfig'].nil?
|
6639
|
+
@KnowledgeModelConfig = KnowledgeModelConfig.new
|
6640
|
+
@KnowledgeModelConfig.deserialize(params['KnowledgeModelConfig'])
|
6641
|
+
end
|
6642
|
+
unless params['KnowledgeAdvancedConfig'].nil?
|
6643
|
+
@KnowledgeAdvancedConfig = KnowledgeAdvancedConfig.new
|
6644
|
+
@KnowledgeAdvancedConfig.deserialize(params['KnowledgeAdvancedConfig'])
|
6645
|
+
end
|
6296
6646
|
end
|
6297
6647
|
end
|
6298
6648
|
|
@@ -6319,10 +6669,13 @@ module TencentCloud
|
|
6319
6669
|
# @param UseRecommended: 是否打开推荐问题开关
|
6320
6670
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6321
6671
|
# @type UseRecommended: Boolean
|
6672
|
+
# @param RecommendedPromptMode: 推荐问模式,0.结合知识库&对话历史推荐问题Prompt(默认) 1.仅结合知识库输出推荐问的prompt
|
6673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6674
|
+
# @type RecommendedPromptMode: Integer
|
6322
6675
|
|
6323
|
-
attr_accessor :Method, :UseGeneralKnowledge, :BareAnswer, :ShowQuestionClarify, :UseQuestionClarify, :QuestionClarifyKeywords, :UseRecommended
|
6676
|
+
attr_accessor :Method, :UseGeneralKnowledge, :BareAnswer, :ShowQuestionClarify, :UseQuestionClarify, :QuestionClarifyKeywords, :UseRecommended, :RecommendedPromptMode
|
6324
6677
|
|
6325
|
-
def initialize(method=nil, usegeneralknowledge=nil, bareanswer=nil, showquestionclarify=nil, usequestionclarify=nil, questionclarifykeywords=nil, userecommended=nil)
|
6678
|
+
def initialize(method=nil, usegeneralknowledge=nil, bareanswer=nil, showquestionclarify=nil, usequestionclarify=nil, questionclarifykeywords=nil, userecommended=nil, recommendedpromptmode=nil)
|
6326
6679
|
@Method = method
|
6327
6680
|
@UseGeneralKnowledge = usegeneralknowledge
|
6328
6681
|
@BareAnswer = bareanswer
|
@@ -6330,6 +6683,7 @@ module TencentCloud
|
|
6330
6683
|
@UseQuestionClarify = usequestionclarify
|
6331
6684
|
@QuestionClarifyKeywords = questionclarifykeywords
|
6332
6685
|
@UseRecommended = userecommended
|
6686
|
+
@RecommendedPromptMode = recommendedpromptmode
|
6333
6687
|
end
|
6334
6688
|
|
6335
6689
|
def deserialize(params)
|
@@ -6340,6 +6694,7 @@ module TencentCloud
|
|
6340
6694
|
@UseQuestionClarify = params['UseQuestionClarify']
|
6341
6695
|
@QuestionClarifyKeywords = params['QuestionClarifyKeywords']
|
6342
6696
|
@UseRecommended = params['UseRecommended']
|
6697
|
+
@RecommendedPromptMode = params['RecommendedPromptMode']
|
6343
6698
|
end
|
6344
6699
|
end
|
6345
6700
|
|
@@ -6488,6 +6843,38 @@ module TencentCloud
|
|
6488
6843
|
end
|
6489
6844
|
end
|
6490
6845
|
|
6846
|
+
# 应用配置关联的工作流信息
|
6847
|
+
class KnowledgeQaWorkflowInfo < TencentCloud::Common::AbstractModel
|
6848
|
+
# @param WorkflowId: 工作流ID
|
6849
|
+
# @type WorkflowId: String
|
6850
|
+
# @param WorkflowName: 工作流名称
|
6851
|
+
# @type WorkflowName: String
|
6852
|
+
# @param WorkflowDesc: 工作流描述
|
6853
|
+
# @type WorkflowDesc: String
|
6854
|
+
# @param Status: 工作流状态,发布状态(UNPUBLISHED: 待发布 PUBLISHING: 发布中 PUBLISHED: 已发布 FAIL:发布失败)
|
6855
|
+
# @type Status: String
|
6856
|
+
# @param IsEnable: 工作流是否启用
|
6857
|
+
# @type IsEnable: Boolean
|
6858
|
+
|
6859
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowDesc, :Status, :IsEnable
|
6860
|
+
|
6861
|
+
def initialize(workflowid=nil, workflowname=nil, workflowdesc=nil, status=nil, isenable=nil)
|
6862
|
+
@WorkflowId = workflowid
|
6863
|
+
@WorkflowName = workflowname
|
6864
|
+
@WorkflowDesc = workflowdesc
|
6865
|
+
@Status = status
|
6866
|
+
@IsEnable = isenable
|
6867
|
+
end
|
6868
|
+
|
6869
|
+
def deserialize(params)
|
6870
|
+
@WorkflowId = params['WorkflowId']
|
6871
|
+
@WorkflowName = params['WorkflowName']
|
6872
|
+
@WorkflowDesc = params['WorkflowDesc']
|
6873
|
+
@Status = params['Status']
|
6874
|
+
@IsEnable = params['IsEnable']
|
6875
|
+
end
|
6876
|
+
end
|
6877
|
+
|
6491
6878
|
# 检索知识
|
6492
6879
|
class KnowledgeSummary < TencentCloud::Common::AbstractModel
|
6493
6880
|
# @param Type: 1是问答 2是文档片段
|
@@ -6523,14 +6910,22 @@ module TencentCloud
|
|
6523
6910
|
# @param QaExtractModel: 问答提取模型
|
6524
6911
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6525
6912
|
# @type QaExtractModel: String
|
6913
|
+
# @param OwnerStaffId: 拥有者id
|
6914
|
+
# @type OwnerStaffId: String
|
6526
6915
|
|
6527
|
-
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel
|
6916
|
+
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :OwnerStaffId
|
6917
|
+
extend Gem::Deprecate
|
6918
|
+
deprecate :EmbeddingModel, :none, 2025, 8
|
6919
|
+
deprecate :EmbeddingModel=, :none, 2025, 8
|
6920
|
+
deprecate :QaExtractModel, :none, 2025, 8
|
6921
|
+
deprecate :QaExtractModel=, :none, 2025, 8
|
6528
6922
|
|
6529
|
-
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil)
|
6923
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, ownerstaffid=nil)
|
6530
6924
|
@KnowledgeName = knowledgename
|
6531
6925
|
@KnowledgeDescription = knowledgedescription
|
6532
6926
|
@EmbeddingModel = embeddingmodel
|
6533
6927
|
@QaExtractModel = qaextractmodel
|
6928
|
+
@OwnerStaffId = ownerstaffid
|
6534
6929
|
end
|
6535
6930
|
|
6536
6931
|
def deserialize(params)
|
@@ -6538,6 +6933,7 @@ module TencentCloud
|
|
6538
6933
|
@KnowledgeDescription = params['KnowledgeDescription']
|
6539
6934
|
@EmbeddingModel = params['EmbeddingModel']
|
6540
6935
|
@QaExtractModel = params['QaExtractModel']
|
6936
|
+
@OwnerStaffId = params['OwnerStaffId']
|
6541
6937
|
end
|
6542
6938
|
end
|
6543
6939
|
|
@@ -6593,19 +6989,23 @@ module TencentCloud
|
|
6593
6989
|
# @type PageSize: Integer
|
6594
6990
|
# @param AppBizIds: 应用ID列表
|
6595
6991
|
# @type AppBizIds: Array
|
6992
|
+
# @param SpaceId: 空间列表
|
6993
|
+
# @type SpaceId: String
|
6596
6994
|
|
6597
|
-
attr_accessor :PageNumber, :PageSize, :AppBizIds
|
6995
|
+
attr_accessor :PageNumber, :PageSize, :AppBizIds, :SpaceId
|
6598
6996
|
|
6599
|
-
def initialize(pagenumber=nil, pagesize=nil, appbizids=nil)
|
6997
|
+
def initialize(pagenumber=nil, pagesize=nil, appbizids=nil, spaceid=nil)
|
6600
6998
|
@PageNumber = pagenumber
|
6601
6999
|
@PageSize = pagesize
|
6602
7000
|
@AppBizIds = appbizids
|
7001
|
+
@SpaceId = spaceid
|
6603
7002
|
end
|
6604
7003
|
|
6605
7004
|
def deserialize(params)
|
6606
7005
|
@PageNumber = params['PageNumber']
|
6607
7006
|
@PageSize = params['PageSize']
|
6608
7007
|
@AppBizIds = params['AppBizIds']
|
7008
|
+
@SpaceId = params['SpaceId']
|
6609
7009
|
end
|
6610
7010
|
end
|
6611
7011
|
|
@@ -6652,15 +7052,21 @@ module TencentCloud
|
|
6652
7052
|
# @type Keyword: String
|
6653
7053
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
6654
7054
|
# @type LoginSubAccountUin: String
|
7055
|
+
# @param AgentType: 智能体类型 dialogue:对话智能体,wechat:公众号智能体
|
7056
|
+
# @type AgentType: String
|
7057
|
+
# @param AppStatus: 应用状态 1:未上线 2:运行中
|
7058
|
+
# @type AppStatus: String
|
6655
7059
|
|
6656
|
-
attr_accessor :AppType, :PageSize, :PageNumber, :Keyword, :LoginSubAccountUin
|
7060
|
+
attr_accessor :AppType, :PageSize, :PageNumber, :Keyword, :LoginSubAccountUin, :AgentType, :AppStatus
|
6657
7061
|
|
6658
|
-
def initialize(apptype=nil, pagesize=nil, pagenumber=nil, keyword=nil, loginsubaccountuin=nil)
|
7062
|
+
def initialize(apptype=nil, pagesize=nil, pagenumber=nil, keyword=nil, loginsubaccountuin=nil, agenttype=nil, appstatus=nil)
|
6659
7063
|
@AppType = apptype
|
6660
7064
|
@PageSize = pagesize
|
6661
7065
|
@PageNumber = pagenumber
|
6662
7066
|
@Keyword = keyword
|
6663
7067
|
@LoginSubAccountUin = loginsubaccountuin
|
7068
|
+
@AgentType = agenttype
|
7069
|
+
@AppStatus = appstatus
|
6664
7070
|
end
|
6665
7071
|
|
6666
7072
|
def deserialize(params)
|
@@ -6669,6 +7075,8 @@ module TencentCloud
|
|
6669
7075
|
@PageNumber = params['PageNumber']
|
6670
7076
|
@Keyword = params['Keyword']
|
6671
7077
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
7078
|
+
@AgentType = params['AgentType']
|
7079
|
+
@AppStatus = params['AppStatus']
|
6672
7080
|
end
|
6673
7081
|
end
|
6674
7082
|
|
@@ -6676,7 +7084,7 @@ module TencentCloud
|
|
6676
7084
|
class ListAppResponse < TencentCloud::Common::AbstractModel
|
6677
7085
|
# @param Total: 数量
|
6678
7086
|
# @type Total: String
|
6679
|
-
# @param List:
|
7087
|
+
# @param List: 应用列表
|
6680
7088
|
# @type List: Array
|
6681
7089
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6682
7090
|
# @type RequestId: String
|
@@ -7109,7 +7517,7 @@ module TencentCloud
|
|
7109
7517
|
# @type AppType: String
|
7110
7518
|
# @param Pattern: 应用模式 standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
7111
7519
|
# @type Pattern: String
|
7112
|
-
# @param ModelCategory: 模型类别 generate:生成模型,thought
|
7520
|
+
# @param ModelCategory: 模型类别 generate:生成模型,thought:思考模型,embedding模型,rerank:rerank模型
|
7113
7521
|
# @type ModelCategory: String
|
7114
7522
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
7115
7523
|
# @type LoginUin: String
|
@@ -7958,9 +8366,9 @@ module TencentCloud
|
|
7958
8366
|
class ListSelectDocRequest < TencentCloud::Common::AbstractModel
|
7959
8367
|
# @param BotBizId: 应用ID
|
7960
8368
|
# @type BotBizId: String
|
7961
|
-
# @param FileName:
|
8369
|
+
# @param FileName: 文档名称。可通过文档名称检索支持生成问答的文档,不支持xlsx、xls、csv格式
|
7962
8370
|
# @type FileName: String
|
7963
|
-
# @param Status:
|
8371
|
+
# @param Status: 文档状态筛选。文档状态对应码为7 审核中、8 审核失败、10 待发布、11 发布中、12 已发布、13 学习中、14 学习失败 20 已过期。其中仅状态为10 待发布、12 已发布的文档支持生成问答
|
7964
8372
|
# @type Status: Array
|
7965
8373
|
|
7966
8374
|
attr_accessor :BotBizId, :FileName, :Status
|
@@ -8013,19 +8421,23 @@ module TencentCloud
|
|
8013
8421
|
# @type PageSize: Integer
|
8014
8422
|
# @param Keyword: 搜索关键字
|
8015
8423
|
# @type Keyword: String
|
8424
|
+
# @param KnowledgeTypes: 共享知识库类型,0普通,1公众号
|
8425
|
+
# @type KnowledgeTypes: Array
|
8016
8426
|
|
8017
|
-
attr_accessor :PageNumber, :PageSize, :Keyword
|
8427
|
+
attr_accessor :PageNumber, :PageSize, :Keyword, :KnowledgeTypes
|
8018
8428
|
|
8019
|
-
def initialize(pagenumber=nil, pagesize=nil, keyword=nil)
|
8429
|
+
def initialize(pagenumber=nil, pagesize=nil, keyword=nil, knowledgetypes=nil)
|
8020
8430
|
@PageNumber = pagenumber
|
8021
8431
|
@PageSize = pagesize
|
8022
8432
|
@Keyword = keyword
|
8433
|
+
@KnowledgeTypes = knowledgetypes
|
8023
8434
|
end
|
8024
8435
|
|
8025
8436
|
def deserialize(params)
|
8026
8437
|
@PageNumber = params['PageNumber']
|
8027
8438
|
@PageSize = params['PageSize']
|
8028
8439
|
@Keyword = params['Keyword']
|
8440
|
+
@KnowledgeTypes = params['KnowledgeTypes']
|
8029
8441
|
end
|
8030
8442
|
end
|
8031
8443
|
|
@@ -8157,10 +8569,12 @@ module TencentCloud
|
|
8157
8569
|
# @type AppType: String
|
8158
8570
|
# @param BillingTag: 账单明细对应的自定义tag
|
8159
8571
|
# @type BillingTag: String
|
8572
|
+
# @param SpaceId: 空间id
|
8573
|
+
# @type SpaceId: String
|
8160
8574
|
|
8161
|
-
attr_accessor :ModelName, :StartTime, :EndTime, :PageNumber, :PageSize, :UinAccount, :AppBizIds, :CallType, :SubScenes, :AppType, :BillingTag
|
8575
|
+
attr_accessor :ModelName, :StartTime, :EndTime, :PageNumber, :PageSize, :UinAccount, :AppBizIds, :CallType, :SubScenes, :AppType, :BillingTag, :SpaceId
|
8162
8576
|
|
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)
|
8577
|
+
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
8578
|
@ModelName = modelname
|
8165
8579
|
@StartTime = starttime
|
8166
8580
|
@EndTime = endtime
|
@@ -8172,6 +8586,7 @@ module TencentCloud
|
|
8172
8586
|
@SubScenes = subscenes
|
8173
8587
|
@AppType = apptype
|
8174
8588
|
@BillingTag = billingtag
|
8589
|
+
@SpaceId = spaceid
|
8175
8590
|
end
|
8176
8591
|
|
8177
8592
|
def deserialize(params)
|
@@ -8186,6 +8601,7 @@ module TencentCloud
|
|
8186
8601
|
@SubScenes = params['SubScenes']
|
8187
8602
|
@AppType = params['AppType']
|
8188
8603
|
@BillingTag = params['BillingTag']
|
8604
|
+
@SpaceId = params['SpaceId']
|
8189
8605
|
end
|
8190
8606
|
end
|
8191
8607
|
|
@@ -8337,10 +8753,22 @@ module TencentCloud
|
|
8337
8753
|
# @type SupportAiCallStatus: Integer
|
8338
8754
|
# @param Concurrency: 专属并发数
|
8339
8755
|
# @type Concurrency: Integer
|
8756
|
+
# @param ModelTags: 模型标签
|
8757
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8758
|
+
# @type ModelTags: Array
|
8759
|
+
# @param ModelParams: 模型超参定义
|
8760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8761
|
+
# @type ModelParams: Array
|
8762
|
+
# @param ProviderName: 提供商名称
|
8763
|
+
# @type ProviderName: String
|
8764
|
+
# @param ProviderAliasName: 提供商别名
|
8765
|
+
# @type ProviderAliasName: String
|
8766
|
+
# @param ProviderType: 提供商类型 Self:提供商,Custom:自定义模型提供商,Third:第三方模型提供商
|
8767
|
+
# @type ProviderType: String
|
8340
8768
|
|
8341
|
-
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive, :SupportAiCallStatus, :Concurrency
|
8769
|
+
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
8770
|
|
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)
|
8771
|
+
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
8772
|
@ModelName = modelname
|
8345
8773
|
@ModelDesc = modeldesc
|
8346
8774
|
@AliasName = aliasname
|
@@ -8360,6 +8788,11 @@ module TencentCloud
|
|
8360
8788
|
@IsExclusive = isexclusive
|
8361
8789
|
@SupportAiCallStatus = supportaicallstatus
|
8362
8790
|
@Concurrency = concurrency
|
8791
|
+
@ModelTags = modeltags
|
8792
|
+
@ModelParams = modelparams
|
8793
|
+
@ProviderName = providername
|
8794
|
+
@ProviderAliasName = provideraliasname
|
8795
|
+
@ProviderType = providertype
|
8363
8796
|
end
|
8364
8797
|
|
8365
8798
|
def deserialize(params)
|
@@ -8391,6 +8824,18 @@ module TencentCloud
|
|
8391
8824
|
@IsExclusive = params['IsExclusive']
|
8392
8825
|
@SupportAiCallStatus = params['SupportAiCallStatus']
|
8393
8826
|
@Concurrency = params['Concurrency']
|
8827
|
+
@ModelTags = params['ModelTags']
|
8828
|
+
unless params['ModelParams'].nil?
|
8829
|
+
@ModelParams = []
|
8830
|
+
params['ModelParams'].each do |i|
|
8831
|
+
modelparameter_tmp = ModelParameter.new
|
8832
|
+
modelparameter_tmp.deserialize(i)
|
8833
|
+
@ModelParams << modelparameter_tmp
|
8834
|
+
end
|
8835
|
+
end
|
8836
|
+
@ProviderName = params['ProviderName']
|
8837
|
+
@ProviderAliasName = params['ProviderAliasName']
|
8838
|
+
@ProviderType = params['ProviderType']
|
8394
8839
|
end
|
8395
8840
|
end
|
8396
8841
|
|
@@ -8405,19 +8850,72 @@ module TencentCloud
|
|
8405
8850
|
# @param Max: 最大值
|
8406
8851
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8407
8852
|
# @type Max: Float
|
8853
|
+
# @param Name: 超参名称
|
8854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8855
|
+
# @type Name: String
|
8408
8856
|
|
8409
|
-
attr_accessor :Default, :Min, :Max
|
8857
|
+
attr_accessor :Default, :Min, :Max, :Name
|
8410
8858
|
|
8411
|
-
def initialize(default=nil, min=nil, max=nil)
|
8859
|
+
def initialize(default=nil, min=nil, max=nil, name=nil)
|
8412
8860
|
@Default = default
|
8413
8861
|
@Min = min
|
8414
8862
|
@Max = max
|
8863
|
+
@Name = name
|
8415
8864
|
end
|
8416
8865
|
|
8417
8866
|
def deserialize(params)
|
8418
8867
|
@Default = params['Default']
|
8419
8868
|
@Min = params['Min']
|
8420
8869
|
@Max = params['Max']
|
8870
|
+
@Name = params['Name']
|
8871
|
+
end
|
8872
|
+
end
|
8873
|
+
|
8874
|
+
# 模型参数
|
8875
|
+
class ModelParams < TencentCloud::Common::AbstractModel
|
8876
|
+
# @param Temperature: 温度
|
8877
|
+
# @type Temperature: Float
|
8878
|
+
# @param TopP: Top_P
|
8879
|
+
# @type TopP: Float
|
8880
|
+
# @param Seed: 随机种子
|
8881
|
+
# @type Seed: Integer
|
8882
|
+
# @param PresencePenalty: 存在惩罚
|
8883
|
+
# @type PresencePenalty: Float
|
8884
|
+
# @param FrequencyPenalty: 频率惩罚
|
8885
|
+
# @type FrequencyPenalty: Float
|
8886
|
+
# @param RepetitionPenalty: 重复惩罚
|
8887
|
+
# @type RepetitionPenalty: Float
|
8888
|
+
# @param MaxTokens: 最大输出长度
|
8889
|
+
# @type MaxTokens: Integer
|
8890
|
+
# @param StopSequences: 停止序列
|
8891
|
+
# @type StopSequences: Array
|
8892
|
+
# @param ReplyFormat: 输出格式
|
8893
|
+
# @type ReplyFormat: String
|
8894
|
+
|
8895
|
+
attr_accessor :Temperature, :TopP, :Seed, :PresencePenalty, :FrequencyPenalty, :RepetitionPenalty, :MaxTokens, :StopSequences, :ReplyFormat
|
8896
|
+
|
8897
|
+
def initialize(temperature=nil, topp=nil, seed=nil, presencepenalty=nil, frequencypenalty=nil, repetitionpenalty=nil, maxtokens=nil, stopsequences=nil, replyformat=nil)
|
8898
|
+
@Temperature = temperature
|
8899
|
+
@TopP = topp
|
8900
|
+
@Seed = seed
|
8901
|
+
@PresencePenalty = presencepenalty
|
8902
|
+
@FrequencyPenalty = frequencypenalty
|
8903
|
+
@RepetitionPenalty = repetitionpenalty
|
8904
|
+
@MaxTokens = maxtokens
|
8905
|
+
@StopSequences = stopsequences
|
8906
|
+
@ReplyFormat = replyformat
|
8907
|
+
end
|
8908
|
+
|
8909
|
+
def deserialize(params)
|
8910
|
+
@Temperature = params['Temperature']
|
8911
|
+
@TopP = params['TopP']
|
8912
|
+
@Seed = params['Seed']
|
8913
|
+
@PresencePenalty = params['PresencePenalty']
|
8914
|
+
@FrequencyPenalty = params['FrequencyPenalty']
|
8915
|
+
@RepetitionPenalty = params['RepetitionPenalty']
|
8916
|
+
@MaxTokens = params['MaxTokens']
|
8917
|
+
@StopSequences = params['StopSequences']
|
8918
|
+
@ReplyFormat = params['ReplyFormat']
|
8421
8919
|
end
|
8422
8920
|
end
|
8423
8921
|
|
@@ -8729,10 +9227,16 @@ module TencentCloud
|
|
8729
9227
|
# @type CateBizId: String
|
8730
9228
|
# @param IsDownload: 是否可下载,IsRefer为true并且ReferUrlType为0时,该值才有意义
|
8731
9229
|
# @type IsDownload: Boolean
|
9230
|
+
# @param ModifyTypes: 需要修改的内容类型 0 无效 1 更新文档cos信息 2 更新文档引用信息 3 更新文档刷新频率 4 腾讯文档刷新
|
9231
|
+
# @type ModifyTypes: Array
|
9232
|
+
# @param UpdatePeriodInfo: 文档更新频率
|
9233
|
+
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
9234
|
+
# @param SplitRule: 自定义切分规则
|
9235
|
+
# @type SplitRule: String
|
8732
9236
|
|
8733
|
-
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload
|
9237
|
+
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload, :ModifyTypes, :UpdatePeriodInfo, :SplitRule
|
8734
9238
|
|
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)
|
9239
|
+
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
9240
|
@BotBizId = botbizid
|
8737
9241
|
@DocBizId = docbizid
|
8738
9242
|
@IsRefer = isrefer
|
@@ -8746,6 +9250,9 @@ module TencentCloud
|
|
8746
9250
|
@ExpireEnd = expireend
|
8747
9251
|
@CateBizId = catebizid
|
8748
9252
|
@IsDownload = isdownload
|
9253
|
+
@ModifyTypes = modifytypes
|
9254
|
+
@UpdatePeriodInfo = updateperiodinfo
|
9255
|
+
@SplitRule = splitrule
|
8749
9256
|
end
|
8750
9257
|
|
8751
9258
|
def deserialize(params)
|
@@ -8769,6 +9276,12 @@ module TencentCloud
|
|
8769
9276
|
@ExpireEnd = params['ExpireEnd']
|
8770
9277
|
@CateBizId = params['CateBizId']
|
8771
9278
|
@IsDownload = params['IsDownload']
|
9279
|
+
@ModifyTypes = params['ModifyTypes']
|
9280
|
+
unless params['UpdatePeriodInfo'].nil?
|
9281
|
+
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
9282
|
+
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
9283
|
+
end
|
9284
|
+
@SplitRule = params['SplitRule']
|
8772
9285
|
end
|
8773
9286
|
end
|
8774
9287
|
|
@@ -9247,10 +9760,12 @@ module TencentCloud
|
|
9247
9760
|
# @type DocBizId: String
|
9248
9761
|
# @param QaBizId: 问答业务id
|
9249
9762
|
# @type QaBizId: String
|
9763
|
+
# @param Index: 文档索引id
|
9764
|
+
# @type Index: Integer
|
9250
9765
|
|
9251
|
-
attr_accessor :Id, :Url, :Type, :Name, :DocId, :KnowledgeName, :KnowledgeBizId, :DocBizId, :QaBizId
|
9766
|
+
attr_accessor :Id, :Url, :Type, :Name, :DocId, :KnowledgeName, :KnowledgeBizId, :DocBizId, :QaBizId, :Index
|
9252
9767
|
|
9253
|
-
def initialize(id=nil, url=nil, type=nil, name=nil, docid=nil, knowledgename=nil, knowledgebizid=nil, docbizid=nil, qabizid=nil)
|
9768
|
+
def initialize(id=nil, url=nil, type=nil, name=nil, docid=nil, knowledgename=nil, knowledgebizid=nil, docbizid=nil, qabizid=nil, index=nil)
|
9254
9769
|
@Id = id
|
9255
9770
|
@Url = url
|
9256
9771
|
@Type = type
|
@@ -9260,6 +9775,7 @@ module TencentCloud
|
|
9260
9775
|
@KnowledgeBizId = knowledgebizid
|
9261
9776
|
@DocBizId = docbizid
|
9262
9777
|
@QaBizId = qabizid
|
9778
|
+
@Index = index
|
9263
9779
|
end
|
9264
9780
|
|
9265
9781
|
def deserialize(params)
|
@@ -9272,6 +9788,7 @@ module TencentCloud
|
|
9272
9788
|
@KnowledgeBizId = params['KnowledgeBizId']
|
9273
9789
|
@DocBizId = params['DocBizId']
|
9274
9790
|
@QaBizId = params['QaBizId']
|
9791
|
+
@Index = params['Index']
|
9275
9792
|
end
|
9276
9793
|
end
|
9277
9794
|
|
@@ -9500,6 +10017,26 @@ module TencentCloud
|
|
9500
10017
|
end
|
9501
10018
|
end
|
9502
10019
|
|
10020
|
+
# 选项卡索引
|
10021
|
+
class OptionCardIndex < TencentCloud::Common::AbstractModel
|
10022
|
+
# @param RecordId: 唯一标识
|
10023
|
+
# @type RecordId: String
|
10024
|
+
# @param Index: 选项卡索引
|
10025
|
+
# @type Index: Integer
|
10026
|
+
|
10027
|
+
attr_accessor :RecordId, :Index
|
10028
|
+
|
10029
|
+
def initialize(recordid=nil, index=nil)
|
10030
|
+
@RecordId = recordid
|
10031
|
+
@Index = index
|
10032
|
+
end
|
10033
|
+
|
10034
|
+
def deserialize(params)
|
10035
|
+
@RecordId = params['RecordId']
|
10036
|
+
@Index = params['Index']
|
10037
|
+
end
|
10038
|
+
end
|
10039
|
+
|
9503
10040
|
# 插件参数请求结构
|
9504
10041
|
class PluginToolReqParam < TencentCloud::Common::AbstractModel
|
9505
10042
|
# @param Name: 参数名称
|
@@ -9589,16 +10126,22 @@ module TencentCloud
|
|
9589
10126
|
# @param ResourceStatus: 计费资源状态,1:可用,2:不可用
|
9590
10127
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9591
10128
|
# @type ResourceStatus: Integer
|
10129
|
+
# @param InputCount: 输入消耗 token 数
|
10130
|
+
# @type InputCount: Integer
|
10131
|
+
# @param OutputCount: 输出消耗 token 数
|
10132
|
+
# @type OutputCount: Integer
|
9592
10133
|
|
9593
|
-
attr_accessor :Name, :Title, :Status, :Count, :Debugging, :ResourceStatus
|
10134
|
+
attr_accessor :Name, :Title, :Status, :Count, :Debugging, :ResourceStatus, :InputCount, :OutputCount
|
9594
10135
|
|
9595
|
-
def initialize(name=nil, title=nil, status=nil, count=nil, debugging=nil, resourcestatus=nil)
|
10136
|
+
def initialize(name=nil, title=nil, status=nil, count=nil, debugging=nil, resourcestatus=nil, inputcount=nil, outputcount=nil)
|
9596
10137
|
@Name = name
|
9597
10138
|
@Title = title
|
9598
10139
|
@Status = status
|
9599
10140
|
@Count = count
|
9600
10141
|
@Debugging = debugging
|
9601
10142
|
@ResourceStatus = resourcestatus
|
10143
|
+
@InputCount = inputcount
|
10144
|
+
@OutputCount = outputcount
|
9602
10145
|
end
|
9603
10146
|
|
9604
10147
|
def deserialize(params)
|
@@ -9611,6 +10154,8 @@ module TencentCloud
|
|
9611
10154
|
@Debugging.deserialize(params['Debugging'])
|
9612
10155
|
end
|
9613
10156
|
@ResourceStatus = params['ResourceStatus']
|
10157
|
+
@InputCount = params['InputCount']
|
10158
|
+
@OutputCount = params['OutputCount']
|
9614
10159
|
end
|
9615
10160
|
end
|
9616
10161
|
|
@@ -9638,6 +10183,7 @@ module TencentCloud
|
|
9638
10183
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9639
10184
|
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.AgentDebugInfo`
|
9640
10185
|
# @param CustomVariables: 自定义参数
|
10186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9641
10187
|
# @type CustomVariables: Array
|
9642
10188
|
|
9643
10189
|
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow, :Agent, :CustomVariables
|
@@ -10531,10 +11077,98 @@ module TencentCloud
|
|
10531
11077
|
# @type IsDownload: Boolean
|
10532
11078
|
# @param DuplicateFileHandles: 重复文档处理方式,按顺序匹配第一个满足条件的方式处理
|
10533
11079
|
# @type DuplicateFileHandles: Array
|
11080
|
+
# @param SplitRule: 自定义切分规则
|
11081
|
+
|
11082
|
+
# 请求参数为一个 **JSON Object**,具体格式可参见接口示例值。包含以下主要字段:
|
11083
|
+
|
11084
|
+
# | 字段名 | 类型 | 说明 |
|
11085
|
+
# |--------------------|--------|----------------------------------------|
|
11086
|
+
# | `xlsx_splitter` | Object | **Excel(xlsx)文件切分策略配置**,仅当处理 Excel 文件时有效 |
|
11087
|
+
# | `common_splitter` | Object | **通用文件(如 txt、pdf 等)切分策略配置**,按页或按标签切分 |
|
11088
|
+
# | `table_style` | String | 表格内容的输出格式,如 HTML 或 Markdown |
|
10534
11089
|
|
10535
|
-
|
11090
|
+
# ---
|
10536
11091
|
|
10537
|
-
|
11092
|
+
# ## `xlsx_splitter`(Excel 切分策略)
|
11093
|
+
|
11094
|
+
# 用于配置 **表格文件的切分方式**。
|
11095
|
+
# **类型:Object**
|
11096
|
+
|
11097
|
+
# ```json
|
11098
|
+
# "xlsx_splitter": {
|
11099
|
+
# "header_interval": [1, 2],
|
11100
|
+
# "content_start": 10,
|
11101
|
+
# "split_row": 2
|
11102
|
+
# }
|
11103
|
+
# ```
|
11104
|
+
|
11105
|
+
# ### 字段说明:
|
11106
|
+
|
11107
|
+
# | 字段名 | 类型 | 说明 |
|
11108
|
+
# |-------------------|--------|----------------------------------------------------------------------|
|
11109
|
+
# | `header_interval` | Array\<Number\> | 表头所在的行区间,格式为 `[起始行, 结束行]`,**行号从 1 开始计数**。例如 `[1, 2]` 表示第 1~2 行为表头。 |
|
11110
|
+
# | `content_start` | Number | **表格内容的起始行号(从 1 开始)**。 |
|
11111
|
+
# | `split_row` | Number | **切分行数**。 |
|
11112
|
+
|
11113
|
+
# ---
|
11114
|
+
# ## `common_splitter`(通用文件切分策略)
|
11115
|
+
|
11116
|
+
# 用于配置 **非 Excel 文件(如 TXT、PDF、DOCX 等)的切分方式**,支持两种策略:**按页切分(page)** 或 **按标识符切分(tag)**。
|
11117
|
+
|
11118
|
+
# **类型:Object**
|
11119
|
+
|
11120
|
+
# ```json
|
11121
|
+
# "common_splitter": {
|
11122
|
+
# "splitter": "page",
|
11123
|
+
# "page_splitter": {
|
11124
|
+
# "chunk_length": 1000,
|
11125
|
+
# "chunk_overlap_length": 100
|
11126
|
+
# }
|
11127
|
+
# }
|
11128
|
+
# ```
|
11129
|
+
|
11130
|
+
# ### 字段说明:
|
11131
|
+
|
11132
|
+
# | 字段名 | 类型 | 说明 |
|
11133
|
+
# |-------------------|--------|---------------------------------------------------|
|
11134
|
+
# | `splitter` | String | 切分策略类型,可选值为:`"page"`(按页切分) 或 `"tag"`(按标识符切分)。 |
|
11135
|
+
# | `page_splitter` | Object | **按页切分的配置**。 |
|
11136
|
+
# | `page_splitter.chunk_length` | 1000 | **切片最大长度**。 |
|
11137
|
+
# | `page_splitter.chunk_overlap_length` | 100 | **切片重叠长度**。 |
|
11138
|
+
# | `tag_splitter` | Object | **自定义切分配置**。 |
|
11139
|
+
# | `tag_splitter.tag` | Array\<String\> | **切分标识符**。 |
|
11140
|
+
# | `tag_splitter.chunk_length`| Number | **切片最大长度**。 |
|
11141
|
+
# | `tag_splitter.chunk_overlap_length` | Number | **切块重叠长度**。 |
|
11142
|
+
|
11143
|
+
# 🔹 **补充说明:**
|
11144
|
+
|
11145
|
+
# - `splitter` 字段的值可以是:
|
11146
|
+
# - `"page"`:只使用按页切分逻辑,此时只需要关心 `page_splitter` 相关字段。
|
11147
|
+
# - `"tag"`:只使用按标识符(如分号、换行等)切分逻辑,此时关注 `tag_splitter`。
|
11148
|
+
# ---
|
11149
|
+
|
11150
|
+
# ## `table_style`(表格输出样式)
|
11151
|
+
|
11152
|
+
# 用于指定 **表格类内容(比如从 Excel 或 CSV 中提取的表格)最终以何种格式返回**,方便前端展示或后续处理。
|
11153
|
+
|
11154
|
+
# **类型:String**
|
11155
|
+
|
11156
|
+
# ```json
|
11157
|
+
# "table_style": "md"
|
11158
|
+
# ```
|
11159
|
+
|
11160
|
+
# ### 字段说明:
|
11161
|
+
|
11162
|
+
# | 字段名 | 类型 | 说明 |
|
11163
|
+
# |--------------|--------|----------------------------------------------------------------------|
|
11164
|
+
# | `table_style` | String | 指定表格内容的输出格式。可用值:<br>• `"html"`:以 HTML 表格形式返回,适合网页展示。<br>• `"md"`:以 Markdown 表格语法返回,适合文档或 Markdown 渲染环境。|
|
11165
|
+
# @type SplitRule: String
|
11166
|
+
# @param UpdatePeriodInfo: 文档更新频率
|
11167
|
+
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
11168
|
+
|
11169
|
+
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId, :IsDownload, :DuplicateFileHandles, :SplitRule, :UpdatePeriodInfo
|
11170
|
+
|
11171
|
+
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
11172
|
@BotBizId = botbizid
|
10539
11173
|
@FileName = filename
|
10540
11174
|
@FileType = filetype
|
@@ -10554,6 +11188,8 @@ module TencentCloud
|
|
10554
11188
|
@CateBizId = catebizid
|
10555
11189
|
@IsDownload = isdownload
|
10556
11190
|
@DuplicateFileHandles = duplicatefilehandles
|
11191
|
+
@SplitRule = splitrule
|
11192
|
+
@UpdatePeriodInfo = updateperiodinfo
|
10557
11193
|
end
|
10558
11194
|
|
10559
11195
|
def deserialize(params)
|
@@ -10590,6 +11226,11 @@ module TencentCloud
|
|
10590
11226
|
@DuplicateFileHandles << duplicatefilehandle_tmp
|
10591
11227
|
end
|
10592
11228
|
end
|
11229
|
+
@SplitRule = params['SplitRule']
|
11230
|
+
unless params['UpdatePeriodInfo'].nil?
|
11231
|
+
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
11232
|
+
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
11233
|
+
end
|
10593
11234
|
end
|
10594
11235
|
end
|
10595
11236
|
|
@@ -10663,35 +11304,72 @@ module TencentCloud
|
|
10663
11304
|
# @param StrategyType: 检索策略类型 0:混合检索,1:语义检索
|
10664
11305
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10665
11306
|
# @type StrategyType: Integer
|
10666
|
-
# @param TableEnhancement: Excel
|
11307
|
+
# @param TableEnhancement: Excel检索增强开关, false关闭,true打开
|
10667
11308
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10668
11309
|
# @type TableEnhancement: Boolean
|
11310
|
+
# @param EmbeddingModel: 向量模型
|
11311
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11312
|
+
# @type EmbeddingModel: String
|
11313
|
+
# @param RerankModelSwitch: 结果重排序开关, on打开,off关闭
|
11314
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11315
|
+
# @type RerankModelSwitch: String
|
11316
|
+
# @param RerankModel: 结果重排序模型
|
11317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11318
|
+
# @type RerankModel: String
|
10669
11319
|
|
10670
|
-
attr_accessor :StrategyType, :TableEnhancement
|
11320
|
+
attr_accessor :StrategyType, :TableEnhancement, :EmbeddingModel, :RerankModelSwitch, :RerankModel
|
10671
11321
|
|
10672
|
-
def initialize(strategytype=nil, tableenhancement=nil)
|
11322
|
+
def initialize(strategytype=nil, tableenhancement=nil, embeddingmodel=nil, rerankmodelswitch=nil, rerankmodel=nil)
|
10673
11323
|
@StrategyType = strategytype
|
10674
11324
|
@TableEnhancement = tableenhancement
|
11325
|
+
@EmbeddingModel = embeddingmodel
|
11326
|
+
@RerankModelSwitch = rerankmodelswitch
|
11327
|
+
@RerankModel = rerankmodel
|
10675
11328
|
end
|
10676
11329
|
|
10677
11330
|
def deserialize(params)
|
10678
11331
|
@StrategyType = params['StrategyType']
|
10679
11332
|
@TableEnhancement = params['TableEnhancement']
|
11333
|
+
@EmbeddingModel = params['EmbeddingModel']
|
11334
|
+
@RerankModelSwitch = params['RerankModelSwitch']
|
11335
|
+
@RerankModel = params['RerankModel']
|
10680
11336
|
end
|
10681
11337
|
end
|
10682
11338
|
|
10683
11339
|
# 共享知识库配置
|
10684
11340
|
class ShareKnowledgeBase < TencentCloud::Common::AbstractModel
|
10685
11341
|
# @param KnowledgeBizId: 共享知识库ID
|
11342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10686
11343
|
# @type KnowledgeBizId: String
|
10687
11344
|
# @param SearchRange: 检索范围
|
11345
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10688
11346
|
# @type SearchRange: :class:`Tencentcloud::Lke.v20231130.models.SearchRange`
|
11347
|
+
# @param KnowledgeModelConfig: 知识库模型设置
|
11348
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11349
|
+
# @type KnowledgeModelConfig: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeModelConfig`
|
11350
|
+
# @param SearchStrategy: 检索策略配置
|
11351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11352
|
+
# @type SearchStrategy: :class:`Tencentcloud::Lke.v20231130.models.SearchStrategy`
|
11353
|
+
# @param Search: 检索配置
|
11354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11355
|
+
# @type Search: Array
|
11356
|
+
# @param ReplyFlexibility: // 问答-回复灵活度 1:已采纳答案直接回复 2:已采纳润色后回复
|
11357
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11358
|
+
# @type ReplyFlexibility: Integer
|
11359
|
+
# @param KnowledgeName: 共享知识库名称
|
11360
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11361
|
+
# @type KnowledgeName: String
|
10689
11362
|
|
10690
|
-
attr_accessor :KnowledgeBizId, :SearchRange
|
11363
|
+
attr_accessor :KnowledgeBizId, :SearchRange, :KnowledgeModelConfig, :SearchStrategy, :Search, :ReplyFlexibility, :KnowledgeName
|
10691
11364
|
|
10692
|
-
def initialize(knowledgebizid=nil, searchrange=nil)
|
11365
|
+
def initialize(knowledgebizid=nil, searchrange=nil, knowledgemodelconfig=nil, searchstrategy=nil, search=nil, replyflexibility=nil, knowledgename=nil)
|
10693
11366
|
@KnowledgeBizId = knowledgebizid
|
10694
11367
|
@SearchRange = searchrange
|
11368
|
+
@KnowledgeModelConfig = knowledgemodelconfig
|
11369
|
+
@SearchStrategy = searchstrategy
|
11370
|
+
@Search = search
|
11371
|
+
@ReplyFlexibility = replyflexibility
|
11372
|
+
@KnowledgeName = knowledgename
|
10695
11373
|
end
|
10696
11374
|
|
10697
11375
|
def deserialize(params)
|
@@ -10700,6 +11378,24 @@ module TencentCloud
|
|
10700
11378
|
@SearchRange = SearchRange.new
|
10701
11379
|
@SearchRange.deserialize(params['SearchRange'])
|
10702
11380
|
end
|
11381
|
+
unless params['KnowledgeModelConfig'].nil?
|
11382
|
+
@KnowledgeModelConfig = KnowledgeModelConfig.new
|
11383
|
+
@KnowledgeModelConfig.deserialize(params['KnowledgeModelConfig'])
|
11384
|
+
end
|
11385
|
+
unless params['SearchStrategy'].nil?
|
11386
|
+
@SearchStrategy = SearchStrategy.new
|
11387
|
+
@SearchStrategy.deserialize(params['SearchStrategy'])
|
11388
|
+
end
|
11389
|
+
unless params['Search'].nil?
|
11390
|
+
@Search = []
|
11391
|
+
params['Search'].each do |i|
|
11392
|
+
knowledgeqasearch_tmp = KnowledgeQaSearch.new
|
11393
|
+
knowledgeqasearch_tmp.deserialize(i)
|
11394
|
+
@Search << knowledgeqasearch_tmp
|
11395
|
+
end
|
11396
|
+
end
|
11397
|
+
@ReplyFlexibility = params['ReplyFlexibility']
|
11398
|
+
@KnowledgeName = params['KnowledgeName']
|
10703
11399
|
end
|
10704
11400
|
end
|
10705
11401
|
|
@@ -10998,16 +11694,19 @@ module TencentCloud
|
|
10998
11694
|
# @type VarDefaultValue: String
|
10999
11695
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
11000
11696
|
# @type VarDefaultFileName: String
|
11697
|
+
# @param VarModuleType: 变量类型
|
11698
|
+
# @type VarModuleType: Integer
|
11001
11699
|
|
11002
|
-
attr_accessor :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
11700
|
+
attr_accessor :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
11003
11701
|
|
11004
|
-
def initialize(varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
|
11702
|
+
def initialize(varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil, varmoduletype=nil)
|
11005
11703
|
@VarId = varid
|
11006
11704
|
@VarName = varname
|
11007
11705
|
@VarDesc = vardesc
|
11008
11706
|
@VarType = vartype
|
11009
11707
|
@VarDefaultValue = vardefaultvalue
|
11010
11708
|
@VarDefaultFileName = vardefaultfilename
|
11709
|
+
@VarModuleType = varmoduletype
|
11011
11710
|
end
|
11012
11711
|
|
11013
11712
|
def deserialize(params)
|
@@ -11017,6 +11716,7 @@ module TencentCloud
|
|
11017
11716
|
@VarType = params['VarType']
|
11018
11717
|
@VarDefaultValue = params['VarDefaultValue']
|
11019
11718
|
@VarDefaultFileName = params['VarDefaultFileName']
|
11719
|
+
@VarModuleType = params['VarModuleType']
|
11020
11720
|
end
|
11021
11721
|
end
|
11022
11722
|
|
@@ -11240,6 +11940,23 @@ module TencentCloud
|
|
11240
11940
|
end
|
11241
11941
|
end
|
11242
11942
|
|
11943
|
+
# 更新时间策略
|
11944
|
+
class UpdatePeriodInfo < TencentCloud::Common::AbstractModel
|
11945
|
+
# @param UpdatePeriodH: 文档更新频率类型:0不更新 -H 小时粒度,当前仅支持24(1天),72(3天),168(7天) 仅source=2 腾讯文档类型有效
|
11946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11947
|
+
# @type UpdatePeriodH: Integer
|
11948
|
+
|
11949
|
+
attr_accessor :UpdatePeriodH
|
11950
|
+
|
11951
|
+
def initialize(updateperiodh=nil)
|
11952
|
+
@UpdatePeriodH = updateperiodh
|
11953
|
+
end
|
11954
|
+
|
11955
|
+
def deserialize(params)
|
11956
|
+
@UpdatePeriodH = params['UpdatePeriodH']
|
11957
|
+
end
|
11958
|
+
end
|
11959
|
+
|
11243
11960
|
# UpdateSharedKnowledge请求参数结构体
|
11244
11961
|
class UpdateSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
11245
11962
|
# @param KnowledgeBizId: 共享知识库业务ID
|
@@ -11299,10 +12016,12 @@ module TencentCloud
|
|
11299
12016
|
# @type VarDefaultValue: String
|
11300
12017
|
# @param VarDefaultFileName: 自定义变量文件默认名称
|
11301
12018
|
# @type VarDefaultFileName: String
|
12019
|
+
# @param VarModuleType: 变量类型
|
12020
|
+
# @type VarModuleType: Integer
|
11302
12021
|
|
11303
|
-
attr_accessor :AppBizId, :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
|
12022
|
+
attr_accessor :AppBizId, :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName, :VarModuleType
|
11304
12023
|
|
11305
|
-
def initialize(appbizid=nil, varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
|
12024
|
+
def initialize(appbizid=nil, varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil, varmoduletype=nil)
|
11306
12025
|
@AppBizId = appbizid
|
11307
12026
|
@VarId = varid
|
11308
12027
|
@VarName = varname
|
@@ -11310,6 +12029,7 @@ module TencentCloud
|
|
11310
12029
|
@VarType = vartype
|
11311
12030
|
@VarDefaultValue = vardefaultvalue
|
11312
12031
|
@VarDefaultFileName = vardefaultfilename
|
12032
|
+
@VarModuleType = varmoduletype
|
11313
12033
|
end
|
11314
12034
|
|
11315
12035
|
def deserialize(params)
|
@@ -11320,6 +12040,7 @@ module TencentCloud
|
|
11320
12040
|
@VarType = params['VarType']
|
11321
12041
|
@VarDefaultValue = params['VarDefaultValue']
|
11322
12042
|
@VarDefaultFileName = params['VarDefaultFileName']
|
12043
|
+
@VarModuleType = params['VarModuleType']
|
11323
12044
|
end
|
11324
12045
|
end
|
11325
12046
|
|
@@ -11585,10 +12306,14 @@ module TencentCloud
|
|
11585
12306
|
# @param WorkflowReleaseTime: 工作流发布时间,unix时间戳
|
11586
12307
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11587
12308
|
# @type WorkflowReleaseTime: String
|
12309
|
+
# @param PendingMessages: 中间消息
|
12310
|
+
# @type PendingMessages: Array
|
12311
|
+
# @param OptionCardIndex: 选项卡索引
|
12312
|
+
# @type OptionCardIndex: :class:`Tencentcloud::Lke.v20231130.models.OptionCardIndex`
|
11588
12313
|
|
11589
|
-
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime
|
12314
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex
|
11590
12315
|
|
11591
|
-
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil)
|
12316
|
+
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil, pendingmessages=nil, optioncardindex=nil)
|
11592
12317
|
@WorkflowId = workflowid
|
11593
12318
|
@WorkflowName = workflowname
|
11594
12319
|
@WorkflowRunId = workflowrunid
|
@@ -11596,6 +12321,8 @@ module TencentCloud
|
|
11596
12321
|
@OptionCards = optioncards
|
11597
12322
|
@Outputs = outputs
|
11598
12323
|
@WorkflowReleaseTime = workflowreleasetime
|
12324
|
+
@PendingMessages = pendingmessages
|
12325
|
+
@OptionCardIndex = optioncardindex
|
11599
12326
|
end
|
11600
12327
|
|
11601
12328
|
def deserialize(params)
|
@@ -11613,6 +12340,11 @@ module TencentCloud
|
|
11613
12340
|
@OptionCards = params['OptionCards']
|
11614
12341
|
@Outputs = params['Outputs']
|
11615
12342
|
@WorkflowReleaseTime = params['WorkflowReleaseTime']
|
12343
|
+
@PendingMessages = params['PendingMessages']
|
12344
|
+
unless params['OptionCardIndex'].nil?
|
12345
|
+
@OptionCardIndex = OptionCardIndex.new
|
12346
|
+
@OptionCardIndex.deserialize(params['OptionCardIndex'])
|
12347
|
+
end
|
11616
12348
|
end
|
11617
12349
|
end
|
11618
12350
|
|
@@ -11758,6 +12490,8 @@ module TencentCloud
|
|
11758
12490
|
# @type WorkflowId: String
|
11759
12491
|
# @param Name: 名称
|
11760
12492
|
# @type Name: String
|
12493
|
+
# @param Output: 工作流输出
|
12494
|
+
# @type Output: String
|
11761
12495
|
# @param State: 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
|
11762
12496
|
# @type State: Integer
|
11763
12497
|
# @param FailMessage: 错误信息
|
@@ -11779,14 +12513,15 @@ module TencentCloud
|
|
11779
12513
|
# @param CustomVariables: API参数配置
|
11780
12514
|
# @type CustomVariables: Array
|
11781
12515
|
|
11782
|
-
attr_accessor :RunEnv, :AppBizId, :WorkflowRunId, :WorkflowId, :Name, :State, :FailMessage, :TotalTokens, :CreateTime, :StartTime, :EndTime, :DialogJson, :Query, :MainModelName, :CustomVariables
|
12516
|
+
attr_accessor :RunEnv, :AppBizId, :WorkflowRunId, :WorkflowId, :Name, :Output, :State, :FailMessage, :TotalTokens, :CreateTime, :StartTime, :EndTime, :DialogJson, :Query, :MainModelName, :CustomVariables
|
11783
12517
|
|
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)
|
12518
|
+
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
12519
|
@RunEnv = runenv
|
11786
12520
|
@AppBizId = appbizid
|
11787
12521
|
@WorkflowRunId = workflowrunid
|
11788
12522
|
@WorkflowId = workflowid
|
11789
12523
|
@Name = name
|
12524
|
+
@Output = output
|
11790
12525
|
@State = state
|
11791
12526
|
@FailMessage = failmessage
|
11792
12527
|
@TotalTokens = totaltokens
|
@@ -11805,6 +12540,7 @@ module TencentCloud
|
|
11805
12540
|
@WorkflowRunId = params['WorkflowRunId']
|
11806
12541
|
@WorkflowId = params['WorkflowId']
|
11807
12542
|
@Name = params['Name']
|
12543
|
+
@Output = params['Output']
|
11808
12544
|
@State = params['State']
|
11809
12545
|
@FailMessage = params['FailMessage']
|
11810
12546
|
@TotalTokens = params['TotalTokens']
|