tencentcloud-sdk-lke 3.0.1187 → 3.0.1193

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
 
@@ -1870,6 +1926,62 @@ module TencentCloud
1870
1926
  end
1871
1927
  end
1872
1928
 
1929
+ # CallbackWorkflowToolNode请求参数结构体
1930
+ class CallbackWorkflowToolNodeRequest < TencentCloud::Common::AbstractModel
1931
+ # @param CallbackToken: ADP调用外部API时,通过HTTP Header(X-ADP-Callback-Token)传递回调CallbackToken
1932
+ # @type CallbackToken: String
1933
+ # @param Result: 回调结果,可选,为JSON字符串
1934
+ # @type Result: String
1935
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
1936
+ # @type LoginUin: String
1937
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
1938
+ # @type LoginSubAccountUin: String
1939
+ # @param AppBizId: 应用ID
1940
+ # @type AppBizId: String
1941
+
1942
+ attr_accessor :CallbackToken, :Result, :LoginUin, :LoginSubAccountUin, :AppBizId
1943
+
1944
+ def initialize(callbacktoken=nil, result=nil, loginuin=nil, loginsubaccountuin=nil, appbizid=nil)
1945
+ @CallbackToken = callbacktoken
1946
+ @Result = result
1947
+ @LoginUin = loginuin
1948
+ @LoginSubAccountUin = loginsubaccountuin
1949
+ @AppBizId = appbizid
1950
+ end
1951
+
1952
+ def deserialize(params)
1953
+ @CallbackToken = params['CallbackToken']
1954
+ @Result = params['Result']
1955
+ @LoginUin = params['LoginUin']
1956
+ @LoginSubAccountUin = params['LoginSubAccountUin']
1957
+ @AppBizId = params['AppBizId']
1958
+ end
1959
+ end
1960
+
1961
+ # CallbackWorkflowToolNode返回参数结构体
1962
+ class CallbackWorkflowToolNodeResponse < TencentCloud::Common::AbstractModel
1963
+ # @param Code: 状态码
1964
+ # @type Code: Integer
1965
+ # @param Msg: 状态详情
1966
+ # @type Msg: String
1967
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1968
+ # @type RequestId: String
1969
+
1970
+ attr_accessor :Code, :Msg, :RequestId
1971
+
1972
+ def initialize(code=nil, msg=nil, requestid=nil)
1973
+ @Code = code
1974
+ @Msg = msg
1975
+ @RequestId = requestid
1976
+ end
1977
+
1978
+ def deserialize(params)
1979
+ @Code = params['Code']
1980
+ @Msg = params['Msg']
1981
+ @RequestId = params['RequestId']
1982
+ end
1983
+ end
1984
+
1873
1985
  # 分类信息
1874
1986
  class CateInfo < TencentCloud::Common::AbstractModel
1875
1987
  # @param CateBizId: 分类ID
@@ -2105,6 +2217,65 @@ module TencentCloud
2105
2217
  end
2106
2218
  end
2107
2219
 
2220
+ # 澄清询问配置
2221
+ class ClarificationConfig < TencentCloud::Common::AbstractModel
2222
+ # @param OutputType: 输出类型,1-文本 3-widget
2223
+ # @type OutputType: Integer
2224
+ # @param WidgetConfigs: 澄清widget配置
2225
+ # @type WidgetConfigs: Array
2226
+
2227
+ attr_accessor :OutputType, :WidgetConfigs
2228
+
2229
+ def initialize(outputtype=nil, widgetconfigs=nil)
2230
+ @OutputType = outputtype
2231
+ @WidgetConfigs = widgetconfigs
2232
+ end
2233
+
2234
+ def deserialize(params)
2235
+ @OutputType = params['OutputType']
2236
+ unless params['WidgetConfigs'].nil?
2237
+ @WidgetConfigs = []
2238
+ params['WidgetConfigs'].each do |i|
2239
+ clarificationwidgetconfig_tmp = ClarificationWidgetConfig.new
2240
+ clarificationwidgetconfig_tmp.deserialize(i)
2241
+ @WidgetConfigs << clarificationwidgetconfig_tmp
2242
+ end
2243
+ end
2244
+ end
2245
+ end
2246
+
2247
+ # 澄清widget配置
2248
+ class ClarificationWidgetConfig < TencentCloud::Common::AbstractModel
2249
+ # @param WidgetId: widget id
2250
+ # @type WidgetId: String
2251
+ # @param ClarificationWidgetType: 澄清widget类型
2252
+ # @type ClarificationWidgetType: Integer
2253
+ # @param WidgetName: Widget名称
2254
+ # @type WidgetName: String
2255
+ # @param WidgetPreview: Widget预览
2256
+ # @type WidgetPreview: String
2257
+ # @param Enabled: 是否启用该Widget作为澄清样式
2258
+ # @type Enabled: Boolean
2259
+
2260
+ attr_accessor :WidgetId, :ClarificationWidgetType, :WidgetName, :WidgetPreview, :Enabled
2261
+
2262
+ def initialize(widgetid=nil, clarificationwidgettype=nil, widgetname=nil, widgetpreview=nil, enabled=nil)
2263
+ @WidgetId = widgetid
2264
+ @ClarificationWidgetType = clarificationwidgettype
2265
+ @WidgetName = widgetname
2266
+ @WidgetPreview = widgetpreview
2267
+ @Enabled = enabled
2268
+ end
2269
+
2270
+ def deserialize(params)
2271
+ @WidgetId = params['WidgetId']
2272
+ @ClarificationWidgetType = params['ClarificationWidgetType']
2273
+ @WidgetName = params['WidgetName']
2274
+ @WidgetPreview = params['WidgetPreview']
2275
+ @Enabled = params['Enabled']
2276
+ end
2277
+ end
2278
+
2108
2279
  # 标签提取配置
2109
2280
  class ClassifyConfig < TencentCloud::Common::AbstractModel
2110
2281
  # @param Model: 模型配置
@@ -2169,6 +2340,185 @@ module TencentCloud
2169
2340
  end
2170
2341
  end
2171
2342
 
