tencentcloud-sdk-lke 3.0.1187 → 3.0.1192

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.
@@ -162,16 +162,22 @@ module TencentCloud
162
162
  # @type EnableStructuredOutput: Boolean
163
163
  # @param StructuredOutputConfig: 结构化输出配置
164
164
  # @type StructuredOutputConfig: :class:`Tencentcloud::Lke.v20231130.models.StructuredOutputConfig`
165
+ # @param AgentOutputConfig: Agent输出配置
166
+ # @type AgentOutputConfig: :class:`Tencentcloud::Lke.v20231130.models.AgentOutputConfig`
167
+ # @param ClarificationConfig: 澄清询问配置
168
+ # @type ClarificationConfig: :class:`Tencentcloud::Lke.v20231130.models.ClarificationConfig`
165
169
 
166
- attr_accessor :EnableClarification, :ThinkingMode, :MaxReasoningRound, :HistoryLimit, :EnableStructuredOutput, :StructuredOutputConfig
170
+ attr_accessor :EnableClarification, :ThinkingMode, :MaxReasoningRound, :HistoryLimit, :EnableStructuredOutput, :StructuredOutputConfig, :AgentOutputConfig, :ClarificationConfig
167
171
 
168
- def initialize(enableclarification=nil, thinkingmode=nil, maxreasoninground=nil, historylimit=nil, enablestructuredoutput=nil, structuredoutputconfig=nil)
172
+ def initialize(enableclarification=nil, thinkingmode=nil, maxreasoninground=nil, historylimit=nil, enablestructuredoutput=nil, structuredoutputconfig=nil, agentoutputconfig=nil, clarificationconfig=nil)
169
173
  @EnableClarification = enableclarification
170
174
  @ThinkingMode = thinkingmode
171
175
  @MaxReasoningRound = maxreasoninground
172
176
  @HistoryLimit = historylimit
173
177
  @EnableStructuredOutput = enablestructuredoutput
174
178
  @StructuredOutputConfig = structuredoutputconfig
179
+ @AgentOutputConfig = agentoutputconfig
180
+ @ClarificationConfig = clarificationconfig
175
181
  end
176
182
 
177
183
  def deserialize(params)
@@ -184,6 +190,14 @@ module TencentCloud
184
190
  @StructuredOutputConfig = StructuredOutputConfig.new
185
191
  @StructuredOutputConfig.deserialize(params['StructuredOutputConfig'])
186
192
  end
193
+ unless params['AgentOutputConfig'].nil?
194
+ @AgentOutputConfig = AgentOutputConfig.new
195
+ @AgentOutputConfig.deserialize(params['AgentOutputConfig'])
196
+ end
197
+ unless params['ClarificationConfig'].nil?
198
+ @ClarificationConfig = ClarificationConfig.new
199
+ @ClarificationConfig.deserialize(params['ClarificationConfig'])
200
+ end
187
201
  end
188
202
  end
189
203
 
@@ -243,16 +257,19 @@ module TencentCloud
243
257
  # @type AppVarId: String
244
258
  # @param SystemVariable: 系统参数
245
259
  # @type SystemVariable: :class:`Tencentcloud::Lke.v20231130.models.AgentInputSystemVariable`
260
+ # @param ToolParam: 工具参数
261
+ # @type ToolParam: String
246
262
 
247
- attr_accessor :InputType, :UserInputValue, :CustomVarId, :EnvVarId, :AppVarId, :SystemVariable
263
+ attr_accessor :InputType, :UserInputValue, :CustomVarId, :EnvVarId, :AppVarId, :SystemVariable, :ToolParam
248
264
 
249
- def initialize(inputtype=nil, userinputvalue=nil, customvarid=nil, envvarid=nil, appvarid=nil, systemvariable=nil)
265
+ def initialize(inputtype=nil, userinputvalue=nil, customvarid=nil, envvarid=nil, appvarid=nil, systemvariable=nil, toolparam=nil)
250
266
  @InputType = inputtype
251
267
  @UserInputValue = userinputvalue
252
268
  @CustomVarId = customvarid
253
269
  @EnvVarId = envvarid
254
270
  @AppVarId = appvarid
255
271
  @SystemVariable = systemvariable
272
+ @ToolParam = toolparam
256
273
  end
257
274
 
258
275
  def deserialize(params)
@@ -268,6 +285,7 @@ module TencentCloud
268
285
  @SystemVariable = AgentInputSystemVariable.new
269
286
  @SystemVariable.deserialize(params['SystemVariable'])
270
287
  end
288
+ @ToolParam = params['ToolParam']
271
289
  end
272
290
  end
273
291
 
@@ -589,6 +607,37 @@ module TencentCloud
589
607
  end
590
608
  end
591
609
 
610
+ # Agent输出配置
611
+ class AgentOutputConfig < TencentCloud::Common::AbstractModel
612
+ # @param OutputType: 输出类型,1-文本 2-json 3-widget
613
+ # @type OutputType: Integer
614
+ # @param StructuredOutputParams: Json结构化输出参数列表
615
+ # @type StructuredOutputParams: Array
616
+ # @param WidgetId: widget id
617
+ # @type WidgetId: String
618
+
619
+ attr_accessor :OutputType, :StructuredOutputParams, :WidgetId
620
+
621
+ def initialize(outputtype=nil, structuredoutputparams=nil, widgetid=nil)
622
+ @OutputType = outputtype
623
+ @StructuredOutputParams = structuredoutputparams
624
+ @WidgetId = widgetid
625
+ end
626
+
627
+ def deserialize(params)
628
+ @OutputType = params['OutputType']
629
+ unless params['StructuredOutputParams'].nil?
630
+ @StructuredOutputParams = []
631
+ params['StructuredOutputParams'].each do |i|
632
+ parameterconfig_tmp = ParameterConfig.new
633
+ parameterconfig_tmp.deserialize(i)
634
+ @StructuredOutputParams << parameterconfig_tmp
635
+ end
636
+ end
637
+ @WidgetId = params['WidgetId']
638
+ end
639
+ end
640
+
592
641
  # 应用配置MCP插件header信息
593
642
  class AgentPluginHeader < TencentCloud::Common::AbstractModel
594
643
  # @param ParamName: 参数名称
@@ -1061,10 +1110,12 @@ module TencentCloud
1061
1110
  # @type ToolSource: Integer
1062
1111
  # @param FinanceType: 计费状态;0-不计费,1-限时免费,2-官方收费
1063
1112
  # @type FinanceType: Integer
1113
+ # @param ToolAdvanceConfig: 工具高级设置
1114
+ # @type ToolAdvanceConfig: :class:`Tencentcloud::Lke.v20231130.models.ToolAdvanceConfig`
1064
1115
 
1065
- attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod, :Query, :FinanceStatus, :ToolSource, :FinanceType
1116
+ attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod, :Query, :FinanceStatus, :ToolSource, :FinanceType, :ToolAdvanceConfig
1066
1117
 
1067
- 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, toolsource=nil, financetype=nil)
1118
+ 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, toolsource=nil, financetype=nil, tooladvanceconfig=nil)
1068
1119
  @PluginId = pluginid
1069
1120
  @PluginName = pluginname
1070
1121
  @IconUrl = iconurl
@@ -1084,6 +1135,7 @@ module TencentCloud
1084
1135
  @FinanceStatus = financestatus
1085
1136
  @ToolSource = toolsource
1086
1137
  @FinanceType = financetype
1138
+ @ToolAdvanceConfig = tooladvanceconfig
1087
1139
  end
1088
1140
 
1089
1141
  def deserialize(params)
@@ -1137,6 +1189,10 @@ module TencentCloud
1137
1189
  @FinanceStatus = params['FinanceStatus']
1138
1190
  @ToolSource = params['ToolSource']
1139
1191
  @FinanceType = params['FinanceType']
1192
+ unless params['ToolAdvanceConfig'].nil?
1193
+ @ToolAdvanceConfig = ToolAdvanceConfig.new
1194
+ @ToolAdvanceConfig.deserialize(params['ToolAdvanceConfig'])
1195
+ end
1140
1196
  end
1141
1197
  end
1142
1198
 
@@ -2105,6 +2161,65 @@ module TencentCloud
2105
2161
  end
2106
2162
  end
2107
2163
 