2343
+ # 对话记录内容详情
2344
+ class Content < TencentCloud::Common::AbstractModel
2345
+ # @param Type: 消息内容类型
2346
+ # text:文本
2347
+ # image:图片
2348
+ # file:文件
2349
+ # option_cards:选项卡
2350
+ # custom_params:用户自定义业务参数
2351
+ # sandbox:云桌面
2352
+ # custom_variables:自定义输入参数
2353
+ # web_search: 网页搜索内容
2354
+ # file_collection:文件收集信息
2355
+ # widget:widget信息
2356
+ # widget_action:用户端widget动作信息
2357
+ # @type Type: String
2358
+ # @param Text: 文本内容
2359
+ # 注意:此字段可能返回 null,表示取不到有效值。
2360
+ # @type Text: String
2361
+ # @param QuoteInfos: 引用信息
2362
+ # 注意:此字段可能返回 null,表示取不到有效值。
2363
+ # @type QuoteInfos: Array
2364
+ # @param References: 参考文献信息
2365
+ # 注意:此字段可能返回 null,表示取不到有效值。
2366
+ # @type References: Array
2367
+ # @param Image: 图片信息
2368
+ # 注意:此字段可能返回 null,表示取不到有效值。
2369
+ # @type Image: :class:`Tencentcloud::Lke.v20231130.models.ImageInfoContent`
2370
+ # @param File: 文件信息
2371
+ # 注意:此字段可能返回 null,表示取不到有效值。
2372
+ # @type File: :class:`Tencentcloud::Lke.v20231130.models.FileInfoContent`
2373
+ # @param OptionCards: 选项卡信息
2374
+ # 注意:此字段可能返回 null,表示取不到有效值。
2375
+ # @type OptionCards: Array
2376
+ # @param CustomParams: 用户自定义业务参数信息
2377
+ # 注意:此字段可能返回 null,表示取不到有效值。
2378
+ # @type CustomParams: Array
2379
+ # @param CustomVariables: 自定义变量
2380
+ # 注意:此字段可能返回 null,表示取不到有效值。
2381
+ # @type CustomVariables: Array
2382
+ # @param Sandbox: 沙盒信息
2383
+ # 注意:此字段可能返回 null,表示取不到有效值。
2384
+ # @type Sandbox: :class:`Tencentcloud::Lke.v20231130.models.SandboxContent`
2385
+ # @param WebSearch: 网页搜索内容
2386
+ # 注意:此字段可能返回 null,表示取不到有效值。
2387
+ # @type WebSearch: :class:`Tencentcloud::Lke.v20231130.models.WebSearchContent`
2388
+ # @param FileCollection: 文件收集信息
2389
+ # 注意:此字段可能返回 null,表示取不到有效值。
2390
+ # @type FileCollection: :class:`Tencentcloud::Lke.v20231130.models.FileCollection`
2391
+ # @param Widget: Widget信息
2392
+ # 注意:此字段可能返回 null,表示取不到有效值。
2393
+ # @type Widget: :class:`Tencentcloud::Lke.v20231130.models.Widget`
2394
+ # @param WidgetAction: Widget动作信息
2395
+ # 注意:此字段可能返回 null,表示取不到有效值。
2396
+ # @type WidgetAction: :class:`Tencentcloud::Lke.v20231130.models.WidgetAction`
2397
+
2398
+ attr_accessor :Type, :Text, :QuoteInfos, :References, :Image, :File, :OptionCards, :CustomParams, :CustomVariables, :Sandbox, :WebSearch, :FileCollection, :Widget, :WidgetAction
2399
+
2400
+ 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)
2401
+ @Type = type
2402
+ @Text = text
2403
+ @QuoteInfos = quoteinfos
2404
+ @References = references
2405
+ @Image = image
2406
+ @File = file
2407
+ @OptionCards = optioncards
2408
+ @CustomParams = customparams
2409
+ @CustomVariables = customvariables
2410
+ @Sandbox = sandbox
2411
+ @WebSearch = websearch
2412
+ @FileCollection = filecollection
2413
+ @Widget = widget
2414
+ @WidgetAction = widgetaction
2415
+ end
2416
+
2417
+ def deserialize(params)
2418
+ @Type = params['Type']
2419
+ @Text = params['Text']
2420
+ unless params['QuoteInfos'].nil?
2421
+ @QuoteInfos = []
2422
+ params['QuoteInfos'].each do |i|
2423
+ quoteinfo_tmp = QuoteInfo.new
2424
+ quoteinfo_tmp.deserialize(i)
2425
+ @QuoteInfos << quoteinfo_tmp
2426
+ end
2427
+ end
2428
+ unless params['References'].nil?
2429
+ @References = []
2430
+ params['References'].each do |i|
2431
+ contentreference_tmp = ContentReference.new
2432
+ contentreference_tmp.deserialize(i)
2433
+ @References << contentreference_tmp
2434
+ end
2435
+ end
2436
+ unless params['Image'].nil?
2437
+ @Image = ImageInfoContent.new
2438
+ @Image.deserialize(params['Image'])
2439
+ end
2440
+ unless params['File'].nil?
2441
+ @File = FileInfoContent.new
2442
+ @File.deserialize(params['File'])
2443
+ end
2444
+ @OptionCards = params['OptionCards']
2445
+ @CustomParams = params['CustomParams']
2446
+ @CustomVariables = params['CustomVariables']
2447
+ unless params['Sandbox'].nil?
2448
+ @Sandbox = SandboxContent.new
2449
+ @Sandbox.deserialize(params['Sandbox'])
2450
+ end
2451
+ unless params['WebSearch'].nil?
2452
+ @WebSearch = WebSearchContent.new
2453
+ @WebSearch.deserialize(params['WebSearch'])
2454
+ end
2455
+ unless params['FileCollection'].nil?
2456
+ @FileCollection = FileCollection.new
2457
+ @FileCollection.deserialize(params['FileCollection'])
2458
+ end
2459
+ unless params['Widget'].nil?
2460
+ @Widget = Widget.new
2461
+ @Widget.deserialize(params['Widget'])
2462
+ end
2463
+ unless params['WidgetAction'].nil?
2464
+ @WidgetAction = WidgetAction.new
2465
+ @WidgetAction.deserialize(params['WidgetAction'])
2466
+ end
2467
+ end
2468
+ end
2469
+
2470
+ # 会话内容参考文献信息
2471
+ class ContentReference < TencentCloud::Common::AbstractModel
2472
+ # @param Index: 引用来源索引ID
2473
+ # 注意:此字段可能返回 null,表示取不到有效值。
2474
+ # @type Index: Integer
2475
+ # @param Name: 参考来源名称
2476
+ # @type Name: String
2477
+ # @param Type: 参考来源类型
2478
+ # 1:问答
2479
+ # 2:文档片段
2480
+ # 4:联网检索到的内容
2481
+ # @type Type: Integer
2482
+ # @param DocRefer: 文档片段参考信息
2483
+ # 注意:此字段可能返回 null,表示取不到有效值。
2484
+ # @type DocRefer: :class:`Tencentcloud::Lke.v20231130.models.DocReference`
2485
+ # @param QaRefer: 问答参考信息
2486
+ # 注意:此字段可能返回 null,表示取不到有效值。
2487
+ # @type QaRefer: :class:`Tencentcloud::Lke.v20231130.models.QaReference`
2488
+ # @param WebSearchRefer: 联网检索内容参考信息
2489
+ # 注意:此字段可能返回 null,表示取不到有效值。
2490
+ # @type WebSearchRefer: :class:`Tencentcloud::Lke.v20231130.models.WebSearchReference`
2491
+
2492
+ attr_accessor :Index, :Name, :Type, :DocRefer, :QaRefer, :WebSearchRefer
2493
+
2494
+ def initialize(index=nil, name=nil, type=nil, docrefer=nil, qarefer=nil, websearchrefer=nil)
2495
+ @Index = index
2496
+ @Name = name
2497
+ @Type = type
2498
+ @DocRefer = docrefer
2499
+ @QaRefer = qarefer
2500
+ @WebSearchRefer = websearchrefer
2501
+ end
2502
+
2503
+ def deserialize(params)
2504
+ @Index = params['Index']
2505
+ @Name = params['Name']
2506
+ @Type = params['Type']
2507
+ unless params['DocRefer'].nil?
2508
+ @DocRefer = DocReference.new
2509
+ @DocRefer.deserialize(params['DocRefer'])
2510
+ end
2511
+ unless params['QaRefer'].nil?
2512
+ @QaRefer = QaReference.new
2513
+ @QaRefer.deserialize(params['QaRefer'])
2514
+ end
2515
+ unless params['WebSearchRefer'].nil?
2516
+ @WebSearchRefer = WebSearchReference.new
2517
+ @WebSearchRefer.deserialize(params['WebSearchRefer'])
2518
+ end
2519
+ end
2520
+ end
2521
+
2172
2522
  # 获取不满意回复上下文响
2173
2523
  class Context < TencentCloud::Common::AbstractModel
2174
2524
  # @param RecordBizId: 消息记录ID信息
@@ -2413,10 +2763,11 @@ module TencentCloud
2413
2763
  # CreateQACate请求参数结构体
2414
2764
  class CreateQACateRequest < TencentCloud::Common::AbstractModel
2415
2765
  # @param BotBizId: 应用ID
2766
+ # 若要操作共享知识库,传KnowledgeBizId
2416
2767
  # @type BotBizId: String
2417
2768
  # @param ParentBizId: 父级业务ID,创建顶级分类时传字符串"0"
2418
2769
  # @type ParentBizId: String
2419
- # @param Name: 分类名称
2770
+ # @param Name: 创建的分类名称
2420
2771
  # @type Name: String
2421
2772
 
2422
2773
  attr_accessor :BotBizId, :ParentBizId, :Name
@@ -2493,7 +2844,8 @@ module TencentCloud
2493
2844
  # @type SimilarQuestions: Array
2494
2845
  # @param QuestionDesc: 问题描述
2495
2846
  # @type QuestionDesc: String
2496
- # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
2847
+ # @param EnableScope: 问答生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
2848
+ # 默认值:应用内默认知识库为2,共享知识库为4。
2497
2849
  # @type EnableScope: Integer
2498
2850
 
2499
2851
  attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QuestionDesc, :EnableScope
@@ -3520,13 +3872,13 @@ module TencentCloud
3520
3872
 
3521
3873
  # DescribeCallStatsGraph请求参数结构体
3522
3874
  class DescribeCallStatsGraphRequest < TencentCloud::Common::AbstractModel
3523
- # @param UinAccount: uin
3875
+ # @param UinAccount: 子账号标识列表,支持批量查询多个子账号。不填时查询主账号下所有子账号的汇总数据
3524
3876
  # @type UinAccount: Array
3525
3877
  # @param LoginUin: 登录用户主账号(集成商模式必填)
3526
3878
  # @type LoginUin: String
3527
3879
  # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
3528
3880
  # @type LoginSubAccountUin: String
3529
- # @param SubBizType: 子业务类型
3881
+ # @param SubBizType: 子业务类型,用于筛选不同业务场景的调用统计
3530
3882
  # @type SubBizType: String