2164
+ # 澄清询问配置
2165
+ class ClarificationConfig < TencentCloud::Common::AbstractModel
2166
+ # @param OutputType: 输出类型,1-文本 3-widget
2167
+ # @type OutputType: Integer
2168
+ # @param WidgetConfigs: 澄清widget配置
2169
+ # @type WidgetConfigs: Array
2170
+
2171
+ attr_accessor :OutputType, :WidgetConfigs
2172
+
2173
+ def initialize(outputtype=nil, widgetconfigs=nil)
2174
+ @OutputType = outputtype
2175
+ @WidgetConfigs = widgetconfigs
2176
+ end
2177
+
2178
+ def deserialize(params)
2179
+ @OutputType = params['OutputType']
2180
+ unless params['WidgetConfigs'].nil?
2181
+ @WidgetConfigs = []
2182
+ params['WidgetConfigs'].each do |i|
2183
+ clarificationwidgetconfig_tmp = ClarificationWidgetConfig.new
2184
+ clarificationwidgetconfig_tmp.deserialize(i)
2185
+ @WidgetConfigs << clarificationwidgetconfig_tmp
2186
+ end
2187
+ end
2188
+ end
2189
+ end
2190
+
2191
+ # 澄清widget配置
2192
+ class ClarificationWidgetConfig < TencentCloud::Common::AbstractModel
2193
+ # @param WidgetId: widget id
2194
+ # @type WidgetId: String
2195
+ # @param ClarificationWidgetType: 澄清widget类型
2196
+ # @type ClarificationWidgetType: Integer
2197
+ # @param WidgetName: Widget名称
2198
+ # @type WidgetName: String
2199
+ # @param WidgetPreview: Widget预览
2200
+ # @type WidgetPreview: String
2201
+ # @param Enabled: 是否启用该Widget作为澄清样式
2202
+ # @type Enabled: Boolean
2203
+
2204
+ attr_accessor :WidgetId, :ClarificationWidgetType, :WidgetName, :WidgetPreview, :Enabled
2205
+
2206
+ def initialize(widgetid=nil, clarificationwidgettype=nil, widgetname=nil, widgetpreview=nil, enabled=nil)
2207
+ @WidgetId = widgetid
2208
+ @ClarificationWidgetType = clarificationwidgettype
2209
+ @WidgetName = widgetname
2210
+ @WidgetPreview = widgetpreview
2211
+ @Enabled = enabled
2212
+ end
2213
+
2214
+ def deserialize(params)
2215
+ @WidgetId = params['WidgetId']
2216
+ @ClarificationWidgetType = params['ClarificationWidgetType']
2217
+ @WidgetName = params['WidgetName']
2218
+ @WidgetPreview = params['WidgetPreview']
2219
+ @Enabled = params['Enabled']
2220
+ end
2221
+ end
2222
+
2108
2223
  # 标签提取配置
2109
2224
  class ClassifyConfig < TencentCloud::Common::AbstractModel
2110
2225
  # @param Model: 模型配置
@@ -2169,6 +2284,185 @@ module TencentCloud
2169
2284
  end
2170
2285
  end
2171
2286
 
2287
+ # 对话记录内容详情
2288
+ class Content < TencentCloud::Common::AbstractModel
2289
+ # @param Type: 消息内容类型
2290
+ # text:文本
2291
+ # image:图片
2292
+ # file:文件
2293
+ # option_cards:选项卡
2294
+ # custom_params:用户自定义业务参数
2295
+ # sandbox:云桌面
2296
+ # custom_variables:自定义输入参数
2297
+ # web_search: 网页搜索内容
2298
+ # file_collection:文件收集信息
2299
+ # widget:widget信息
2300
+ # widget_action:用户端widget动作信息
2301
+ # @type Type: String
2302
+ # @param Text: 文本内容
2303
+ # 注意:此字段可能返回 null,表示取不到有效值。
2304
+ # @type Text: String
2305
+ # @param QuoteInfos: 引用信息
2306
+ # 注意:此字段可能返回 null,表示取不到有效值。
2307
+ # @type QuoteInfos: Array
2308
+ # @param References: 参考文献信息
2309
+ # 注意:此字段可能返回 null,表示取不到有效值。
2310
+ # @type References: Array
2311
+ # @param Image: 图片信息
2312
+ # 注意:此字段可能返回 null,表示取不到有效值。
2313
+ # @type Image: :class:`Tencentcloud::Lke.v20231130.models.ImageInfoContent`
2314
+ # @param File: 文件信息
2315
+ # 注意:此字段可能返回 null,表示取不到有效值。
2316
+ # @type File: :class:`Tencentcloud::Lke.v20231130.models.FileInfoContent`
2317
+ # @param OptionCards: 选项卡信息
2318
+ # 注意:此字段可能返回 null,表示取不到有效值。
2319
+ # @type OptionCards: Array
2320
+ # @param CustomParams: 用户自定义业务参数信息
2321
+ # 注意:此字段可能返回 null,表示取不到有效值。
2322
+ # @type CustomParams: Array
2323
+ # @param CustomVariables: 自定义变量
2324
+ # 注意:此字段可能返回 null,表示取不到有效值。
2325
+ # @type CustomVariables: Array
2326
+ # @param Sandbox: 沙盒信息
2327
+ # 注意:此字段可能返回 null,表示取不到有效值。
2328
+ # @type Sandbox: :class:`Tencentcloud::Lke.v20231130.models.SandboxContent`
2329
+ # @param WebSearch: 网页搜索内容
2330
+ # 注意:此字段可能返回 null,表示取不到有效值。
2331
+ # @type WebSearch: :class:`Tencentcloud::Lke.v20231130.models.WebSearchContent`
2332
+ # @param FileCollection: 文件收集信息
2333
+ # 注意:此字段可能返回 null,表示取不到有效值。
2334
+ # @type FileCollection: :class:`Tencentcloud::Lke.v20231130.models.FileCollection`
2335
+ # @param Widget: Widget信息
2336
+ # 注意:此字段可能返回 null,表示取不到有效值。
2337
+ # @type Widget: :class:`Tencentcloud::Lke.v20231130.models.Widget`
2338
+ # @param WidgetAction: Widget动作信息
2339
+ # 注意:此字段可能返回 null,表示取不到有效值。
2340
+ # @type WidgetAction: :class:`Tencentcloud::Lke.v20231130.models.WidgetAction`
2341
+
2342
+ attr_accessor :Type, :Text, :QuoteInfos, :References, :Image, :File, :OptionCards, :CustomParams, :CustomVariables, :Sandbox, :WebSearch, :FileCollection, :Widget, :WidgetAction
2343
+
2344
+ def initialize(type=nil, text=nil, quoteinfos=nil, references=nil, image=nil, file=nil, optioncards=nil, customparams=nil, customvariables=nil, sandbox=nil, websearch=nil, filecollection=nil, widget=nil, widgetaction=nil)
2345
+ @Type = type
2346
+ @Text = text
2347
+ @QuoteInfos = quoteinfos
2348
+ @References = references
2349
+ @Image = image
2350
+ @File = file
2351
+ @OptionCards = optioncards
2352
+ @CustomParams = customparams
2353
+ @CustomVariables = customvariables
2354
+ @Sandbox = sandbox
2355
+ @WebSearch = websearch
2356
+ @FileCollection = filecollection
2357
+ @Widget = widget
2358
+ @WidgetAction = widgetaction
2359
+ end
2360
+
2361
+ def deserialize(params)
2362
+ @Type = params['Type']
2363
+ @Text = params['Text']
2364
+ unless params['QuoteInfos'].nil?
2365
+ @QuoteInfos = []
2366
+ params['QuoteInfos'].each do |i|
2367
+ quoteinfo_tmp = QuoteInfo.new
2368
+ quoteinfo_tmp.deserialize(i)
2369
+ @QuoteInfos << quoteinfo_tmp
2370
+ end
2371
+ end
2372
+ unless params['References'].nil?
2373
+ @References = []
2374
+ params['References'].each do |i|
2375
+ contentreference_tmp = ContentReference.new
2376
+ contentreference_tmp.deserialize(i)
2377
+ @References << contentreference_tmp
2378
+ end
2379
+ end
2380
+ unless params['Image'].nil?
2381
+ @Image = ImageInfoContent.new
2382
+ @Image.deserialize(params['Image'])
2383
+ end
2384
+ unless params['File'].nil?
2385
+ @File = FileInfoContent.new
2386
+ @File.deserialize(params['File'])
2387
+ end
2388
+ @OptionCards = params['OptionCards']
2389
+ @CustomParams = params['CustomParams']
2390
+ @CustomVariables = params['CustomVariables']
2391
+ unless params['Sandbox'].nil?
2392
+ @Sandbox = SandboxContent.new
2393
+ @Sandbox.deserialize(params['Sandbox'])
2394
+ end
2395
+ unless params['WebSearch'].nil?
2396
+ @WebSearch = WebSearchContent.new
2397
+ @WebSearch.deserialize(params['WebSearch'])
2398
+ end
2399
+ unless params['FileCollection'].nil?
2400
+ @FileCollection = FileCollection.new
2401
+ @FileCollection.deserialize(params['FileCollection'])
2402
+ end
2403
+ unless params['Widget'].nil?
2404
+ @Widget = Widget.new
2405
+ @Widget.deserialize(params['Widget'])
2406
+ end
2407
+ unless params['WidgetAction'].nil?
2408
+ @WidgetAction = WidgetAction.new
2409
+ @WidgetAction.deserialize(params['WidgetAction'])
2410
+ end
2411
+ end
2412
+ end
2413
+
2414
+ # 会话内容参考文献信息
2415
+ class ContentReference < TencentCloud::Common::AbstractModel
2416
+ # @param Index: 引用来源索引ID
2417
+ # 注意:此字段可能返回 null,表示取不到有效值。
2418
+ # @type Index: Integer
2419
+ # @param Name: 参考来源名称
2420
+ # @type Name: String
2421
+ # @param Type: 参考来源类型
2422
+ # 1:问答
2423
+ # 2:文档片段
2424
+ # 4:联网检索到的内容
2425
+ # @type Type: Integer
2426
+ # @param DocRefer: 文档片段参考信息
2427
+ # 注意:此字段可能返回 null,表示取不到有效值。
2428
+ # @type DocRefer: :class:`Tencentcloud::Lke.v20231130.models.DocReference`
2429
+ # @param QaRefer: 问答参考信息
2430
+ # 注意:此字段可能返回 null,表示取不到有效值。
2431
+ # @type QaRefer: :class:`Tencentcloud::Lke.v20231130.models.QaReference`
2432
+ # @param WebSearchRefer: 联网检索内容参考信息
2433
+ # 注意:此字段可能返回 null,表示取不到有效值。
2434
+ # @type WebSearchRefer: :class:`Tencentcloud::Lke.v20231130.models.WebSearchReference`
2435
+
2436
+ attr_accessor :Index, :Name, :Type, :DocRefer, :QaRefer, :WebSearchRefer
2437
+
2438
+ def initialize(index=nil, name=nil, type=nil, docrefer=nil, qarefer=nil, websearchrefer=nil)
2439
+ @Index = index
2440
+ @Name = name
2441
+ @Type = type
2442
+ @DocRefer = docrefer
2443
+ @QaRefer = qarefer
2444
+ @WebSearchRefer = websearchrefer
2445
+ end
2446
+
2447
+ def deserialize(params)
2448
+ @Index = params['Index']
2449
+ @Name = params['Name']
2450
+ @Type = params['Type']
2451
+ unless params['DocRefer'].nil?
2452
+ @DocRefer = DocReference.new
2453
+ @DocRefer.deserialize(params['DocRefer'])
2454
+ end
2455
+ unless params['QaRefer'].nil?
2456
+ @QaRefer = QaReference.new
2457
+ @QaRefer.deserialize(params['QaRefer'])
2458
+ end
2459
+ unless params['WebSearchRefer'].nil?
2460
+ @WebSearchRefer = WebSearchReference.new
2461
+ @WebSearchRefer.deserialize(params['WebSearchRefer'])
2462
+ end
2463
+ end
2464
+ end
2465
+
2172
2466
  # 获取不满意回复上下文响