3531
3883
  # @param ModelName: 模型标识
3532
3884
  # @type ModelName: String
@@ -3540,14 +3892,19 @@ module TencentCloud
3540
3892
  # @type SubScenes: Array
3541
3893
  # @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
3542
3894
  # @type AppType: String
3543
- # @param SpaceId: 空间id
3895
+ # @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
3544
3896
  # @type SpaceId: String
3545
- # @param StatStartTime: 开始时间戳, 单位为秒
3897
+ # @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
3546
3898
  # @type StatStartTime: Integer
3547
- # @param StatEndTime: 结束时间戳, 单位为秒
3899
+ # @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
3548
3900
  # @type StatEndTime: Integer
3549
3901
 
3550
3902
  attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType, :SpaceId, :StatStartTime, :StatEndTime
3903
+ extend Gem::Deprecate
3904
+ deprecate :StartTime, :none, 2025, 12
3905
+ deprecate :StartTime=, :none, 2025, 12
3906
+ deprecate :EndTime, :none, 2025, 12
3907
+ deprecate :EndTime=, :none, 2025, 12
3551
3908
 
3552
3909
  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
3910
  @UinAccount = uinaccount
@@ -3849,7 +4206,7 @@ module TencentCloud
3849
4206
  # @param CateNamePath: 从根节点开始的路径分类名称
3850
4207
  # 注意:此字段可能返回 null,表示取不到有效值。
3851
4208
  # @type CateNamePath: Array
3852
- # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
4209
+ # @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
3853
4210
  # @type EnableScope: Integer
3854
4211
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3855
4212
  # @type RequestId: String
@@ -3941,7 +4298,7 @@ module TencentCloud
3941
4298
  class DescribeKnowledgeUsagePieGraphRequest < TencentCloud::Common::AbstractModel
3942
4299
  # @param AppBizIds: 应用ID数组
3943
4300
  # @type AppBizIds: Array
3944
- # @param SpaceId: 空间列表
4301
+ # @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
3945
4302
  # @type SpaceId: String
3946
4303
 
3947
4304
  attr_accessor :AppBizIds, :SpaceId
@@ -4158,10 +4515,11 @@ module TencentCloud
4158
4515
  # @param CateNamePath: 从根节点开始的路径分类名称
4159
4516
  # 注意:此字段可能返回 null,表示取不到有效值。
4160
4517
  # @type CateNamePath: Array
4161
- # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
4518
+ # @param EnableScope: 问答生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
4162
4519
  # 注意:此字段可能返回 null,表示取不到有效值。
4163
4520
  # @type EnableScope: Integer
4164
- # @param DocEnableScope: 问答关联的文档生效域
4521
+ # @param DocEnableScope: 问答关联的文档生效域:1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效.
4522
+ # 若问答未关联文档,则该字段值同问答生效域
4165
4523
  # @type DocEnableScope: Integer
4166
4524
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4167
4525
  # @type RequestId: String
@@ -4371,9 +4729,9 @@ module TencentCloud
4371
4729
 
4372
4730
  # DescribeRelease请求参数结构体
4373
4731
  class DescribeReleaseRequest < TencentCloud::Common::AbstractModel
4374
- # @param BotBizId: 应用ID
4732
+ # @param BotBizId: 应用ID。获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
4375
4733
  # @type BotBizId: String
4376
- # @param ReleaseBizId: 发布详情
4734
+ # @param ReleaseBizId: 发布ID
4377
4735
  # @type ReleaseBizId: String
4378
4736
 
4379
4737
  attr_accessor :BotBizId, :ReleaseBizId
@@ -4718,7 +5076,7 @@ module TencentCloud
4718
5076
 
4719
5077
  # DescribeTokenUsageGraph请求参数结构体
4720
5078
  class DescribeTokenUsageGraphRequest < TencentCloud::Common::AbstractModel
4721
- # @param UinAccount: 腾讯云主账号
5079
+ # @param UinAccount: 子账号标识列表,支持批量查询多个子账号。不填时查询主账号下所有子账号的汇总数据
4722
5080
  # @type UinAccount: Array
4723
5081
  # @param SubBizType: 知识引擎子业务类型: FileParse(文档解析)、Embedding、Rewrite(多轮改写)、 Concurrency(并发)、KnowledgeSummary(知识总结) KnowledgeQA(知识问答)、KnowledgeCapacity(知识库容量)、SearchEngine(搜索引擎)
4724
5082
  # @type SubBizType: String
@@ -4728,18 +5086,23 @@ module TencentCloud
4728
5086
  # @type StartTime: String
4729
5087
  # @param EndTime: 结束时间戳, 单位为秒(废弃)
4730
5088
  # @type EndTime: String
4731
- # @param AppBizIds: 应用id列表
5089
+ # @param AppBizIds: 应用ID列表。不填时:若指定SpaceId则查该空间所有应用;否则查用户下所有应用
4732
5090
  # @type AppBizIds: Array
4733
- # @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
5091
+ # @param AppType: 应用类型。可选值:knowledge_qa(知识问答)/plugin_parsing_qa(插件)/shared_knowledge(知识库)/evaluate_test(评测)。不填时查所有类型
4734
5092
  # @type AppType: String
4735
5093
  # @param SubScenes: 筛选子场景
4736
5094
  # @type SubScenes: Array
4737
- # @param StatStartTime: 开始时间戳, 单位为秒
5095
+ # @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
4738
5096
  # @type StatStartTime: Integer
4739
- # @param StatEndTime: 结束时间戳, 单位为秒
5097
+ # @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
4740
5098
  # @type StatEndTime: Integer
4741
5099
 
4742
5100
  attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :AppType, :SubScenes, :StatStartTime, :StatEndTime
5101
+ extend Gem::Deprecate
5102
+ deprecate :StartTime, :none, 2025, 12
5103
+ deprecate :StartTime=, :none, 2025, 12
5104
+ deprecate :EndTime, :none, 2025, 12
5105
+ deprecate :EndTime=, :none, 2025, 12
4743
5106
 
4744
5107
  def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, apptype=nil, subscenes=nil, statstarttime=nil, statendtime=nil)
4745
5108
  @UinAccount = uinaccount
@@ -4819,7 +5182,7 @@ module TencentCloud
4819
5182
 
4820
5183
  # DescribeTokenUsage请求参数结构体
4821
5184
  class DescribeTokenUsageRequest < TencentCloud::Common::AbstractModel
4822
- # @param UinAccount: 腾讯云主账号
5185
+ # @param UinAccount: 子账号标识列表,用于筛选指定子账号的统计数据,不填时查询主账号下所有子账号的汇总数据
4823
5186
  # @type UinAccount: Array
4824
5187
  # @param LoginUin: 登录用户主账号(集成商模式必填)
4825
5188
  # @type LoginUin: String
@@ -4839,14 +5202,19 @@ module TencentCloud
4839
5202
  # @type SubScenes: Array
4840
5203
  # @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
4841
5204
  # @type AppType: String
4842
- # @param SpaceId: 空间id
5205
+ # @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
4843
5206
  # @type SpaceId: String
4844
- # @param StatStartTime: 开始时间戳, 单位为秒
5207
+ # @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
4845
5208
  # @type StatStartTime: Integer
4846
- # @param StatEndTime: 结束时间戳, 单位为秒
5209
+ # @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
4847
5210
  # @type StatEndTime: Integer
4848
5211
 
4849
5212
  attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds, :SubScenes, :AppType, :SpaceId, :StatStartTime, :StatEndTime
5213
+ extend Gem::Deprecate
5214
+ deprecate :StartTime, :none, 2025, 12
5215
+ deprecate :StartTime=, :none, 2025, 12
5216
+ deprecate :EndTime, :none, 2025, 12
5217
+ deprecate :EndTime=, :none, 2025, 12
4850
5218
 
4851
5219
  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
5220
  @UinAccount = uinaccount
@@ -4945,7 +5313,7 @@ module TencentCloud
4945
5313
  class DescribeUnsatisfiedReplyContextRequest < TencentCloud::Common::AbstractModel
4946
5314
  # @param BotBizId: 应用ID,获取方法参看如何获取[BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
4947
5315
  # @type BotBizId: String
4948
- # @param ReplyBizId: 回复ID,调用这个接口获得:[ListUnsatisfiedReply](https://capi.woa.com/api/detail?product=lke&version=2023-11-30&action=ListUnsatisfiedReply)
5316
+ # @param ReplyBizId: 回复ID
4949
5317
  # @type ReplyBizId: String
4950
5318
  # @param LoginUin: 登录用户主账号(集成商模式必填)
4951
5319
  # @type LoginUin: String
@@ -5120,6 +5488,47 @@ module TencentCloud
5120
5488
  end
5121
5489
  end
5122
5490
 
5491
+ # 文档类参考来源信息
5492
+ class DocReference < TencentCloud::Common::AbstractModel
5493
+ # @param DocBizId: 文档业务ID
5494
+ # @type DocBizId: Integer
5495
+ # @param ReferBizId: 文档片段参考ID
5496
+ # 注意:此字段可能返回 null,表示取不到有效值。
5497
+ # @type ReferBizId: Integer
5498
+ # @param DocName: 文档名称
5499
+ # 注意:此字段可能返回 null,表示取不到有效值。
5500
+ # @type DocName: String
5501
+ # @param KnowledgeBizId: 文档所在知识库业务ID
5502
+ # 注意:此字段可能返回 null,表示取不到有效值。
5503
+ # @type KnowledgeBizId: Integer
5504
+ # @param KnowledgeName: 文档所在知识库名称
5505
+ # 注意:此字段可能返回 null,表示取不到有效值。
5506
+ # @type KnowledgeName: String
5507
+ # @param Url: 文档访问地址
5508
+ # 注意:此字段可能返回 null,表示取不到有效值。
5509
+ # @type Url: String
5510
+
5511
+ attr_accessor :DocBizId, :ReferBizId, :DocName, :KnowledgeBizId, :KnowledgeName, :Url
5512
+
5513
+ def initialize(docbizid=nil, referbizid=nil, docname=nil, knowledgebizid=nil, knowledgename=nil, url=nil)
5514
+ @DocBizId = docbizid
5515
+ @ReferBizId = referbizid
5516
+ @DocName = docname
5517
+ @KnowledgeBizId = knowledgebizid
5518
+ @KnowledgeName = knowledgename
5519
+ @Url = url
5520
+ end
5521
+
5522
+ def deserialize(params)
5523
+ @DocBizId = params['DocBizId']
5524
+ @ReferBizId = params['ReferBizId']
5525
+ @DocName = params['DocName']
5526
+ @KnowledgeBizId = params['KnowledgeBizId']
5527
+ @KnowledgeName = params['KnowledgeName']
5528
+ @Url = params['Url']
5529
+ end
5530
+ end
5531
+
5123
5532
  # 文档片段
5124
5533
  class DocSegment < TencentCloud::Common::AbstractModel
5125
5534
  # @param Id: 片段ID
@@ -5268,10 +5677,18 @@ module TencentCloud
5268
5677
  # ExportQAList请求参数结构体
5269
5678
  class ExportQAListRequest < TencentCloud::Common::AbstractModel
5270
5679
  # @param BotBizId: 应用ID
5680
+ # 若要操作共享知识库,传KnowledgeBizId
5271
5681
  # @type BotBizId: String
5272
5682
  # @param QaBizIds: QA业务ID
5273
5683
  # @type QaBizIds: Array
5274
5684
  # @param Filters: 查询参数
5685
+ # Filters.pageNumber范围是>0,0<Filters.pageSize<=200
5686
+ # Filters.query用于内容检索,模糊匹配
5687
+ # Filters.AcceptStatus默认值是0,表示不筛选,返回所有状态
5688
+ # Filters.ReleaseStatus默认值是0,表示不筛选,返回所有状态
5689
+ # Filters.Source默认值是0,表示不筛选,返回所有来源。表示来源(1 文档生成 2 批量导入 3 手动添加)。
5690
+ # Filter.QueryType默认值是"filename",表示查询类型。
5691
+ # ShowCurrCate表示,是否只展示当前分类的数据 0不是,1是
5275
5692
  # @type Filters: :class:`Tencentcloud::Lke.v20231130.models.QAQuery`
5276
5693
 
5277
5694
  attr_accessor :BotBizId, :QaBizIds, :Filters
@@ -5311,8 +5728,9 @@ module TencentCloud
5311
5728
  # ExportUnsatisfiedReply请求参数结构体
5312
5729
  class ExportUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
5313
5730
  # @param BotBizId: 应用ID
5731
+ # 若要操作共享知识库,传KnowledgeBizId
5314
5732
  # @type BotBizId: String
5315
- # @param ReplyBizIds: 勾选导出ID列表
5733
+ # @param ReplyBizIds: 勾选导出不满意回复的ID列表
5316
5734
  # @type ReplyBizIds: Array
5317
5735
  # @param LoginUin: 登录用户主账号(集成商模式必填)
5318
5736
  # @type LoginUin: String
@@ -5376,6 +5794,27 @@ module TencentCloud
5376
5794
  end
5377
5795
  end
5378
5796
 
5797
+ # 文件收集信息
5798
+ class FileCollection < TencentCloud::Common::AbstractModel
5799
+ # @param MaxFileCount: 最大上传文件的数量
5800
+ # @type MaxFileCount: Integer
5801
+ # @param SupportedFileTypes: 支持的上传文件类型
5802
+ # 注意:此字段可能返回 null,表示取不到有效值。
5803
+ # @type SupportedFileTypes: Array
5804
+
5805
+ attr_accessor :MaxFileCount, :SupportedFileTypes
5806
+
5807
+ def initialize(maxfilecount=nil, supportedfiletypes=nil)
5808
+ @MaxFileCount = maxfilecount
5809
+ @SupportedFileTypes = supportedfiletypes
5810
+ end
5811
+
5812
+ def deserialize(params)
5813
+ @MaxFileCount = params['MaxFileCount']
5814
+ @SupportedFileTypes = params['SupportedFileTypes']
5815
+ end
5816
+ end
5817
+
5379
5818
  # 实时上传的文件信息
5380
5819
  class FileInfo < TencentCloud::Common::AbstractModel
5381
5820
  # @param FileName: 文件名称
@@ -5418,6 +5857,42 @@ module TencentCloud
5418
5857
  end
5419
5858
  end
5420
5859
 
5860
+ # 文件信息内容
5861
+ class FileInfoContent < TencentCloud::Common::AbstractModel
5862
+ # @param DocBizId: 实时文档解析接口返回的 DocBizId
5863
+ # @type DocBizId: Integer
5864
+ # @param FileName: 文件名称
5865
+ # 注意:此字段可能返回 null,表示取不到有效值。
5866
+ # @type FileName: String
5867
+ # @param FileType: 文件类型
5868
+ # 注意:此字段可能返回 null,表示取不到有效值。
5869
+ # @type FileType: String
5870
+ # @param FileSize: 文件大小
5871
+ # 注意:此字段可能返回 null,表示取不到有效值。
5872
+ # @type FileSize: Integer
5873
+ # @param FileUrl: 文件 URL
5874
+ # 注意:此字段可能返回 null,表示取不到有效值。
5875
+ # @type FileUrl: String
5876
+
5877
+ attr_accessor :DocBizId, :FileName, :FileType, :FileSize, :FileUrl
5878
+
5879
+ def initialize(docbizid=nil, filename=nil, filetype=nil, filesize=nil, fileurl=nil)
5880
+ @DocBizId = docbizid
5881
+ @FileName = filename
5882
+ @FileType = filetype
5883
+ @FileSize = filesize
5884
+ @FileUrl = fileurl
5885
+ end
5886
+
5887
+ def deserialize(params)
5888
+ @DocBizId = params['DocBizId']
5889
+ @FileName = params['FileName']
5890
+ @FileType = params['FileType']
5891
+ @FileSize = params['FileSize']
5892
+ @FileUrl = params['FileUrl']
5893
+ end
5894
+ end
5895
+
5421
5896
  # 不满意回复检索过滤
5422
5897
  class Filters < TencentCloud::Common::AbstractModel
5423
5898
  # @param Query: 检索,用户问题或答案
@@ -5822,23 +6297,29 @@ module TencentCloud
5822
6297
 
5823
6298
  # GetMsgRecord请求参数结构体
5824
6299
  class GetMsgRecordRequest < TencentCloud::Common::AbstractModel
5825
- # @param Type: 类型
6300
+ # @param Type: 接入类型, 5-API 访客,目前仅支持传5
5826
6301
  # @type Type: Integer
5827
6302
  # @param Count: 数量, 数量需大于2, 最大1000
5828
6303
  # @type Count: Integer
5829
- # @param SessionId: 会话sessionid
6304
+ # @param SessionId: 会话sessionid
5830
6305
  # @type SessionId: String
5831
6306
  # @param BotAppKey: 应用AppKey, 当Type=5[API访客]时, 该字段必填 :</br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
5832
6307
  # @type BotAppKey: String