2173
2467
  class Context < TencentCloud::Common::AbstractModel
2174
2468
  # @param RecordBizId: 消息记录ID信息
@@ -2413,10 +2707,11 @@ module TencentCloud
2413
2707
  # CreateQACate请求参数结构体
2414
2708
  class CreateQACateRequest < TencentCloud::Common::AbstractModel
2415
2709
  # @param BotBizId: 应用ID
2710
+ # 若要操作共享知识库,传KnowledgeBizId
2416
2711
  # @type BotBizId: String
2417
2712
  # @param ParentBizId: 父级业务ID,创建顶级分类时传字符串"0"
2418
2713
  # @type ParentBizId: String
2419
- # @param Name: 分类名称
2714
+ # @param Name: 创建的分类名称
2420
2715
  # @type Name: String
2421
2716
 
2422
2717
  attr_accessor :BotBizId, :ParentBizId, :Name
@@ -2493,7 +2788,8 @@ module TencentCloud
2493
2788
  # @type SimilarQuestions: Array
2494
2789
  # @param QuestionDesc: 问题描述
2495
2790
  # @type QuestionDesc: String
2496
- # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
2791
+ # @param EnableScope: 问答生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
2792
+ # 默认值:应用内默认知识库为2,共享知识库为4。
2497
2793
  # @type EnableScope: Integer
2498
2794
 
2499
2795
  attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QuestionDesc, :EnableScope
@@ -3520,13 +3816,13 @@ module TencentCloud
3520
3816
 
3521
3817
  # DescribeCallStatsGraph请求参数结构体
3522
3818
  class DescribeCallStatsGraphRequest < TencentCloud::Common::AbstractModel
3523
- # @param UinAccount: uin
3819
+ # @param UinAccount: 子账号标识列表,支持批量查询多个子账号。不填时查询主账号下所有子账号的汇总数据
3524
3820
  # @type UinAccount: Array
3525
3821
  # @param LoginUin: 登录用户主账号(集成商模式必填)
3526
3822
  # @type LoginUin: String
3527
3823
  # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
3528
3824
  # @type LoginSubAccountUin: String
3529
- # @param SubBizType: 子业务类型
3825
+ # @param SubBizType: 子业务类型,用于筛选不同业务场景的调用统计
3530
3826
  # @type SubBizType: String
3531
3827
  # @param ModelName: 模型标识
3532
3828
  # @type ModelName: String
@@ -3540,14 +3836,19 @@ module TencentCloud
3540
3836
  # @type SubScenes: Array
3541
3837
  # @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
3542
3838
  # @type AppType: String
3543
- # @param SpaceId: 空间id
3839
+ # @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
3544
3840
  # @type SpaceId: String
3545
- # @param StatStartTime: 开始时间戳, 单位为秒
3841
+ # @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
3546
3842
  # @type StatStartTime: Integer
3547
- # @param StatEndTime: 结束时间戳, 单位为秒
3843
+ # @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
3548
3844
  # @type StatEndTime: Integer
3549
3845
 
3550
3846
  attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType, :SpaceId, :StatStartTime, :StatEndTime
3847
+ extend Gem::Deprecate
3848
+ deprecate :StartTime, :none, 2025, 12
3849
+ deprecate :StartTime=, :none, 2025, 12
3850
+ deprecate :EndTime, :none, 2025, 12
3851
+ deprecate :EndTime=, :none, 2025, 12
3551
3852
 
3552
3853
  def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil, spaceid=nil, statstarttime=nil, statendtime=nil)
3553
3854
  @UinAccount = uinaccount
@@ -3849,7 +4150,7 @@ module TencentCloud
3849
4150
  # @param CateNamePath: 从根节点开始的路径分类名称
3850
4151
  # 注意:此字段可能返回 null,表示取不到有效值。
3851
4152
  # @type CateNamePath: Array
3852
- # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
4153
+ # @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
3853
4154
  # @type EnableScope: Integer
3854
4155
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3855
4156
  # @type RequestId: String
@@ -3941,7 +4242,7 @@ module TencentCloud
3941
4242
  class DescribeKnowledgeUsagePieGraphRequest < TencentCloud::Common::AbstractModel
3942
4243
  # @param AppBizIds: 应用ID数组
3943
4244
  # @type AppBizIds: Array
3944
- # @param SpaceId: 空间列表
4245
+ # @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
3945
4246
  # @type SpaceId: String
3946
4247
 
3947
4248
  attr_accessor :AppBizIds, :SpaceId
@@ -4158,10 +4459,11 @@ module TencentCloud
4158
4459
  # @param CateNamePath: 从根节点开始的路径分类名称
4159
4460
  # 注意:此字段可能返回 null,表示取不到有效值。
4160
4461
  # @type CateNamePath: Array
4161
- # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
4462
+ # @param EnableScope: 问答生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
4162
4463
  # 注意:此字段可能返回 null,表示取不到有效值。
4163
4464
  # @type EnableScope: Integer
4164
- # @param DocEnableScope: 问答关联的文档生效域
4465
+ # @param DocEnableScope: 问答关联的文档生效域:1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效.
4466
+ # 若问答未关联文档,则该字段值同问答生效域
4165
4467
  # @type DocEnableScope: Integer
4166
4468
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4167
4469
  # @type RequestId: String
@@ -4371,9 +4673,9 @@ module TencentCloud
4371
4673
 
4372
4674
  # DescribeRelease请求参数结构体
4373
4675
  class DescribeReleaseRequest < TencentCloud::Common::AbstractModel
4374
- # @param BotBizId: 应用ID
4676
+ # @param BotBizId: 应用ID。获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
4375
4677
  # @type BotBizId: String
4376
- # @param ReleaseBizId: 发布详情
4678
+ # @param ReleaseBizId: 发布ID
4377
4679
  # @type ReleaseBizId: String
4378
4680
 
4379
4681
  attr_accessor :BotBizId, :ReleaseBizId
@@ -4718,7 +5020,7 @@ module TencentCloud
4718
5020
 
4719
5021
  # DescribeTokenUsageGraph请求参数结构体
4720
5022
  class DescribeTokenUsageGraphRequest < TencentCloud::Common::AbstractModel
4721
- # @param UinAccount: 腾讯云主账号
5023
+ # @param UinAccount: 子账号标识列表,支持批量查询多个子账号。不填时查询主账号下所有子账号的汇总数据
4722
5024
  # @type UinAccount: Array
4723
5025
  # @param SubBizType: 知识引擎子业务类型: FileParse(文档解析)、Embedding、Rewrite(多轮改写)、 Concurrency(并发)、KnowledgeSummary(知识总结) KnowledgeQA(知识问答)、KnowledgeCapacity(知识库容量)、SearchEngine(搜索引擎)
4724
5026
  # @type SubBizType: String
@@ -4728,18 +5030,23 @@ module TencentCloud
4728
5030
  # @type StartTime: String
4729
5031
  # @param EndTime: 结束时间戳, 单位为秒(废弃)
4730
5032
  # @type EndTime: String
4731
- # @param AppBizIds: 应用id列表
5033
+ # @param AppBizIds: 应用ID列表。不填时:若指定SpaceId则查该空间所有应用;否则查用户下所有应用
4732
5034
  # @type AppBizIds: Array
4733
- # @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
5035
+ # @param AppType: 应用类型。可选值:knowledge_qa(知识问答)/plugin_parsing_qa(插件)/shared_knowledge(知识库)/evaluate_test(评测)。不填时查所有类型
4734
5036
  # @type AppType: String
4735
5037
  # @param SubScenes: 筛选子场景
4736
5038
  # @type SubScenes: Array
4737
- # @param StatStartTime: 开始时间戳, 单位为秒
5039
+ # @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
4738
5040
  # @type StatStartTime: Integer
4739
- # @param StatEndTime: 结束时间戳, 单位为秒
5041
+ # @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
4740
5042
  # @type StatEndTime: Integer
4741
5043
 
4742
5044
  attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType, :SubScenes, :StatStartTime, :StatEndTime