5833
- # @param Scene: 场景, 体验: 1; 正式: 2
6308
+ # @param Scene: 场景, 体验: 1; 正式: 2
6309
+
6310
+ # 体验用于创建应用测试的时候使用,正式是应用发布后对外的时候使用
5834
6311
  # @type Scene: Integer
5835
6312
  # @param LastRecordId: 最后一条记录ID, 消息从后往前获取
5836
6313
 
5837
6314
  # MidRecordId与LastRecordId只能选择一个
6315
+
6316
+ # LastRecordId 和MidRecordId都不填的时候,默认从最新的消息ID开始取。
5838
6317
  # @type LastRecordId: String
5839
6318
  # @param MidRecordId: 传该值,代表拉取该记录id的前后总共count条消息记录
5840
6319
 
5841
6320
  # MidRecordId与LastRecordId只能选择一个
6321
+
6322
+ # LastRecordId 和MidRecordId都不填的时候,默认从最新的消息Id开始取
5842
6323
  # @type MidRecordId: String
5843
6324
 
5844
6325
  attr_accessor :Type, :Count, :SessionId, :BotAppKey, :Scene, :LastRecordId, :MidRecordId
@@ -6064,12 +6545,15 @@ module TencentCloud
6064
6545
  # @param BotAppKey: 应用AppKey </br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
6065
6546
  # @type BotAppKey: String
6066
6547
  # @param VisitorBizId: 访客ID(外部输入,建议唯一,标识当前接入会话的用户)
6067
- # 长度限制: string(64)
6548
+ # 长度限制: string(64),即最长不超过64个字符
6068
6549
  # @type VisitorBizId: String
6069
6550
  # @param VisitorLabels: 知识标签,用于知识库中知识的检索过滤。该字段即将下线,请使用对话端接口中的 custom_variables 字段替代该字段。
6070
6551
  # @type VisitorLabels: Array
6071
6552
 
6072
6553
  attr_accessor :Type, :BotAppKey, :VisitorBizId, :VisitorLabels
6554
+ extend Gem::Deprecate
6555
+ deprecate :VisitorLabels, :none, 2025, 12
6556
+ deprecate :VisitorLabels=, :none, 2025, 12
6073
6557
 
6074
6558
  def initialize(type=nil, botappkey=nil, visitorbizid=nil, visitorlabels=nil)
6075
6559
  @Type = type
@@ -6181,6 +6665,7 @@ module TencentCloud
6181
6665
  # GroupQA请求参数结构体
6182
6666
  class GroupQARequest < TencentCloud::Common::AbstractModel
6183
6667
  # @param BotBizId: 应用ID
6668
+ # 若要操作共享知识库,传KnowledgeBizId
6184
6669
  # @type BotBizId: String
6185
6670
  # @param QaBizIds: QaBizID列表
6186
6671
  # @type QaBizIds: Array
@@ -6314,6 +6799,22 @@ module TencentCloud
6314
6799
  end
6315
6800
  end
6316
6801
 
6802
+ # 图片信息
6803
+ class ImageInfoContent < TencentCloud::Common::AbstractModel
6804
+ # @param Url: 图片文件链接
6805
+ # @type Url: String
6806
+
6807
+ attr_accessor :Url
6808
+
6809
+ def initialize(url=nil)
6810
+ @Url = url
6811
+ end
6812
+
6813
+ def deserialize(params)
6814
+ @Url = params['Url']
6815
+ end
6816
+ end
6817
+
6317
6818
  # 输入框配置
6318
6819
  class InputBoxConfig < TencentCloud::Common::AbstractModel
6319
6820
  # @param InputBoxButtons: 输入框按钮,1:上传图片、2:上传文档,3:腾讯文档,4:联网搜索
@@ -7949,6 +8450,7 @@ module TencentCloud
7949
8450
  # ListQACate请求参数结构体
7950
8451
  class ListQACateRequest < TencentCloud::Common::AbstractModel
7951
8452
  # @param BotBizId: 应用ID
8453
+ # 若要操作共享知识库,传KnowledgeBizId
7952
8454
  # @type BotBizId: String
7953
8455
  # @param QueryType: 分类查询类型:0-全量查询整棵标签树,1-根据父节点BizId分页查询子节点,2-关键词检索所有匹配的分类链路
7954
8456
  # @type QueryType: Integer
@@ -8614,10 +9116,14 @@ module TencentCloud
8614
9116
  # @type SuccessCount: Integer
8615
9117
  # @param FailCount: 发布失败数
8616
9118
  # @type FailCount: Integer
9119
+ # @param ReleaseVersion: 版本号,格式是 v{date}{time}
9120
+ # @type ReleaseVersion: String
9121
+ # @param CanRollback: 是否可还原
9122
+ # @type CanRollback: Boolean
8617
9123
 
8618
- attr_accessor :ReleaseBizId, :Operator, :Desc, :UpdateTime, :Status, :StatusDesc, :Reason, :SuccessCount, :FailCount
9124
+ attr_accessor :ReleaseBizId, :Operator, :Desc, :UpdateTime, :Status, :StatusDesc, :Reason, :SuccessCount, :FailCount, :ReleaseVersion, :CanRollback
8619
9125
 
8620
- def initialize(releasebizid=nil, operator=nil, desc=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, successcount=nil, failcount=nil)
9126
+ 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
9127
  @ReleaseBizId = releasebizid
8622
9128
  @Operator = operator
8623
9129
  @Desc = desc
@@ -8627,6 +9133,8 @@ module TencentCloud
8627
9133
  @Reason = reason
8628
9134
  @SuccessCount = successcount
8629
9135
  @FailCount = failcount
9136
+ @ReleaseVersion = releaseversion
9137
+ @CanRollback = canrollback
8630
9138
  end
8631
9139
 
8632
9140
  def deserialize(params)
@@ -8639,6 +9147,8 @@ module TencentCloud
8639
9147
  @Reason = params['Reason']
8640
9148
  @SuccessCount = params['SuccessCount']
8641
9149
  @FailCount = params['FailCount']
9150
+ @ReleaseVersion = params['ReleaseVersion']
9151
+ @CanRollback = params['CanRollback']
8642
9152
  end
8643
9153
  end
8644
9154
 
@@ -8723,11 +9233,11 @@ module TencentCloud
8723
9233
 
8724
9234
  # ListRelease请求参数结构体
8725
9235
  class ListReleaseRequest < TencentCloud::Common::AbstractModel
8726
- # @param BotBizId: 应用ID
9236
+ # @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
8727
9237
  # @type BotBizId: String
8728
- # @param PageNumber: 页码
9238
+ # @param PageNumber: 页码(必须大于0)
8729
9239
  # @type PageNumber: Integer
8730
- # @param PageSize: 每页数量
9240
+ # @param PageSize: 每页数量(取值范围为1-200)
8731
9241
  # @type PageSize: Integer
8732
9242
 
8733
9243
  attr_accessor :BotBizId, :PageNumber, :PageSize
@@ -9279,6 +9789,15 @@ module TencentCloud
9279
9789
 
9280
9790
  # 模型参数范围
9281
9791
  class ModelParameter < TencentCloud::Common::AbstractModel
9792
+ # @param Name: 超参名称
9793
+ # 注意:此字段可能返回 null,表示取不到有效值。
9794
+ # @type Name: String
9795
+ # @param Type: 类型
9796
+ # @type Type: String
9797
+ # @param DefaultValue: 默认值
9798
+ # @type DefaultValue: String
9799
+ # @param EnumValues: 枚举值
9800
+ # @type EnumValues: Array
9282
9801
  # @param Default: 默认值
9283
9802
  # 注意:此字段可能返回 null,表示取不到有效值。
9284
9803
  # @type Default: Float
@@ -9288,24 +9807,27 @@ module TencentCloud
9288
9807
  # @param Max: 最大值
9289
9808
  # 注意:此字段可能返回 null,表示取不到有效值。
9290
9809
  # @type Max: Float
9291
- # @param Name: 超参名称
9292
- # 注意:此字段可能返回 null,表示取不到有效值。
9293
- # @type Name: String
9294
9810
 
9295
- attr_accessor :Default, :Min, :Max, :Name
9811
+ attr_accessor :Name, :Type, :DefaultValue, :EnumValues, :Default, :Min, :Max
9296
9812
 
9297
- def initialize(default=nil, min=nil, max=nil, name=nil)
9813
+ def initialize(name=nil, type=nil, defaultvalue=nil, enumvalues=nil, default=nil, min=nil, max=nil)
9814
+ @Name = name
9815
+ @Type = type
9816
+ @DefaultValue = defaultvalue
9817
+ @EnumValues = enumvalues
9298
9818
  @Default = default