5045
+ extend Gem::Deprecate
5046
+ deprecate :StartTime, :none, 2025, 12
5047
+ deprecate :StartTime=, :none, 2025, 12
5048
+ deprecate :EndTime, :none, 2025, 12
5049
+ deprecate :EndTime=, :none, 2025, 12
4743
5050
 
4744
5051
  def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, apptype=nil, subscenes=nil, statstarttime=nil, statendtime=nil)
4745
5052
  @UinAccount = uinaccount
@@ -4819,7 +5126,7 @@ module TencentCloud
4819
5126
 
4820
5127
  # DescribeTokenUsage请求参数结构体
4821
5128
  class DescribeTokenUsageRequest < TencentCloud::Common::AbstractModel
4822
- # @param UinAccount: 腾讯云主账号
5129
+ # @param UinAccount: 子账号标识列表,用于筛选指定子账号的统计数据,不填时查询主账号下所有子账号的汇总数据
4823
5130
  # @type UinAccount: Array
4824
5131
  # @param LoginUin: 登录用户主账号(集成商模式必填)
4825
5132
  # @type LoginUin: String
@@ -4839,14 +5146,19 @@ module TencentCloud
4839
5146
  # @type SubScenes: Array
4840
5147
  # @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
4841
5148
  # @type AppType: String
4842
- # @param SpaceId: 空间id
5149
+ # @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
4843
5150
  # @type SpaceId: String
4844
- # @param StatStartTime: 开始时间戳, 单位为秒
5151
+ # @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
4845
5152
  # @type StatStartTime: Integer
4846
- # @param StatEndTime: 结束时间戳, 单位为秒
5153
+ # @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
4847
5154
  # @type StatEndTime: Integer
4848
5155
 
4849
5156
  attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType, :SpaceId, :StatStartTime, :StatEndTime
5157
+ extend Gem::Deprecate
5158
+ deprecate :StartTime, :none, 2025, 12
5159
+ deprecate :StartTime=, :none, 2025, 12
5160
+ deprecate :EndTime, :none, 2025, 12
5161
+ deprecate :EndTime=, :none, 2025, 12
4850
5162
 
4851
5163
  def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, subscenes=nil, apptype=nil, spaceid=nil, statstarttime=nil, statendtime=nil)
4852
5164
  @UinAccount = uinaccount
@@ -4945,7 +5257,7 @@ module TencentCloud
4945
5257
  class DescribeUnsatisfiedReplyContextRequest < TencentCloud::Common::AbstractModel
4946
5258
  # @param BotBizId: 应用ID,获取方法参看如何获取[BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
4947
5259
  # @type BotBizId: String
4948
- # @param ReplyBizId: 回复ID,调用这个接口获得:[ListUnsatisfiedReply](https://capi.woa.com/api/detail?product=lke&version=2023-11-30&action=ListUnsatisfiedReply)
5260
+ # @param ReplyBizId: 回复ID
4949
5261
  # @type ReplyBizId: String
4950
5262
  # @param LoginUin: 登录用户主账号(集成商模式必填)
4951
5263
  # @type LoginUin: String
@@ -5120,6 +5432,47 @@ module TencentCloud
5120
5432
  end
5121
5433
  end
5122
5434
 
5435
+ # 文档类参考来源信息
5436
+ class DocReference < TencentCloud::Common::AbstractModel
5437
+ # @param DocBizId: 文档业务ID
5438
+ # @type DocBizId: Integer
5439
+ # @param ReferBizId: 文档片段参考ID
5440
+ # 注意:此字段可能返回 null,表示取不到有效值。
5441
+ # @type ReferBizId: Integer
5442
+ # @param DocName: 文档名称
5443
+ # 注意:此字段可能返回 null,表示取不到有效值。
5444
+ # @type DocName: String
5445
+ # @param KnowledgeBizId: 文档所在知识库业务ID
5446
+ # 注意:此字段可能返回 null,表示取不到有效值。
5447
+ # @type KnowledgeBizId: Integer
5448
+ # @param KnowledgeName: 文档所在知识库名称
5449
+ # 注意:此字段可能返回 null,表示取不到有效值。
5450
+ # @type KnowledgeName: String
5451
+ # @param Url: 文档访问地址
5452
+ # 注意:此字段可能返回 null,表示取不到有效值。
5453
+ # @type Url: String
5454
+
5455
+ attr_accessor :DocBizId, :ReferBizId, :DocName, :KnowledgeBizId, :KnowledgeName, :Url
5456
+
5457
+ def initialize(docbizid=nil, referbizid=nil, docname=nil, knowledgebizid=nil, knowledgename=nil, url=nil)
5458
+ @DocBizId = docbizid
5459
+ @ReferBizId = referbizid
5460
+ @DocName = docname
5461
+ @KnowledgeBizId = knowledgebizid
5462
+ @KnowledgeName = knowledgename
5463
+ @Url = url
5464
+ end
5465
+
5466
+ def deserialize(params)
5467
+ @DocBizId = params['DocBizId']
5468
+ @ReferBizId = params['ReferBizId']
5469
+ @DocName = params['DocName']
5470
+ @KnowledgeBizId = params['KnowledgeBizId']
5471
+ @KnowledgeName = params['KnowledgeName']
5472
+ @Url = params['Url']
5473
+ end
5474
+ end
5475
+
5123
5476
  # 文档片段
5124
5477
  class DocSegment < TencentCloud::Common::AbstractModel
5125
5478
  # @param Id: 片段ID
@@ -5268,10 +5621,18 @@ module TencentCloud
5268
5621
  # ExportQAList请求参数结构体
5269
5622
  class ExportQAListRequest < TencentCloud::Common::AbstractModel
5270
5623
  # @param BotBizId: 应用ID
5624
+ # 若要操作共享知识库,传KnowledgeBizId
5271
5625
  # @type BotBizId: String
5272
5626
  # @param QaBizIds: QA业务ID
5273
5627
  # @type QaBizIds: Array
5274
5628
  # @param Filters: 查询参数
5629
+ # Filters.pageNumber范围是>0,0<Filters.pageSize<=200
5630
+ # Filters.query用于内容检索,模糊匹配
5631
+ # Filters.AcceptStatus默认值是0,表示不筛选,返回所有状态
5632
+ # Filters.ReleaseStatus默认值是0,表示不筛选,返回所有状态
5633
+ # Filters.Source默认值是0,表示不筛选,返回所有来源。表示来源(1 文档生成 2 批量导入 3 手动添加)。
5634
+ # Filter.QueryType默认值是"filename",表示查询类型。
5635
+ # ShowCurrCate表示,是否只展示当前分类的数据 0不是,1是
5275
5636
  # @type Filters: :class:`Tencentcloud::Lke.v20231130.models.QAQuery`
5276
5637
 
5277
5638
  attr_accessor :BotBizId, :QaBizIds, :Filters
@@ -5311,8 +5672,9 @@ module TencentCloud
5311
5672
  # ExportUnsatisfiedReply请求参数结构体
5312
5673
  class ExportUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
5313
5674
  # @param BotBizId: 应用ID
5675
+ # 若要操作共享知识库,传KnowledgeBizId
5314
5676
  # @type BotBizId: String
5315
- # @param ReplyBizIds: 勾选导出ID列表
5677
+ # @param ReplyBizIds: 勾选导出不满意回复的ID列表
5316
5678
  # @type ReplyBizIds: Array
5317
5679
  # @param LoginUin: 登录用户主账号(集成商模式必填)
5318
5680
  # @type LoginUin: String
@@ -5376,6 +5738,27 @@ module TencentCloud
5376
5738
  end
5377
5739
  end
5378
5740
 
5741
+ # 文件收集信息
5742
+ class FileCollection < TencentCloud::Common::AbstractModel
5743
+ # @param MaxFileCount: 最大上传文件的数量
5744
+ # @type MaxFileCount: Integer
5745
+ # @param SupportedFileTypes: 支持的上传文件类型
5746
+ # 注意:此字段可能返回 null,表示取不到有效值。
5747
+ # @type SupportedFileTypes: Array
5748
+
5749
+ attr_accessor :MaxFileCount, :SupportedFileTypes
5750
+
5751
+ def initialize(maxfilecount=nil, supportedfiletypes=nil)
5752
+ @MaxFileCount = maxfilecount
5753
+ @SupportedFileTypes = supportedfiletypes
5754
+ end
5755
+
5756
+ def deserialize(params)
5757
+ @MaxFileCount = params['MaxFileCount']
5758
+ @SupportedFileTypes = params['SupportedFileTypes']
5759
+ end
5760
+ end
5761
+
5379
5762
  # 实时上传的文件信息
5380
5763
  class FileInfo < TencentCloud::Common::AbstractModel
5381
5764
  # @param FileName: 文件名称
@@ -5418,6 +5801,42 @@ module TencentCloud
5418
5801
  end
5419
5802
  end
5420
5803
 