9299
9819
  @Min = min
9300
9820
  @Max = max
9301
- @Name = name
9302
9821
  end
9303
9822
 
9304
9823
  def deserialize(params)
9824
+ @Name = params['Name']
9825
+ @Type = params['Type']
9826
+ @DefaultValue = params['DefaultValue']
9827
+ @EnumValues = params['EnumValues']
9305
9828
  @Default = params['Default']
9306
9829
  @Min = params['Min']
9307
9830
  @Max = params['Max']
9308
- @Name = params['Name']
9309
9831
  end
9310
9832
  end
9311
9833
 
@@ -9329,10 +9851,18 @@ module TencentCloud
9329
9851
  # @type StopSequences: Array
9330
9852
  # @param ReplyFormat: 输出格式
9331
9853
  # @type ReplyFormat: String
9854
+ # @param DeepThinking: 深度思考值
9855
+ # disabled
9856
+ # enabled
9857
+ # 注意:此字段可能返回 null,表示取不到有效值。
9858
+ # @type DeepThinking: String
9859
+ # @param ReasoningEffort: 效果 disabled low medium high
9860
+ # 注意:此字段可能返回 null,表示取不到有效值。
9861
+ # @type ReasoningEffort: String
9332
9862
 
9333
- attr_accessor :Temperature, :TopP, :Seed, :PresencePenalty, :FrequencyPenalty, :RepetitionPenalty, :MaxTokens, :StopSequences, :ReplyFormat
9863
+ attr_accessor :Temperature, :TopP, :Seed, :PresencePenalty, :FrequencyPenalty, :RepetitionPenalty, :MaxTokens, :StopSequences, :ReplyFormat, :DeepThinking, :ReasoningEffort
9334
9864
 
9335
- def initialize(temperature=nil, topp=nil, seed=nil, presencepenalty=nil, frequencypenalty=nil, repetitionpenalty=nil, maxtokens=nil, stopsequences=nil, replyformat=nil)
9865
+ 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
9866
  @Temperature = temperature
9337
9867
  @TopP = topp
9338
9868
  @Seed = seed
@@ -9342,6 +9872,8 @@ module TencentCloud
9342
9872
  @MaxTokens = maxtokens
9343
9873
  @StopSequences = stopsequences
9344
9874
  @ReplyFormat = replyformat
9875
+ @DeepThinking = deepthinking
9876
+ @ReasoningEffort = reasoningeffort
9345
9877
  end
9346
9878
 
9347
9879
  def deserialize(params)
@@ -9354,14 +9886,16 @@ module TencentCloud
9354
9886
  @MaxTokens = params['MaxTokens']
9355
9887
  @StopSequences = params['StopSequences']
9356
9888
  @ReplyFormat = params['ReplyFormat']
9889
+ @DeepThinking = params['DeepThinking']
9890
+ @ReasoningEffort = params['ReasoningEffort']
9357
9891
  end
9358
9892
  end
9359
9893
 
9360
9894
  # ModifyApp请求参数结构体
9361
9895
  class ModifyAppRequest < TencentCloud::Common::AbstractModel
9362
- # @param AppBizId: 应用 ID
9896
+ # @param AppBizId: 应用ID, 获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
9363
9897
  # @type AppBizId: String
9364
- # @param AppType: 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classify-知识标签提取
9898
+ # @param AppType: 应用类型;"knowledge_qa" 知识问答应用(包含标准模式 单工作流 Multi-Agent 等模式)
9365
9899
  # @type AppType: String
9366
9900
  # @param BaseConfig: 应用基础配置
9367
9901
  # @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
@@ -9628,7 +10162,8 @@ module TencentCloud
9628
10162
  # @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
9629
10163
  # @param SplitRule: 自定义切分规则
9630
10164
  # @type SplitRule: String
9631
- # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
10165
+ # @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。
10166
+ # 若不传,则不会修改文档生效域。
9632
10167
  # @type EnableScope: Integer
9633
10168
 
9634
10169
  attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload, :ModifyTypes, :UpdatePeriodInfo, :SplitRule, :EnableScope
@@ -9822,7 +10357,7 @@ module TencentCloud
9822
10357
  # @type SimilarQuestionModify: :class:`Tencentcloud::Lke.v20231130.models.SimilarQuestionModify`
9823
10358
  # @param QuestionDesc: 问题描述
9824
10359
  # @type QuestionDesc: String
9825
- # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
10360
+ # @param EnableScope: 问答生效范围: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。若不传该字段,则不修改问答的生效范围。
9826
10361
  # @type EnableScope: Integer
9827
10362
 
9828
10363
  attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify, :QuestionDesc, :EnableScope
@@ -9895,7 +10430,7 @@ module TencentCloud
9895
10430
  # @param Question: 拒答问题
9896
10431
 
9897
10432
  # @type Question: String
9898
- # @param RejectedBizId: 拒答问题来源的数据源唯一id, 通过[ListRejectedQuestion](https://capi.woa.com/api/detail?product=lke&version=2023-11-30&action=ListRejectedQuestion)接口获取
10433
+ # @param RejectedBizId: 拒答问题来源的数据源唯一id, 通过调用ListRejectedQuestion接口获取
9899
10434
 
9900
10435
 
9901
10436
  # @type RejectedBizId: String
@@ -10048,10 +10583,16 @@ module TencentCloud
10048
10583
  # @param WorkFlow: 工作流信息
10049
10584
  # 注意:此字段可能返回 null,表示取不到有效值。
10050
10585
  # @type WorkFlow: :class:`Tencentcloud::Lke.v20231130.models.WorkflowInfo`
10586
+ # @param Widgets: Widget信息
10587
+ # 注意:此字段可能返回 null,表示取不到有效值。
10588
+ # @type Widgets: Array
10589
+ # @param WidgetAction: Widget动作信息
10590
+ # 注意:此字段可能返回 null,表示取不到有效值。
10591
+ # @type WidgetAction: :class:`Tencentcloud::Lke.v20231130.models.WidgetAction`
10051
10592
 
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
10593
+ 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
10594
 
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)
10595
+ 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
10596
  @Content = content
10056
10597
  @SessionId = sessionid
10057
10598
  @RecordId = recordid
@@ -10078,6 +10619,8 @@ module TencentCloud
10078
10619
  @AgentThought = agentthought
10079
10620
  @ExtraInfo = extrainfo
10080
10621
  @WorkFlow = workflow
10622
+ @Widgets = widgets
10623
+ @WidgetAction = widgetaction
10081
10624
  end
10082
10625
 
10083
10626
  def deserialize(params)
@@ -10143,6 +10686,18 @@ module TencentCloud
10143
10686
  @WorkFlow = WorkflowInfo.new
10144
10687
  @WorkFlow.deserialize(params['WorkFlow'])
10145
10688
  end
10689
+ unless params['Widgets'].nil?
10690
+ @Widgets = []
10691
+ params['Widgets'].each do |i|
10692
+ widget_tmp = Widget.new
10693
+ widget_tmp.deserialize(i)
10694
+ @Widgets << widget_tmp
10695
+ end
10696
+ end
10697
+ unless params['WidgetAction'].nil?
10698
+ @WidgetAction = WidgetAction.new
10699
+ @WidgetAction.deserialize(params['WidgetAction'])
10700
+ end
10146
10701
  end
10147
10702
  end
10148
10703
 
@@ -10463,6 +11018,37 @@ module TencentCloud
10463
11018
  end
10464
11019
  end
10465
11020
 
11021
+ # Widget输出参数配置
11022
+ class OutputWidgetConfig < TencentCloud::Common::AbstractModel
11023
+ # @param WidgetId: widget id
11024
+ # @type WidgetId: String
11025
+ # @param WidgetName: widget名字
11026
+ # @type WidgetName: String
11027
+ # @param WidgetParam: 展示结果
11028
+ # @type WidgetParam: Array
11029
+
11030
+ attr_accessor :WidgetId, :WidgetName, :WidgetParam
11031
+
11032
+ def initialize(widgetid=nil, widgetname=nil, widgetparam=nil)
11033
+ @WidgetId = widgetid
11034
+ @WidgetName = widgetname
11035
+ @WidgetParam = widgetparam
11036
+ end
11037
+
11038
+ def deserialize(params)
11039
+ @WidgetId = params['WidgetId']
11040
+ @WidgetName = params['WidgetName']
11041
+ unless params['WidgetParam'].nil?
11042
+ @WidgetParam = []
11043
+ params['WidgetParam'].each do |i|
11044
+ widgetparam_tmp = WidgetParam.new
11045
+ widgetparam_tmp.deserialize(i)
11046
+ @WidgetParam << widgetparam_tmp
11047
+ end
11048
+ end
11049
+ end
11050
+ end
11051
+
10466
11052
  # 参数配置列表
10467
11053
  class ParameterConfig < TencentCloud::Common::AbstractModel
10468
11054
  # @param Name: 字段名称
@@ -10878,6 +11464,37 @@ module TencentCloud
10878
11464
  end
10879
11465
  end
10880
11466
 
11467
+ # 问答对参考信息
11468
+ class QaReference < TencentCloud::Common::AbstractModel
11469
+ # @param QaBizId: 问答业务ID
11470
+ # @type QaBizId: Integer
11471
+ # @param ReferBizId: 文档片段参考ID
11472
+ # 注意:此字段可能返回 null,表示取不到有效值。
11473
+ # @type ReferBizId: Integer
11474
+ # @param KnowledgeBizId: 问答所在知识库业务ID
11475
+ # 注意:此字段可能返回 null,表示取不到有效值。
11476
+ # @type KnowledgeBizId: Integer
11477
+ # @param KnowledgeName: 问答所在知识库名称
11478
+ # 注意:此字段可能返回 null,表示取不到有效值。
11479
+ # @type KnowledgeName: String
11480
+
11481
+ attr_accessor :QaBizId, :ReferBizId, :KnowledgeBizId, :KnowledgeName
11482
+
11483
+ def initialize(qabizid=nil, referbizid=nil, knowledgebizid=nil, knowledgename=nil)
11484
+ @QaBizId = qabizid
11485
+ @ReferBizId = referbizid
11486
+ @KnowledgeBizId = knowledgebizid
11487
+ @KnowledgeName = knowledgename
11488
+ end
11489
+
11490
+ def deserialize(params)
11491
+ @QaBizId = params['QaBizId']
11492
+ @ReferBizId = params['ReferBizId']
11493
+ @KnowledgeBizId = params['KnowledgeBizId']
11494
+ @KnowledgeName = params['KnowledgeName']
11495
+ end
11496
+ end
11497
+
10881
11498
  # 搜索引擎参考来源索引
10882
11499
  class QuoteInfo < TencentCloud::Common::AbstractModel
10883
11500
  # @param Position: 参考来源位置
@@ -11452,9 +12069,9 @@ module TencentCloud
11452
12069
 
11453
12070
  # RetryRelease请求参数结构体
11454
12071
  class RetryReleaseRequest < TencentCloud::Common::AbstractModel
11455
- # @param BotBizId: 机器人ID
12072
+ # @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
11456
12073
  # @type BotBizId: String
11457
- # @param ReleaseBizId: 发布业务ID
12074
+ # @param ReleaseBizId: 发布单ID(可以通过[ListRelease](https://cloud.tencent.com/document/product/1759/105077)获得)
11458
12075
  # @type ReleaseBizId: String
11459
12076
 
11460
12077
  attr_accessor :BotBizId, :ReleaseBizId
@@ -11533,6 +12150,33 @@ module TencentCloud
11533
12150
  end
11534
12151
  end
11535
12152
 
12153
+ # 沙盒信息内容
12154
+ class SandboxContent < TencentCloud::Common::AbstractModel
12155
+ # @param Url: 沙盒的URL地址
12156
+ # 注意:此字段可能返回 null,表示取不到有效值。
12157
+ # @type Url: String
12158
+ # @param DisplayUrl: 沙盒通过浏览器打开的URL地址
12159
+ # 注意:此字段可能返回 null,表示取不到有效值。
12160
+ # @type DisplayUrl: String
12161
+ # @param Content: 沙盒输出内容
12162
+ # 注意:此字段可能返回 null,表示取不到有效值。
12163
+ # @type Content: String
12164
+
12165
+ attr_accessor :Url, :DisplayUrl, :Content
12166
+
12167
+ def initialize(url=nil, displayurl=nil, content=nil)
12168
+ @Url = url
12169
+ @DisplayUrl = displayurl
12170
+ @Content = content
12171
+ end
12172
+
12173
+ def deserialize(params)
12174
+ @Url = params['Url']
12175
+ @DisplayUrl = params['DisplayUrl']
12176
+ @Content = params['Content']
12177
+ end
12178
+ end
12179
+
11536
12180
  # SaveDoc请求参数结构体
11537
12181
  class SaveDocRequest < TencentCloud::Common::AbstractModel
11538
12182
  # @param BotBizId: 应用ID,获取方法参看[如何获取 BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
@@ -11671,7 +12315,8 @@ module TencentCloud
11671
12315
  # @type SplitRule: String
11672
12316
  # @param UpdatePeriodInfo: 文档更新频率,默认值为0不更新
11673
12317
  # @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
11674
- # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
12318
+ # @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
12319
+ # 默认值:应用内默认知识库为2,共享知识库为4。
11675
12320
  # @type EnableScope: Integer
11676
12321
 
11677
12322
  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 +13093,41 @@ module TencentCloud
12448
13093
  end
12449
13094
  end
12450
13095
 
13096
+ # 工具高级设置
13097
+ class ToolAdvanceConfig < TencentCloud::Common::AbstractModel
13098
+ # @param EnableDirectResultReturn: 工具调用结果是否直接返回给用户
13099
+ # @type EnableDirectResultReturn: Boolean
13100
+ # @param OutputType: 输出样式 1-文本 2-json 3-widget
13101
+ # @type OutputType: Integer
13102
+ # @param RawStructuredOutput: 原始结构化JSON输出
13103
+ # @type RawStructuredOutput: String
13104
+ # @param CustomTextOutputs: 自定义文本输出,多行展示
13105
+ # @type CustomTextOutputs: String
13106
+ # @param OutputWidgetConfig: Widget输出配置
13107
+ # @type OutputWidgetConfig: :class:`Tencentcloud::Lke.v20231130.models.OutputWidgetConfig`
13108
+
13109
+ attr_accessor :EnableDirectResultReturn, :OutputType, :RawStructuredOutput, :CustomTextOutputs, :OutputWidgetConfig
13110
+
13111
+ def initialize(enabledirectresultreturn=nil, outputtype=nil, rawstructuredoutput=nil, customtextoutputs=nil, outputwidgetconfig=nil)
13112
+ @EnableDirectResultReturn = enabledirectresultreturn
13113
+ @OutputType = outputtype
13114
+ @RawStructuredOutput = rawstructuredoutput
13115
+ @CustomTextOutputs = customtextoutputs
13116
+ @OutputWidgetConfig = outputwidgetconfig
13117
+ end
13118
+
13119
+ def deserialize(params)
13120
+ @EnableDirectResultReturn = params['EnableDirectResultReturn']
13121
+ @OutputType = params['OutputType']
13122
+ @RawStructuredOutput = params['RawStructuredOutput']
13123
+ @CustomTextOutputs = params['CustomTextOutputs']
13124
+ unless params['OutputWidgetConfig'].nil?
13125
+ @OutputWidgetConfig = OutputWidgetConfig.new
13126
+ @OutputWidgetConfig.deserialize(params['OutputWidgetConfig'])
13127
+ end
13128
+ end
13129
+ end
13130
+
12451
13131
  # 不满意回复
12452
13132
  class UnsatisfiedReply < TencentCloud::Common::AbstractModel
12453
13133
  # @param ReplyBizId: 不满意回复ID
@@ -12853,6 +13533,150 @@ module TencentCloud
12853
13533
  end
12854
13534
  end
12855
13535
 