5804
+ # 文件信息内容
5805
+ class FileInfoContent < TencentCloud::Common::AbstractModel
5806
+ # @param DocBizId: 实时文档解析接口返回的 DocBizId
5807
+ # @type DocBizId: Integer
5808
+ # @param FileName: 文件名称
5809
+ # 注意:此字段可能返回 null,表示取不到有效值。
5810
+ # @type FileName: String
5811
+ # @param FileType: 文件类型
5812
+ # 注意:此字段可能返回 null,表示取不到有效值。
5813
+ # @type FileType: String
5814
+ # @param FileSize: 文件大小
5815
+ # 注意:此字段可能返回 null,表示取不到有效值。
5816
+ # @type FileSize: Integer
5817
+ # @param FileUrl: 文件 URL
5818
+ # 注意:此字段可能返回 null,表示取不到有效值。
5819
+ # @type FileUrl: String
5820
+
5821
+ attr_accessor :DocBizId, :FileName, :FileType, :FileSize, :FileUrl
5822
+
5823
+ def initialize(docbizid=nil, filename=nil, filetype=nil, filesize=nil, fileurl=nil)
5824
+ @DocBizId = docbizid
5825
+ @FileName = filename
5826
+ @FileType = filetype
5827
+ @FileSize = filesize
5828
+ @FileUrl = fileurl
5829
+ end
5830
+
5831
+ def deserialize(params)
5832
+ @DocBizId = params['DocBizId']
5833
+ @FileName = params['FileName']
5834
+ @FileType = params['FileType']
5835
+ @FileSize = params['FileSize']
5836
+ @FileUrl = params['FileUrl']
5837
+ end
5838
+ end
5839
+
5421
5840
  # 不满意回复检索过滤
5422
5841
  class Filters < TencentCloud::Common::AbstractModel
5423
5842
  # @param Query: 检索,用户问题或答案
@@ -5822,23 +6241,29 @@ module TencentCloud
5822
6241
 
5823
6242
  # GetMsgRecord请求参数结构体
5824
6243
  class GetMsgRecordRequest < TencentCloud::Common::AbstractModel
5825
- # @param Type: 类型
6244
+ # @param Type: 接入类型, 5-API 访客,目前仅支持传5
5826
6245
  # @type Type: Integer
5827
6246
  # @param Count: 数量, 数量需大于2, 最大1000
5828
6247
  # @type Count: Integer
5829
- # @param SessionId: 会话sessionid
6248
+ # @param SessionId: 会话sessionid
5830
6249
  # @type SessionId: String
5831
6250
  # @param BotAppKey: 应用AppKey, 当Type=5[API访客]时, 该字段必填 :</br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
5832
6251
  # @type BotAppKey: String
5833
- # @param Scene: 场景, 体验: 1; 正式: 2
6252
+ # @param Scene: 场景, 体验: 1; 正式: 2
6253
+
6254
+ # 体验用于创建应用测试的时候使用,正式是应用发布后对外的时候使用
5834
6255
  # @type Scene: Integer
5835
6256
  # @param LastRecordId: 最后一条记录ID, 消息从后往前获取
5836
6257
 
5837
6258
  # MidRecordId与LastRecordId只能选择一个
6259
+
6260
+ # LastRecordId 和MidRecordId都不填的时候,默认从最新的消息ID开始取。
5838
6261
  # @type LastRecordId: String
5839
6262
  # @param MidRecordId: 传该值,代表拉取该记录id的前后总共count条消息记录
5840
6263
 
5841
6264
  # MidRecordId与LastRecordId只能选择一个
6265
+
6266
+ # LastRecordId 和MidRecordId都不填的时候,默认从最新的消息Id开始取
5842
6267
  # @type MidRecordId: String
5843
6268
 
5844
6269
  attr_accessor :Type, :Count, :SessionId, :BotAppKey, :Scene, :LastRecordId, :MidRecordId
@@ -6064,12 +6489,15 @@ module TencentCloud
6064
6489
  # @param BotAppKey: 应用AppKey </br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
6065
6490
  # @type BotAppKey: String
6066
6491
  # @param VisitorBizId: 访客ID(外部输入,建议唯一,标识当前接入会话的用户)
6067
- # 长度限制: string(64)
6492
+ # 长度限制: string(64),即最长不超过64个字符
6068
6493
  # @type VisitorBizId: String
6069
6494
  # @param VisitorLabels: 知识标签,用于知识库中知识的检索过滤。该字段即将下线,请使用对话端接口中的 custom_variables 字段替代该字段。
6070
6495
  # @type VisitorLabels: Array
6071
6496
 
6072
6497
  attr_accessor :Type, :BotAppKey, :VisitorBizId, :VisitorLabels
6498
+ extend Gem::Deprecate
6499
+ deprecate :VisitorLabels, :none, 2025, 12
6500
+ deprecate :VisitorLabels=, :none, 2025, 12
6073
6501
 
6074
6502
  def initialize(type=nil, botappkey=nil, visitorbizid=nil, visitorlabels=nil)
6075
6503
  @Type = type
@@ -6181,6 +6609,7 @@ module TencentCloud
6181
6609
  # GroupQA请求参数结构体
6182
6610
  class GroupQARequest < TencentCloud::Common::AbstractModel
6183
6611
  # @param BotBizId: 应用ID
6612
+ # 若要操作共享知识库,传KnowledgeBizId
6184
6613
  # @type BotBizId: String
6185
6614
  # @param QaBizIds: QaBizID列表
6186
6615
  # @type QaBizIds: Array
@@ -6314,6 +6743,22 @@ module TencentCloud
6314
6743
  end
6315
6744
  end
6316
6745
 
6746
+ # 图片信息
6747
+ class ImageInfoContent < TencentCloud::Common::AbstractModel
6748
+ # @param Url: 图片文件链接
6749
+ # @type Url: String
6750
+
6751
+ attr_accessor :Url
6752
+
6753
+ def initialize(url=nil)
6754
+ @Url = url
6755
+ end
6756
+
6757
+ def deserialize(params)
6758
+ @Url = params['Url']
6759
+ end
6760
+ end
6761
+
6317
6762
  # 输入框配置
6318
6763
  class InputBoxConfig < TencentCloud::Common::AbstractModel
6319
6764
  # @param InputBoxButtons: 输入框按钮,1:上传图片、2:上传文档,3:腾讯文档,4:联网搜索
@@ -7949,6 +8394,7 @@ module TencentCloud
7949
8394
  # ListQACate请求参数结构体
7950
8395
  class ListQACateRequest < TencentCloud::Common::AbstractModel
7951
8396
  # @param BotBizId: 应用ID
8397
+ # 若要操作共享知识库,传KnowledgeBizId
7952
8398
  # @type BotBizId: String
7953
8399
  # @param QueryType: 分类查询类型:0-全量查询整棵标签树,1-根据父节点BizId分页查询子节点,2-关键词检索所有匹配的分类链路
7954
8400
  # @type QueryType: Integer
@@ -8614,10 +9060,14 @@ module TencentCloud
8614
9060
  # @type SuccessCount: Integer
8615
9061
  # @param FailCount: 发布失败数
8616
9062
  # @type FailCount: Integer
9063
+ # @param ReleaseVersion: 版本号,格式是 v{date}{time}
9064
+ # @type ReleaseVersion: String
9065
+ # @param CanRollback: 是否可还原
9066
+ # @type CanRollback: Boolean
8617
9067
 
8618
- attr_accessor :ReleaseBizId, :Operator, :Desc, :UpdateTime, :Status, :StatusDesc, :Reason, :SuccessCount, :FailCount
9068
+ attr_accessor :ReleaseBizId, :Operator, :Desc, :UpdateTime, :Status, :StatusDesc, :Reason, :SuccessCount, :FailCount, :ReleaseVersion, :CanRollback
8619
9069
 
8620
- def initialize(releasebizid=nil, operator=nil, desc=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, successcount=nil, failcount=nil)
9070
+ def initialize(releasebizid=nil, operator=nil, desc=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, successcount=nil, failcount=nil, releaseversion=nil, canrollback=nil)
8621
9071
  @ReleaseBizId = releasebizid
8622
9072
  @Operator = operator
8623
9073
  @Desc = desc
@@ -8627,6 +9077,8 @@ module TencentCloud
8627
9077
  @Reason = reason
8628
9078
  @SuccessCount = successcount
8629
9079
  @FailCount = failcount
9080
+ @ReleaseVersion = releaseversion
9081
+ @CanRollback = canrollback
8630
9082
  end
8631
9083
 
8632
9084
  def deserialize(params)
@@ -8639,6 +9091,8 @@ module TencentCloud
8639
9091
  @Reason = params['Reason']
8640
9092
  @SuccessCount = params['SuccessCount']
8641
9093
  @FailCount = params['FailCount']
9094
+ @ReleaseVersion = params['ReleaseVersion']
9095
+ @CanRollback = params['CanRollback']
8642
9096
  end
8643
9097
  end
8644
9098
 
@@ -8723,11 +9177,11 @@ module TencentCloud
8723
9177
 
8724
9178
  # ListRelease请求参数结构体
8725
9179
  class ListReleaseRequest < TencentCloud::Common::AbstractModel
8726
- # @param BotBizId: 应用ID
9180
+ # @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
8727
9181
  # @type BotBizId: String
8728
- # @param PageNumber: 页码
9182
+ # @param PageNumber: 页码(必须大于0)
8729
9183
  # @type PageNumber: Integer
8730
- # @param PageSize: 每页数量
9184
+ # @param PageSize: 每页数量(取值范围为1-200)
8731
9185
  # @type PageSize: Integer
8732
9186
 
8733
9187
  attr_accessor :BotBizId, :PageNumber, :PageSize
@@ -9279,6 +9733,15 @@ module TencentCloud
9279
9733
 
9280
9734
  # 模型参数范围
9281
9735
  class ModelParameter < TencentCloud::Common::AbstractModel
9736
+ # @param Name: 超参名称
9737
+ # 注意:此字段可能返回 null,表示取不到有效值。
9738
+ # @type Name: String
9739
+ # @param Type: 类型
9740
+ # @type Type: String
9741
+ # @param DefaultValue: 默认值
9742
+ # @type DefaultValue: String
9743
+ # @param EnumValues: 枚举值
9744
+ # @type EnumValues: Array
9282
9745
  # @param Default: 默认值