13536
+ # 网页搜索内容
13537
+ class WebSearchContent < TencentCloud::Common::AbstractModel
13538
+ # @param Content: 网页搜索结果,json格式的string
13539
+ # @type Content: String
13540
+
13541
+ attr_accessor :Content
13542
+
13543
+ def initialize(content=nil)
13544
+ @Content = content
13545
+ end
13546
+
13547
+ def deserialize(params)
13548
+ @Content = params['Content']
13549
+ end
13550
+ end
13551
+
13552
+ # 联网检索内容参考详情
13553
+ class WebSearchReference < TencentCloud::Common::AbstractModel
13554
+ # @param Url: 网页URL
13555
+ # @type Url: String
13556
+
13557
+ attr_accessor :Url
13558
+
13559
+ def initialize(url=nil)
13560
+ @Url = url
13561
+ end
13562
+
13563
+ def deserialize(params)
13564
+ @Url = params['Url']
13565
+ end
13566
+ end
13567
+
13568
+ # 对话端Widget结构
13569
+ class Widget < TencentCloud::Common::AbstractModel
13570
+ # @param WidgetId: Widget配置ID
13571
+ # @type WidgetId: String
13572
+ # @param WidgetRunId: Widget实例ID
13573
+ # @type WidgetRunId: String
13574
+ # @param State: Widget状态数据
13575
+ # 注意:此字段可能返回 null,表示取不到有效值。
13576
+ # @type State: String
13577
+ # @param Position: Widget位置
13578
+ # 注意:此字段可能返回 null,表示取不到有效值。
13579
+ # @type Position: Integer
13580
+ # @param EncodedWidget: Base64编码的Widget信息
13581
+ # 注意:此字段可能返回 null,表示取不到有效值。
13582
+ # @type EncodedWidget: String
13583
+ # @param Payload: 用户最近一次提交的payload
13584
+ # 注意:此字段可能返回 null,表示取不到有效值。
13585
+ # @type Payload: String
13586
+
13587
+ attr_accessor :WidgetId, :WidgetRunId, :State, :Position, :EncodedWidget, :Payload
13588
+
13589
+ def initialize(widgetid=nil, widgetrunid=nil, state=nil, position=nil, encodedwidget=nil, payload=nil)
13590
+ @WidgetId = widgetid
13591
+ @WidgetRunId = widgetrunid
13592
+ @State = state
13593
+ @Position = position
13594
+ @EncodedWidget = encodedwidget
13595
+ @Payload = payload
13596
+ end
13597
+
13598
+ def deserialize(params)
13599
+ @WidgetId = params['WidgetId']
13600
+ @WidgetRunId = params['WidgetRunId']
13601
+ @State = params['State']
13602
+ @Position = params['Position']
13603
+ @EncodedWidget = params['EncodedWidget']
13604
+ @Payload = params['Payload']
13605
+ end
13606
+ end
13607
+
13608
+ # 对话端Widget动作提交结构
13609
+ class WidgetAction < TencentCloud::Common::AbstractModel
13610
+ # @param WidgetId: Widget配置ID
13611
+ # @type WidgetId: String
13612
+ # @param WidgetRunId: Widget实例ID
13613
+ # 注意:此字段可能返回 null,表示取不到有效值。
13614
+ # @type WidgetRunId: String
13615
+ # @param ActionType: Widget动作
13616
+ # @type ActionType: String
13617
+ # @param Payload: Widget动作提交的数据
13618
+ # 注意:此字段可能返回 null,表示取不到有效值。
13619
+ # @type Payload: String
13620
+
13621
+ attr_accessor :WidgetId, :WidgetRunId, :ActionType, :Payload
13622
+
13623
+ def initialize(widgetid=nil, widgetrunid=nil, actiontype=nil, payload=nil)
13624
+ @WidgetId = widgetid
13625
+ @WidgetRunId = widgetrunid
13626
+ @ActionType = actiontype
13627
+ @Payload = payload
13628
+ end
13629
+
13630
+ def deserialize(params)
13631
+ @WidgetId = params['WidgetId']
13632
+ @WidgetRunId = params['WidgetRunId']
13633
+ @ActionType = params['ActionType']
13634
+ @Payload = params['Payload']
13635
+ end
13636
+ end
13637
+
13638
+ # Widget参数配置
13639
+ class WidgetParam < TencentCloud::Common::AbstractModel
13640
+ # @param Name: 参数名称
13641
+ # @type Name: String
13642
+ # @param Type: 参数类型
13643
+ # @type Type: Integer
13644
+ # @param SubParams: 子参数
13645
+ # @type SubParams: Array
13646
+ # @param DefaultValue: 默认值, Input未指定时,使用该值
13647
+ # @type DefaultValue: String
13648
+ # @param Input: 输入的值
13649
+ # @type Input: :class:`Tencentcloud::Lke.v20231130.models.AgentInput`
13650
+
13651
+ attr_accessor :Name, :Type, :SubParams, :DefaultValue, :Input
13652
+
13653
+ def initialize(name=nil, type=nil, subparams=nil, defaultvalue=nil, input=nil)
13654
+ @Name = name
13655
+ @Type = type
13656
+ @SubParams = subparams
13657
+ @DefaultValue = defaultvalue
13658
+ @Input = input
13659
+ end
13660
+
13661
+ def deserialize(params)
13662
+ @Name = params['Name']
13663
+ @Type = params['Type']
13664
+ unless params['SubParams'].nil?
13665
+ @SubParams = []
13666
+ params['SubParams'].each do |i|
13667
+ widgetparam_tmp = WidgetParam.new
13668
+ widgetparam_tmp.deserialize(i)
13669
+ @SubParams << widgetparam_tmp
13670
+ end
13671
+ end
13672
+ @DefaultValue = params['DefaultValue']
13673
+ unless params['Input'].nil?
13674
+ @Input = AgentInput.new
13675
+ @Input.deserialize(params['Input'])
13676
+ end
13677
+ end
13678
+ end
13679
+
12856
13680
  # 工作流程调试信息
12857
13681
  class WorkFlowSummary < TencentCloud::Common::AbstractModel
12858
13682
  # @param WorkflowId: 工作流ID
@@ -12880,10 +13704,13 @@ module TencentCloud
12880
13704
  # @type PendingMessages: Array
12881
13705
  # @param OptionCardIndex: 选项卡索引
12882
13706
  # @type OptionCardIndex: :class:`Tencentcloud::Lke.v20231130.models.OptionCardIndex`
13707
+ # @param Contents: 工作流多气泡输出
13708
+ # 注意:此字段可能返回 null,表示取不到有效值。
13709
+ # @type Contents: Array
12883
13710
 
12884
- attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex
13711
+ attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex, :Contents
12885
13712
 
12886
- def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil, pendingmessages=nil, optioncardindex=nil)
13713
+ def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil, pendingmessages=nil, optioncardindex=nil, contents=nil)
12887
13714
  @WorkflowId = workflowid
12888
13715
  @WorkflowName = workflowname
12889
13716
  @WorkflowRunId = workflowrunid
@@ -12893,6 +13720,7 @@ module TencentCloud
12893
13720
  @WorkflowReleaseTime = workflowreleasetime
12894
13721
  @PendingMessages = pendingmessages
12895
13722
  @OptionCardIndex = optioncardindex
13723
+ @Contents = contents
12896
13724
  end
12897
13725
 
12898
13726
  def deserialize(params)
@@ -12915,6 +13743,14 @@ module TencentCloud
12915
13743
  @OptionCardIndex = OptionCardIndex.new
12916
13744
  @OptionCardIndex.deserialize(params['OptionCardIndex'])
12917
13745
  end
13746
+ unless params['Contents'].nil?
13747
+ @Contents = []
13748
+ params['Contents'].each do |i|
13749
+ content_tmp = Content.new
13750
+ content_tmp.deserialize(i)
13751
+ @Contents << content_tmp
13752
+ end
13753
+ end
12918
13754
  end
12919
13755
  end
12920
13756
 
@@ -12938,16 +13774,20 @@ module TencentCloud
12938
13774
  # @param WorkflowReleaseTime: 工作流发布时间,unix时间戳
12939
13775
  # 注意:此字段可能返回 null,表示取不到有效值。
12940
13776
  # @type WorkflowReleaseTime: String
13777
+ # @param Contents: 工作流多气泡输出
13778
+ # 注意:此字段可能返回 null,表示取不到有效值。
13779
+ # @type Contents: Array
12941
13780
 
12942
- attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :OptionCards, :Outputs, :WorkflowReleaseTime
13781
+ attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :OptionCards, :Outputs, :WorkflowReleaseTime, :Contents
12943
13782
 
12944
- def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil)
13783
+ def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil, contents=nil)
12945
13784
  @WorkflowId = workflowid
12946
13785
  @WorkflowName = workflowname
12947
13786
  @WorkflowRunId = workflowrunid
12948
13787
  @OptionCards = optioncards
12949
13788
  @Outputs = outputs
12950
13789
  @WorkflowReleaseTime = workflowreleasetime
13790
+ @Contents = contents
12951
13791
  end
12952
13792
 
12953
13793
  def deserialize(params)
@@ -12957,6 +13797,14 @@ module TencentCloud
12957
13797
  @OptionCards = params['OptionCards']
12958
13798
  @Outputs = params['Outputs']
12959
13799
  @WorkflowReleaseTime = params['WorkflowReleaseTime']
13800
+ unless params['Contents'].nil?
13801
+ @Contents = []
13802
+ params['Contents'].each do |i|
13803
+ content_tmp = Content.new
13804
+ content_tmp.deserialize(i)
13805
+ @Contents << content_tmp
13806
+ end
13807
+ end
12960
13808
  end
12961
13809
  end
12962
13810