9283
9746
  # 注意:此字段可能返回 null,表示取不到有效值。
9284
9747
  # @type Default: Float
@@ -9288,24 +9751,27 @@ module TencentCloud
9288
9751
  # @param Max: 最大值
9289
9752
  # 注意:此字段可能返回 null,表示取不到有效值。
9290
9753
  # @type Max: Float
9291
- # @param Name: 超参名称
9292
- # 注意:此字段可能返回 null,表示取不到有效值。
9293
- # @type Name: String
9294
9754
 
9295
- attr_accessor :Default, :Min, :Max, :Name
9755
+ attr_accessor :Name, :Type, :DefaultValue, :EnumValues, :Default, :Min, :Max
9296
9756
 
9297
- def initialize(default=nil, min=nil, max=nil, name=nil)
9757
+ def initialize(name=nil, type=nil, defaultvalue=nil, enumvalues=nil, default=nil, min=nil, max=nil)
9758
+ @Name = name
9759
+ @Type = type
9760
+ @DefaultValue = defaultvalue
9761
+ @EnumValues = enumvalues
9298
9762
  @Default = default
9299
9763
  @Min = min
9300
9764
  @Max = max
9301
- @Name = name
9302
9765
  end
9303
9766
 
9304
9767
  def deserialize(params)
9768
+ @Name = params['Name']
9769
+ @Type = params['Type']
9770
+ @DefaultValue = params['DefaultValue']
9771
+ @EnumValues = params['EnumValues']
9305
9772
  @Default = params['Default']
9306
9773
  @Min = params['Min']
9307
9774
  @Max = params['Max']
9308
- @Name = params['Name']
9309
9775
  end
9310
9776
  end
9311
9777
 
@@ -9329,10 +9795,18 @@ module TencentCloud
9329
9795
  # @type StopSequences: Array
9330
9796
  # @param ReplyFormat: 输出格式
9331
9797
  # @type ReplyFormat: String
9798
+ # @param DeepThinking: 深度思考值
9799
+ # disabled
9800
+ # enabled
9801
+ # 注意:此字段可能返回 null,表示取不到有效值。
9802
+ # @type DeepThinking: String
9803
+ # @param ReasoningEffort: 效果 disabled low medium high
9804
+ # 注意:此字段可能返回 null,表示取不到有效值。
9805
+ # @type ReasoningEffort: String
9332
9806
 
9333
- attr_accessor :Temperature, :TopP, :Seed, :PresencePenalty, :FrequencyPenalty, :RepetitionPenalty, :MaxTokens, :StopSequences, :ReplyFormat
9807
+ attr_accessor :Temperature, :TopP, :Seed, :PresencePenalty, :FrequencyPenalty, :RepetitionPenalty, :MaxTokens, :StopSequences, :ReplyFormat, :DeepThinking, :ReasoningEffort
9334
9808
 
9335
- def initialize(temperature=nil, topp=nil, seed=nil, presencepenalty=nil, frequencypenalty=nil, repetitionpenalty=nil, maxtokens=nil, stopsequences=nil, replyformat=nil)
9809
+ def initialize(temperature=nil, topp=nil, seed=nil, presencepenalty=nil, frequencypenalty=nil, repetitionpenalty=nil, maxtokens=nil, stopsequences=nil, replyformat=nil, deepthinking=nil, reasoningeffort=nil)
9336
9810
  @Temperature = temperature
9337
9811
  @TopP = topp
9338
9812
  @Seed = seed
@@ -9342,6 +9816,8 @@ module TencentCloud
9342
9816
  @MaxTokens = maxtokens
9343
9817
  @StopSequences = stopsequences
9344
9818
  @ReplyFormat = replyformat
9819
+ @DeepThinking = deepthinking
9820
+ @ReasoningEffort = reasoningeffort
9345
9821
  end
9346
9822
 
9347
9823
  def deserialize(params)
@@ -9354,14 +9830,16 @@ module TencentCloud
9354
9830
  @MaxTokens = params['MaxTokens']
9355
9831
  @StopSequences = params['StopSequences']
9356
9832
  @ReplyFormat = params['ReplyFormat']
9833
+ @DeepThinking = params['DeepThinking']
9834
+ @ReasoningEffort = params['ReasoningEffort']
9357
9835
  end
9358
9836
  end
9359
9837
 
9360
9838
  # ModifyApp请求参数结构体
9361
9839
  class ModifyAppRequest < TencentCloud::Common::AbstractModel
9362
- # @param AppBizId: 应用 ID
9840
+ # @param AppBizId: 应用ID, 获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
9363
9841
  # @type AppBizId: String
9364
- # @param AppType: 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classify-知识标签提取
9842
+ # @param AppType: 应用类型;"knowledge_qa" 知识问答应用(包含标准模式 单工作流 Multi-Agent 等模式)
9365
9843
  # @type AppType: String
9366
9844
  # @param BaseConfig: 应用基础配置
9367
9845
  # @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
@@ -9628,7 +10106,8 @@ module TencentCloud
9628
10106
  # @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
9629
10107
  # @param SplitRule: 自定义切分规则
9630
10108
  # @type SplitRule: String
9631
- # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
10109
+ # @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。
10110
+ # 若不传,则不会修改文档生效域。
9632
10111
  # @type EnableScope: Integer
9633
10112
 
9634
10113
  attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload, :ModifyTypes, :UpdatePeriodInfo, :SplitRule, :EnableScope
@@ -9822,7 +10301,7 @@ module TencentCloud
9822
10301
  # @type SimilarQuestionModify: :class:`Tencentcloud::Lke.v20231130.models.SimilarQuestionModify`
9823
10302
  # @param QuestionDesc: 问题描述
9824
10303
  # @type QuestionDesc: String
9825
- # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
10304
+ # @param EnableScope: 问答生效范围: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。若不传该字段,则不修改问答的生效范围。
9826
10305
  # @type EnableScope: Integer
9827
10306
 
9828
10307
  attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify, :QuestionDesc, :EnableScope
@@ -9895,7 +10374,7 @@ module TencentCloud
9895
10374
  # @param Question: 拒答问题
9896
10375
 
9897
10376
  # @type Question: String
9898
- # @param RejectedBizId: 拒答问题来源的数据源唯一id, 通过[ListRejectedQuestion](https://capi.woa.com/api/detail?product=lke&version=2023-11-30&action=ListRejectedQuestion)接口获取
10377
+ # @param RejectedBizId: 拒答问题来源的数据源唯一id, 通过调用ListRejectedQuestion接口获取
9899
10378
 
9900
10379
 
9901
10380
  # @type RejectedBizId: String
@@ -10048,10 +10527,16 @@ module TencentCloud
10048
10527
  # @param WorkFlow: 工作流信息
10049
10528
  # 注意:此字段可能返回 null,表示取不到有效值。
10050
10529
  # @type WorkFlow: :class:`Tencentcloud::Lke.v20231130.models.WorkflowInfo`
10530
+ # @param Widgets: Widget信息
10531
+ # 注意:此字段可能返回 null,表示取不到有效值。
10532
+ # @type Widgets: Array
10533
+ # @param WidgetAction: Widget动作信息
10534
+ # 注意:此字段可能返回 null,表示取不到有效值。
10535
+ # @type WidgetAction: :class:`Tencentcloud::Lke.v20231130.models.WidgetAction`
10051
10536
 
10052
- attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow, :FileInfos, :QuoteInfos, :AgentThought, :ExtraInfo, :WorkFlow
10537
+ attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow, :FileInfos, :QuoteInfos, :AgentThought, :ExtraInfo, :WorkFlow, :Widgets, :WidgetAction
10053
10538
 
10054
- def initialize(content=nil, sessionid=nil, recordid=nil, relatedrecordid=nil, isfromself=nil, fromname=nil, fromavatar=nil, timestamp=nil, hasread=nil, score=nil, canrating=nil, canfeedback=nil, type=nil, references=nil, reasons=nil, isllmgenerated=nil, imageurls=nil, tokenstat=nil, replymethod=nil, optioncards=nil, taskflow=nil, fileinfos=nil, quoteinfos=nil, agentthought=nil, extrainfo=nil, workflow=nil)
10539
+ def initialize(content=nil, sessionid=nil, recordid=nil, relatedrecordid=nil, isfromself=nil, fromname=nil, fromavatar=nil, timestamp=nil, hasread=nil, score=nil, canrating=nil, canfeedback=nil, type=nil, references=nil, reasons=nil, isllmgenerated=nil, imageurls=nil, tokenstat=nil, replymethod=nil, optioncards=nil, taskflow=nil, fileinfos=nil, quoteinfos=nil, agentthought=nil, extrainfo=nil, workflow=nil, widgets=nil, widgetaction=nil)
10055
10540
  @Content = content
10056
10541
  @SessionId = sessionid
10057
10542
  @RecordId = recordid
@@ -10078,6 +10563,8 @@ module TencentCloud
10078
10563
  @AgentThought = agentthought
10079
10564
  @ExtraInfo = extrainfo
10080
10565
  @WorkFlow = workflow
10566
+ @Widgets = widgets
10567
+ @WidgetAction = widgetaction
10081
10568
  end
10082
10569
 
10083
10570
  def deserialize(params)
@@ -10143,6 +10630,18 @@ module TencentCloud
10143
10630
  @WorkFlow = WorkflowInfo.new
10144
10631
  @WorkFlow.deserialize(params['WorkFlow'])
10145
10632
  end
10633
+ unless params['Widgets'].nil?
10634
+ @Widgets = []
10635
+ params['Widgets'].each do |i|
10636
+ widget_tmp = Widget.new
10637
+ widget_tmp.deserialize(i)
10638
+ @Widgets << widget_tmp
10639
+ end
10640
+ end
10641
+ unless params['WidgetAction'].nil?
10642
+ @WidgetAction = WidgetAction.new
10643
+ @WidgetAction.deserialize(params['WidgetAction'])
10644
+ end
10146
10645
  end
10147
10646
  end
10148
10647
 
@@ -10463,6 +10962,37 @@ module TencentCloud
10463
10962
  end
10464
10963
  end
10465
10964
 
10965
+ # Widget输出参数配置
10966
+ class OutputWidgetConfig < TencentCloud::Common::AbstractModel
10967
+ # @param WidgetId: widget id
10968
+ # @type WidgetId: String
10969
+ # @param WidgetName: widget名字
10970
+ # @type WidgetName: String
10971
+ # @param WidgetParam: 展示结果
10972
+ # @type WidgetParam: Array
10973
+
10974
+ attr_accessor :WidgetId, :WidgetName, :WidgetParam
10975
+
10976
+ def initialize(widgetid=nil, widgetname=nil, widgetparam=nil)
10977
+ @WidgetId = widgetid
10978
+ @WidgetName = widgetname
10979
+ @WidgetParam = widgetparam
10980
+ end
10981
+
10982
+ def deserialize(params)
10983
+ @WidgetId = params['WidgetId']
10984
+ @WidgetName = params['WidgetName']
10985
+ unless params['WidgetParam'].nil?
10986
+ @WidgetParam = []
10987
+ params['WidgetParam'].each do |i|
10988
+ widgetparam_tmp = WidgetParam.new
10989
+ widgetparam_tmp.deserialize(i)
10990
+ @WidgetParam << widgetparam_tmp
10991
+ end
10992
+ end
10993
+ end
10994
+ end
10995
+
10466
10996
  # 参数配置列表
10467
10997
  class ParameterConfig < TencentCloud::Common::AbstractModel
10468
10998
  # @param Name: 字段名称
@@ -10878,6 +11408,37 @@ module TencentCloud
10878
11408
  end
10879
11409
  end
10880
11410
 
11411
+ # 问答对参考信息
11412
+ class QaReference < TencentCloud::Common::AbstractModel
11413
+ # @param QaBizId: 问答业务ID
11414
+ # @type QaBizId: Integer
11415
+ # @param ReferBizId: 文档片段参考ID
11416
+ # 注意:此字段可能返回 null,表示取不到有效值。
11417
+ # @type ReferBizId: Integer
11418
+ # @param KnowledgeBizId: 问答所在知识库业务ID
11419
+ # 注意:此字段可能返回 null,表示取不到有效值。
11420
+ # @type KnowledgeBizId: Integer
11421
+ # @param KnowledgeName: 问答所在知识库名称
11422
+ # 注意:此字段可能返回 null,表示取不到有效值。
11423
+ # @type KnowledgeName: String
11424
+
11425
+ attr_accessor :QaBizId, :ReferBizId, :KnowledgeBizId, :KnowledgeName
11426
+
11427
+ def initialize(qabizid=nil, referbizid=nil, knowledgebizid=nil, knowledgename=nil)
11428
+ @QaBizId = qabizid
11429
+ @ReferBizId = referbizid
11430
+ @KnowledgeBizId = knowledgebizid
11431
+ @KnowledgeName = knowledgename
11432
+ end
11433
+
11434
+ def deserialize(params)
11435
+ @QaBizId = params['QaBizId']
11436
+ @ReferBizId = params['ReferBizId']
11437
+ @KnowledgeBizId = params['KnowledgeBizId']
11438
+ @KnowledgeName = params['KnowledgeName']
11439
+ end
11440
+ end
11441
+
10881
11442
  # 搜索引擎参考来源索引
10882
11443
  class QuoteInfo < TencentCloud::Common::AbstractModel
10883
11444
  # @param Position: 参考来源位置
@@ -11452,9 +12013,9 @@ module TencentCloud
11452
12013
 
11453
12014
  # RetryRelease请求参数结构体
11454
12015
  class RetryReleaseRequest < TencentCloud::Common::AbstractModel
11455
- # @param BotBizId: 机器人ID
12016
+ # @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
11456
12017
  # @type BotBizId: String
11457
- # @param ReleaseBizId: 发布业务ID
12018
+ # @param ReleaseBizId: 发布单ID(可以通过[ListRelease](https://cloud.tencent.com/document/product/1759/105077)获得)
11458
12019
  # @type ReleaseBizId: String
11459
12020
 
11460
12021
  attr_accessor :BotBizId, :ReleaseBizId
@@ -11533,6 +12094,33 @@ module TencentCloud
11533
12094
  end
11534
12095
  end
11535
12096
 
12097
+ # 沙盒信息内容
12098
+ class SandboxContent < TencentCloud::Common::AbstractModel
12099
+ # @param Url: 沙盒的URL地址
12100
+ # 注意:此字段可能返回 null,表示取不到有效值。
12101
+ # @type Url: String
12102
+ # @param DisplayUrl: 沙盒通过浏览器打开的URL地址
12103
+ # 注意:此字段可能返回 null,表示取不到有效值。
12104
+ # @type DisplayUrl: String
12105
+ # @param Content: 沙盒输出内容
12106
+ # 注意:此字段可能返回 null,表示取不到有效值。
12107
+ # @type Content: String
12108
+
12109
+ attr_accessor :Url, :DisplayUrl, :Content
12110
+
12111
+ def initialize(url=nil, displayurl=nil, content=nil)
12112
+ @Url = url
12113
+ @DisplayUrl = displayurl
12114
+ @Content = content
12115
+ end
12116
+
12117
+ def deserialize(params)
12118
+ @Url = params['Url']
12119
+ @DisplayUrl = params['DisplayUrl']
12120
+ @Content = params['Content']
12121
+ end
12122
+ end
12123
+
11536
12124
  # SaveDoc请求参数结构体
11537
12125
  class SaveDocRequest < TencentCloud::Common::AbstractModel
11538
12126
  # @param BotBizId: 应用ID,获取方法参看[如何获取 BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
@@ -11671,7 +12259,8 @@ module TencentCloud
11671
12259
  # @type SplitRule: String
11672
12260
  # @param UpdatePeriodInfo: 文档更新频率,默认值为0不更新
11673
12261
  # @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
11674
- # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
12262
+ # @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
12263
+ # 默认值:应用内默认知识库为2,共享知识库为4。
11675
12264
  # @type EnableScope: Integer
11676
12265
 
11677
12266
  attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId, :IsDownload, :DuplicateFileHandles, :SplitRule, :UpdatePeriodInfo, :EnableScope
@@ -12448,6 +13037,41 @@ module TencentCloud
12448
13037
  end
12449
13038
  end
12450
13039
 
13040
+ # 工具高级设置
13041
+ class ToolAdvanceConfig < TencentCloud::Common::AbstractModel
13042
+ # @param EnableDirectResultReturn: 工具调用结果是否直接返回给用户
13043
+ # @type EnableDirectResultReturn: Boolean
13044
+ # @param OutputType: 输出样式 1-文本 2-json 3-widget
13045
+ # @type OutputType: Integer
13046
+ # @param RawStructuredOutput: 原始结构化JSON输出
13047
+ # @type RawStructuredOutput: String
13048
+ # @param CustomTextOutputs: 自定义文本输出,多行展示
13049
+ # @type CustomTextOutputs: String
13050
+ # @param OutputWidgetConfig: Widget输出配置
13051
+ # @type OutputWidgetConfig: :class:`Tencentcloud::Lke.v20231130.models.OutputWidgetConfig`
13052
+
13053
+ attr_accessor :EnableDirectResultReturn, :OutputType, :RawStructuredOutput, :CustomTextOutputs, :OutputWidgetConfig
13054
+
13055
+ def initialize(enabledirectresultreturn=nil, outputtype=nil, rawstructuredoutput=nil, customtextoutputs=nil, outputwidgetconfig=nil)
13056
+ @EnableDirectResultReturn = enabledirectresultreturn
13057
+ @OutputType = outputtype
13058
+ @RawStructuredOutput = rawstructuredoutput
13059
+ @CustomTextOutputs = customtextoutputs
13060
+ @OutputWidgetConfig = outputwidgetconfig
13061
+ end
13062
+
13063
+ def deserialize(params)
13064
+ @EnableDirectResultReturn = params['EnableDirectResultReturn']
13065
+ @OutputType = params['OutputType']
13066
+ @RawStructuredOutput = params['RawStructuredOutput']
13067
+ @CustomTextOutputs = params['CustomTextOutputs']
13068
+ unless params['OutputWidgetConfig'].nil?
13069
+ @OutputWidgetConfig = OutputWidgetConfig.new
13070
+ @OutputWidgetConfig.deserialize(params['OutputWidgetConfig'])
13071
+ end
13072
+ end
13073
+ end
13074
+
12451
13075
  # 不满意回复
12452
13076
  class UnsatisfiedReply < TencentCloud::Common::AbstractModel
12453
13077
  # @param ReplyBizId: 不满意回复ID
@@ -12853,6 +13477,150 @@ module TencentCloud
12853
13477
  end
12854
13478
  end
12855
13479
 
13480
+ # 网页搜索内容
13481
+ class WebSearchContent < TencentCloud::Common::AbstractModel
13482
+ # @param Content: 网页搜索结果,json格式的string
13483
+ # @type Content: String
13484
+
13485
+ attr_accessor :Content
13486
+
13487
+ def initialize(content=nil)
13488
+ @Content = content
13489
+ end
13490
+
13491
+ def deserialize(params)
13492
+ @Content = params['Content']
13493
+ end
13494
+ end
13495
+
13496
+ # 联网检索内容参考详情
13497
+ class WebSearchReference < TencentCloud::Common::AbstractModel
13498
+ # @param Url: 网页URL
13499
+ # @type Url: String
13500
+
13501
+ attr_accessor :Url
13502
+
13503
+ def initialize(url=nil)
13504
+ @Url = url
13505
+ end
13506
+
13507
+ def deserialize(params)
13508
+ @Url = params['Url']
13509
+ end
13510
+ end
13511
+
13512
+ # 对话端Widget结构
13513
+ class Widget < TencentCloud::Common::AbstractModel
13514
+ # @param WidgetId: Widget配置ID
13515
+ # @type WidgetId: String
13516
+ # @param WidgetRunId: Widget实例ID
13517
+ # @type WidgetRunId: String
13518
+ # @param State: Widget状态数据
13519
+ # 注意:此字段可能返回 null,表示取不到有效值。
13520
+ # @type State: String
13521
+ # @param Position: Widget位置
13522
+ # 注意:此字段可能返回 null,表示取不到有效值。
13523
+ # @type Position: Integer
13524
+ # @param EncodedWidget: Base64编码的Widget信息
13525
+ # 注意:此字段可能返回 null,表示取不到有效值。
13526
+ # @type EncodedWidget: String
13527
+ # @param Payload: 用户最近一次提交的payload
13528
+ # 注意:此字段可能返回 null,表示取不到有效值。
13529
+ # @type Payload: String
13530
+
13531
+ attr_accessor :WidgetId, :WidgetRunId, :State, :Position, :EncodedWidget, :Payload
13532
+
13533
+ def initialize(widgetid=nil, widgetrunid=nil, state=nil, position=nil, encodedwidget=nil, payload=nil)
13534
+ @WidgetId = widgetid
13535
+ @WidgetRunId = widgetrunid
13536
+ @State = state
13537
+ @Position = position
13538
+ @EncodedWidget = encodedwidget
13539
+ @Payload = payload
13540
+ end
13541
+
13542
+ def deserialize(params)
13543
+ @WidgetId = params['WidgetId']
13544
+ @WidgetRunId = params['WidgetRunId']
13545
+ @State = params['State']
13546
+ @Position = params['Position']
13547
+ @EncodedWidget = params['EncodedWidget']
13548
+ @Payload = params['Payload']
13549
+ end
13550
+ end
13551
+
13552
+ # 对话端Widget动作提交结构
13553
+ class WidgetAction < TencentCloud::Common::AbstractModel
13554
+ # @param WidgetId: Widget配置ID
13555
+ # @type WidgetId: String
13556
+ # @param WidgetRunId: Widget实例ID
13557
+ # 注意:此字段可能返回 null,表示取不到有效值。
13558
+ # @type WidgetRunId: String
13559
+ # @param ActionType: Widget动作
13560
+ # @type ActionType: String
13561
+ # @param Payload: Widget动作提交的数据
13562
+ # 注意:此字段可能返回 null,表示取不到有效值。
13563
+ # @type Payload: String
13564
+
13565
+ attr_accessor :WidgetId, :WidgetRunId, :ActionType, :Payload
13566
+
13567
+ def initialize(widgetid=nil, widgetrunid=nil, actiontype=nil, payload=nil)
13568
+ @WidgetId = widgetid
13569
+ @WidgetRunId = widgetrunid
13570
+ @ActionType = actiontype
13571
+ @Payload = payload
13572
+ end
13573
+
13574
+ def deserialize(params)
13575
+ @WidgetId = params['WidgetId']
13576
+ @WidgetRunId = params['WidgetRunId']
13577
+ @ActionType = params['ActionType']
13578
+ @Payload = params['Payload']
13579
+ end
13580
+ end
13581
+
13582
+ # Widget参数配置
13583
+ class WidgetParam < TencentCloud::Common::AbstractModel
13584
+ # @param Name: 参数名称
13585
+ # @type Name: String
13586
+ # @param Type: 参数类型
13587
+ # @type Type: Integer
13588
+ # @param SubParams: 子参数
13589
+ # @type SubParams: Array
13590
+ # @param DefaultValue: 默认值, Input未指定时,使用该值
13591
+ # @type DefaultValue: String
13592
+ # @param Input: 输入的值
13593
+ # @type Input: :class:`Tencentcloud::Lke.v20231130.models.AgentInput`
13594
+
13595
+ attr_accessor :Name, :Type, :SubParams, :DefaultValue, :Input
13596
+
13597
+ def initialize(name=nil, type=nil, subparams=nil, defaultvalue=nil, input=nil)
13598
+ @Name = name
13599
+ @Type = type
13600
+ @SubParams = subparams
13601
+ @DefaultValue = defaultvalue
13602
+ @Input = input
13603
+ end
13604
+
13605
+ def deserialize(params)
13606
+ @Name = params['Name']
13607
+ @Type = params['Type']
13608
+ unless params['SubParams'].nil?
13609
+ @SubParams = []
13610
+ params['SubParams'].each do |i|
13611
+ widgetparam_tmp = WidgetParam.new
13612
+ widgetparam_tmp.deserialize(i)
13613
+ @SubParams << widgetparam_tmp
13614
+ end
13615
+ end
13616
+ @DefaultValue = params['DefaultValue']
13617
+ unless params['Input'].nil?
13618
+ @Input = AgentInput.new
13619
+ @Input.deserialize(params['Input'])
13620
+ end
13621
+ end
13622
+ end
13623
+
12856
13624
  # 工作流程调试信息
12857
13625
  class WorkFlowSummary < TencentCloud::Common::AbstractModel
12858
13626
  # @param WorkflowId: 工作流ID
@@ -12880,10 +13648,13 @@ module TencentCloud
12880
13648
  # @type PendingMessages: Array
12881
13649
  # @param OptionCardIndex: 选项卡索引
12882
13650
  # @type OptionCardIndex: :class:`Tencentcloud::Lke.v20231130.models.OptionCardIndex`
13651
+ # @param Contents: 工作流多气泡输出
13652
+ # 注意:此字段可能返回 null,表示取不到有效值。
13653
+ # @type Contents: Array
12883
13654
 
12884
- attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex
13655
+ attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex, :Contents
12885
13656
 
12886
- def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil, pendingmessages=nil, optioncardindex=nil)
13657
+ def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil, pendingmessages=nil, optioncardindex=nil, contents=nil)
12887
13658
  @WorkflowId = workflowid
12888
13659
  @WorkflowName = workflowname
12889
13660
  @WorkflowRunId = workflowrunid
@@ -12893,6 +13664,7 @@ module TencentCloud
12893
13664
  @WorkflowReleaseTime = workflowreleasetime
12894
13665
  @PendingMessages = pendingmessages
12895
13666
  @OptionCardIndex = optioncardindex
13667
+ @Contents = contents
12896
13668
  end
12897
13669
 
12898
13670
  def deserialize(params)
@@ -12915,6 +13687,14 @@ module TencentCloud
12915
13687
  @OptionCardIndex = OptionCardIndex.new
12916
13688
  @OptionCardIndex.deserialize(params['OptionCardIndex'])
12917
13689
  end
13690
+ unless params['Contents'].nil?
13691
+ @Contents = []
13692
+ params['Contents'].each do |i|
13693
+ content_tmp = Content.new
13694
+ content_tmp.deserialize(i)
13695
+ @Contents << content_tmp
13696
+ end
13697
+ end
12918
13698
  end
12919
13699
  end
12920
13700
 
@@ -12938,16 +13718,20 @@ module TencentCloud
12938
13718
  # @param WorkflowReleaseTime: 工作流发布时间,unix时间戳
12939
13719
  # 注意:此字段可能返回 null,表示取不到有效值。
12940
13720
  # @type WorkflowReleaseTime: String
13721
+ # @param Contents: 工作流多气泡输出
13722
+ # 注意:此字段可能返回 null,表示取不到有效值。
13723
+ # @type Contents: Array
12941
13724
 
12942
- attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :OptionCards, :Outputs, :WorkflowReleaseTime
13725
+ attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :OptionCards, :Outputs, :WorkflowReleaseTime, :Contents
12943
13726
 
12944
- def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil)
13727
+ def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil, contents=nil)
12945
13728
  @WorkflowId = workflowid
12946
13729
  @WorkflowName = workflowname
12947
13730
  @WorkflowRunId = workflowrunid
12948
13731
  @OptionCards = optioncards
12949
13732
  @Outputs = outputs
12950
13733
  @WorkflowReleaseTime = workflowreleasetime
13734
+ @Contents = contents
12951
13735
  end
12952
13736
 
12953
13737
  def deserialize(params)
@@ -12957,6 +13741,14 @@ module TencentCloud
12957
13741
  @OptionCards = params['OptionCards']
12958
13742
  @Outputs = params['Outputs']
12959
13743
  @WorkflowReleaseTime = params['WorkflowReleaseTime']
13744
+ unless params['Contents'].nil?
13745
+ @Contents = []
13746
+ params['Contents'].each do |i|
13747
+ content_tmp = Content.new
13748
+ content_tmp.deserialize(i)
13749
+ @Contents << content_tmp
13750
+ end
13751
+ end
12960
13752
  end
12961
13753
  end
12962
13754