tencentcloud-sdk-lke 3.0.1185 → 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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20231130/client.rb +22 -1
- data/lib/v20231130/models.rb +968 -96
- metadata +2 -2
data/lib/v20231130/models.rb
CHANGED
|
@@ -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
|
|
@@ -2469,6 +2764,7 @@ module TencentCloud
|
|
|
2469
2764
|
# CreateQA请求参数结构体
|
|
2470
2765
|
class CreateQARequest < TencentCloud::Common::AbstractModel
|
|
2471
2766
|
# @param BotBizId: 应用ID
|
|
2767
|
+
# 若要操作共享知识库,传KnowledgeBizId
|
|
2472
2768
|
# @type BotBizId: String
|
|
2473
2769
|
# @param Question: 问题
|
|
2474
2770
|
# @type Question: String
|
|
@@ -2484,7 +2780,7 @@ module TencentCloud
|
|
|
2484
2780
|
# @type DocBizId: String
|
|
2485
2781
|
# @param CateBizId: 分类ID
|
|
2486
2782
|
# @type CateBizId: String
|
|
2487
|
-
# @param ExpireStart:
|
|
2783
|
+
# @param ExpireStart: 有效开始时间,单位是unix时间戳。默认值为0,表示问答为永久有效.
|
|
2488
2784
|
# @type ExpireStart: String
|
|
2489
2785
|
# @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
|
|
2490
2786
|
# @type ExpireEnd: String
|
|
@@ -2492,10 +2788,13 @@ module TencentCloud
|
|
|
2492
2788
|
# @type SimilarQuestions: Array
|
|
2493
2789
|
# @param QuestionDesc: 问题描述
|
|
2494
2790
|
# @type QuestionDesc: String
|
|
2791
|
+
# @param EnableScope: 问答生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
|
|
2792
|
+
# 默认值:应用内默认知识库为2,共享知识库为4。
|
|
2793
|
+
# @type EnableScope: Integer
|
|
2495
2794
|
|
|
2496
|
-
attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QuestionDesc
|
|
2795
|
+
attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QuestionDesc, :EnableScope
|
|
2497
2796
|
|
|
2498
|
-
def initialize(botbizid=nil, question=nil, answer=nil, attrrange=nil, customparam=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestions=nil, questiondesc=nil)
|
|
2797
|
+
def initialize(botbizid=nil, question=nil, answer=nil, attrrange=nil, customparam=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestions=nil, questiondesc=nil, enablescope=nil)
|
|
2499
2798
|
@BotBizId = botbizid
|
|
2500
2799
|
@Question = question
|
|
2501
2800
|
@Answer = answer
|
|
@@ -2508,6 +2807,7 @@ module TencentCloud
|
|
|
2508
2807
|
@ExpireEnd = expireend
|
|
2509
2808
|
@SimilarQuestions = similarquestions
|
|
2510
2809
|
@QuestionDesc = questiondesc
|
|
2810
|
+
@EnableScope = enablescope
|
|
2511
2811
|
end
|
|
2512
2812
|
|
|
2513
2813
|
def deserialize(params)
|
|
@@ -2530,6 +2830,7 @@ module TencentCloud
|
|
|
2530
2830
|
@ExpireEnd = params['ExpireEnd']
|
|
2531
2831
|
@SimilarQuestions = params['SimilarQuestions']
|
|
2532
2832
|
@QuestionDesc = params['QuestionDesc']
|
|
2833
|
+
@EnableScope = params['EnableScope']
|
|
2533
2834
|
end
|
|
2534
2835
|
end
|
|
2535
2836
|
|
|
@@ -3515,13 +3816,13 @@ module TencentCloud
|
|
|
3515
3816
|
|
|
3516
3817
|
# DescribeCallStatsGraph请求参数结构体
|
|
3517
3818
|
class DescribeCallStatsGraphRequest < TencentCloud::Common::AbstractModel
|
|
3518
|
-
# @param UinAccount:
|
|
3819
|
+
# @param UinAccount: 子账号标识列表,支持批量查询多个子账号。不填时查询主账号下所有子账号的汇总数据
|
|
3519
3820
|
# @type UinAccount: Array
|
|
3520
3821
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
|
3521
3822
|
# @type LoginUin: String
|
|
3522
3823
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
|
3523
3824
|
# @type LoginSubAccountUin: String
|
|
3524
|
-
# @param SubBizType:
|
|
3825
|
+
# @param SubBizType: 子业务类型,用于筛选不同业务场景的调用统计
|
|
3525
3826
|
# @type SubBizType: String
|
|
3526
3827
|
# @param ModelName: 模型标识
|
|
3527
3828
|
# @type ModelName: String
|
|
@@ -3535,14 +3836,19 @@ module TencentCloud
|
|
|
3535
3836
|
# @type SubScenes: Array
|
|
3536
3837
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
|
3537
3838
|
# @type AppType: String
|
|
3538
|
-
# @param SpaceId: 空间
|
|
3839
|
+
# @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
|
|
3539
3840
|
# @type SpaceId: String
|
|
3540
|
-
# @param StatStartTime:
|
|
3841
|
+
# @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
|
|
3541
3842
|
# @type StatStartTime: Integer
|
|
3542
|
-
# @param StatEndTime:
|
|
3843
|
+
# @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
|
|
3543
3844
|
# @type StatEndTime: Integer
|
|
3544
3845
|
|
|
3545
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
|
|
3546
3852
|
|
|
3547
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)
|
|
3548
3854
|
@UinAccount = uinaccount
|
|
@@ -3838,12 +4144,20 @@ module TencentCloud
|
|
|
3838
4144
|
# @param UpdatePeriodInfo: 文档更新频率
|
|
3839
4145
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3840
4146
|
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
|
4147
|
+
# @param CateBizIdPath: 从根节点开始的路径分类ID
|
|
4148
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4149
|
+
# @type CateBizIdPath: Array
|
|
4150
|
+
# @param CateNamePath: 从根节点开始的路径分类名称
|
|
4151
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4152
|
+
# @type CateNamePath: Array
|
|
4153
|
+
# @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
|
|
4154
|
+
# @type EnableScope: Integer
|
|
3841
4155
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3842
4156
|
# @type RequestId: String
|
|
3843
4157
|
|
|
3844
|
-
attr_accessor :DocBizId, :FileName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :IsAllowEdit, :AttrRange, :AttrLabels, :CateBizId, :IsDisabled, :IsDownload, :SplitRule, :UpdatePeriodInfo, :RequestId
|
|
4158
|
+
attr_accessor :DocBizId, :FileName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :IsAllowEdit, :AttrRange, :AttrLabels, :CateBizId, :IsDisabled, :IsDownload, :SplitRule, :UpdatePeriodInfo, :CateBizIdPath, :CateNamePath, :EnableScope, :RequestId
|
|
3845
4159
|
|
|
3846
|
-
def initialize(docbizid=nil, filename=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, isallowedit=nil, attrrange=nil, attrlabels=nil, catebizid=nil, isdisabled=nil, isdownload=nil, splitrule=nil, updateperiodinfo=nil, requestid=nil)
|
|
4160
|
+
def initialize(docbizid=nil, filename=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, isallowedit=nil, attrrange=nil, attrlabels=nil, catebizid=nil, isdisabled=nil, isdownload=nil, splitrule=nil, updateperiodinfo=nil, catebizidpath=nil, catenamepath=nil, enablescope=nil, requestid=nil)
|
|
3847
4161
|
@DocBizId = docbizid
|
|
3848
4162
|
@FileName = filename
|
|
3849
4163
|
@FileType = filetype
|
|
@@ -3872,6 +4186,9 @@ module TencentCloud
|
|
|
3872
4186
|
@IsDownload = isdownload
|
|
3873
4187
|
@SplitRule = splitrule
|
|
3874
4188
|
@UpdatePeriodInfo = updateperiodinfo
|
|
4189
|
+
@CateBizIdPath = catebizidpath
|
|
4190
|
+
@CateNamePath = catenamepath
|
|
4191
|
+
@EnableScope = enablescope
|
|
3875
4192
|
@RequestId = requestid
|
|
3876
4193
|
end
|
|
3877
4194
|
|
|
@@ -3914,6 +4231,9 @@ module TencentCloud
|
|
|
3914
4231
|
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
|
3915
4232
|
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
|
3916
4233
|
end
|
|
4234
|
+
@CateBizIdPath = params['CateBizIdPath']
|
|
4235
|
+
@CateNamePath = params['CateNamePath']
|
|
4236
|
+
@EnableScope = params['EnableScope']
|
|
3917
4237
|
@RequestId = params['RequestId']
|
|
3918
4238
|
end
|
|
3919
4239
|
end
|
|
@@ -3922,7 +4242,7 @@ module TencentCloud
|
|
|
3922
4242
|
class DescribeKnowledgeUsagePieGraphRequest < TencentCloud::Common::AbstractModel
|
|
3923
4243
|
# @param AppBizIds: 应用ID数组
|
|
3924
4244
|
# @type AppBizIds: Array
|
|
3925
|
-
# @param SpaceId:
|
|
4245
|
+
# @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
|
|
3926
4246
|
# @type SpaceId: String
|
|
3927
4247
|
|
|
3928
4248
|
attr_accessor :AppBizIds, :SpaceId
|
|
@@ -4133,12 +4453,24 @@ module TencentCloud
|
|
|
4133
4453
|
# @type QuestionDesc: String
|
|
4134
4454
|
# @param IsDisabled: 问答是否停用,false:未停用,true已停用
|
|
4135
4455
|
# @type IsDisabled: Boolean
|
|
4456
|
+
# @param CateBizIdPath: 从根节点开始的路径分类ID
|
|
4457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4458
|
+
# @type CateBizIdPath: Array
|
|
4459
|
+
# @param CateNamePath: 从根节点开始的路径分类名称
|
|
4460
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4461
|
+
# @type CateNamePath: Array
|
|
4462
|
+
# @param EnableScope: 问答生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
|
|
4463
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4464
|
+
# @type EnableScope: Integer
|
|
4465
|
+
# @param DocEnableScope: 问答关联的文档生效域:1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效.
|
|
4466
|
+
# 若问答未关联文档,则该字段值同问答生效域
|
|
4467
|
+
# @type DocEnableScope: Integer
|
|
4136
4468
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4137
4469
|
# @type RequestId: String
|
|
4138
4470
|
|
|
4139
|
-
attr_accessor :QaBizId, :Question, :Answer, :CustomParam, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :CateBizId, :IsAllowAccept, :IsAllowDelete, :IsAllowEdit, :DocBizId, :FileName, :FileType, :SegmentBizId, :PageContent, :Highlights, :OrgData, :AttrRange, :AttrLabels, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QaAuditStatus, :PicAuditStatus, :VideoAuditStatus, :QuestionDesc, :IsDisabled, :RequestId
|
|
4471
|
+
attr_accessor :QaBizId, :Question, :Answer, :CustomParam, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :CateBizId, :IsAllowAccept, :IsAllowDelete, :IsAllowEdit, :DocBizId, :FileName, :FileType, :SegmentBizId, :PageContent, :Highlights, :OrgData, :AttrRange, :AttrLabels, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QaAuditStatus, :PicAuditStatus, :VideoAuditStatus, :QuestionDesc, :IsDisabled, :CateBizIdPath, :CateNamePath, :EnableScope, :DocEnableScope, :RequestId
|
|
4140
4472
|
|
|
4141
|
-
def initialize(qabizid=nil, question=nil, answer=nil, customparam=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, catebizid=nil, isallowaccept=nil, isallowdelete=nil, isallowedit=nil, docbizid=nil, filename=nil, filetype=nil, segmentbizid=nil, pagecontent=nil, highlights=nil, orgdata=nil, attrrange=nil, attrlabels=nil, expirestart=nil, expireend=nil, similarquestions=nil, qaauditstatus=nil, picauditstatus=nil, videoauditstatus=nil, questiondesc=nil, isdisabled=nil, requestid=nil)
|
|
4473
|
+
def initialize(qabizid=nil, question=nil, answer=nil, customparam=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, catebizid=nil, isallowaccept=nil, isallowdelete=nil, isallowedit=nil, docbizid=nil, filename=nil, filetype=nil, segmentbizid=nil, pagecontent=nil, highlights=nil, orgdata=nil, attrrange=nil, attrlabels=nil, expirestart=nil, expireend=nil, similarquestions=nil, qaauditstatus=nil, picauditstatus=nil, videoauditstatus=nil, questiondesc=nil, isdisabled=nil, catebizidpath=nil, catenamepath=nil, enablescope=nil, docenablescope=nil, requestid=nil)
|
|
4142
4474
|
@QaBizId = qabizid
|
|
4143
4475
|
@Question = question
|
|
4144
4476
|
@Answer = answer
|
|
@@ -4169,6 +4501,10 @@ module TencentCloud
|
|
|
4169
4501
|
@VideoAuditStatus = videoauditstatus
|
|
4170
4502
|
@QuestionDesc = questiondesc
|
|
4171
4503
|
@IsDisabled = isdisabled
|
|
4504
|
+
@CateBizIdPath = catebizidpath
|
|
4505
|
+
@CateNamePath = catenamepath
|
|
4506
|
+
@EnableScope = enablescope
|
|
4507
|
+
@DocEnableScope = docenablescope
|
|
4172
4508
|
@RequestId = requestid
|
|
4173
4509
|
end
|
|
4174
4510
|
|
|
@@ -4224,6 +4560,10 @@ module TencentCloud
|
|
|
4224
4560
|
@VideoAuditStatus = params['VideoAuditStatus']
|
|
4225
4561
|
@QuestionDesc = params['QuestionDesc']
|
|
4226
4562
|
@IsDisabled = params['IsDisabled']
|
|
4563
|
+
@CateBizIdPath = params['CateBizIdPath']
|
|
4564
|
+
@CateNamePath = params['CateNamePath']
|
|
4565
|
+
@EnableScope = params['EnableScope']
|
|
4566
|
+
@DocEnableScope = params['DocEnableScope']
|
|
4227
4567
|
@RequestId = params['RequestId']
|
|
4228
4568
|
end
|
|
4229
4569
|
end
|
|
@@ -4333,9 +4673,9 @@ module TencentCloud
|
|
|
4333
4673
|
|
|
4334
4674
|
# DescribeRelease请求参数结构体
|
|
4335
4675
|
class DescribeReleaseRequest < TencentCloud::Common::AbstractModel
|
|
4336
|
-
# @param BotBizId: 应用ID
|
|
4676
|
+
# @param BotBizId: 应用ID。获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
|
|
4337
4677
|
# @type BotBizId: String
|
|
4338
|
-
# @param ReleaseBizId:
|
|
4678
|
+
# @param ReleaseBizId: 发布ID
|
|
4339
4679
|
# @type ReleaseBizId: String
|
|
4340
4680
|
|
|
4341
4681
|
attr_accessor :BotBizId, :ReleaseBizId
|
|
@@ -4680,7 +5020,7 @@ module TencentCloud
|
|
|
4680
5020
|
|
|
4681
5021
|
# DescribeTokenUsageGraph请求参数结构体
|
|
4682
5022
|
class DescribeTokenUsageGraphRequest < TencentCloud::Common::AbstractModel
|
|
4683
|
-
# @param UinAccount:
|
|
5023
|
+
# @param UinAccount: 子账号标识列表,支持批量查询多个子账号。不填时查询主账号下所有子账号的汇总数据
|
|
4684
5024
|
# @type UinAccount: Array
|
|
4685
5025
|
# @param SubBizType: 知识引擎子业务类型: FileParse(文档解析)、Embedding、Rewrite(多轮改写)、 Concurrency(并发)、KnowledgeSummary(知识总结) KnowledgeQA(知识问答)、KnowledgeCapacity(知识库容量)、SearchEngine(搜索引擎)
|
|
4686
5026
|
# @type SubBizType: String
|
|
@@ -4690,18 +5030,23 @@ module TencentCloud
|
|
|
4690
5030
|
# @type StartTime: String
|
|
4691
5031
|
# @param EndTime: 结束时间戳, 单位为秒(废弃)
|
|
4692
5032
|
# @type EndTime: String
|
|
4693
|
-
# @param AppBizIds: 应用
|
|
5033
|
+
# @param AppBizIds: 应用ID列表。不填时:若指定SpaceId则查该空间所有应用;否则查用户下所有应用
|
|
4694
5034
|
# @type AppBizIds: Array
|
|
4695
|
-
# @param AppType:
|
|
5035
|
+
# @param AppType: 应用类型。可选值:knowledge_qa(知识问答)/plugin_parsing_qa(插件)/shared_knowledge(知识库)/evaluate_test(评测)。不填时查所有类型
|
|
4696
5036
|
# @type AppType: String
|
|
4697
5037
|
# @param SubScenes: 筛选子场景
|
|
4698
5038
|
# @type SubScenes: Array
|
|
4699
|
-
# @param StatStartTime:
|
|
5039
|
+
# @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
|
|
4700
5040
|
# @type StatStartTime: Integer
|
|
4701
|
-
# @param StatEndTime:
|
|
5041
|
+
# @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
|
|
4702
5042
|
# @type StatEndTime: Integer
|
|
4703
5043
|
|
|
4704
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
|
|
4705
5050
|
|
|
4706
5051
|
def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil, apptype=nil, subscenes=nil, statstarttime=nil, statendtime=nil)
|
|
4707
5052
|
@UinAccount = uinaccount
|
|
@@ -4781,7 +5126,7 @@ module TencentCloud
|
|
|
4781
5126
|
|
|
4782
5127
|
# DescribeTokenUsage请求参数结构体
|
|
4783
5128
|
class DescribeTokenUsageRequest < TencentCloud::Common::AbstractModel
|
|
4784
|
-
# @param UinAccount:
|
|
5129
|
+
# @param UinAccount: 子账号标识列表,用于筛选指定子账号的统计数据,不填时查询主账号下所有子账号的汇总数据
|
|
4785
5130
|
# @type UinAccount: Array
|
|
4786
5131
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
|
4787
5132
|
# @type LoginUin: String
|
|
@@ -4801,14 +5146,19 @@ module TencentCloud
|
|
|
4801
5146
|
# @type SubScenes: Array
|
|
4802
5147
|
# @param AppType: 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
|
4803
5148
|
# @type AppType: String
|
|
4804
|
-
# @param SpaceId: 空间
|
|
5149
|
+
# @param SpaceId: 空间ID,用于限定查询范围。不填时查询所有空间的数据
|
|
4805
5150
|
# @type SpaceId: String
|
|
4806
|
-
# @param StatStartTime:
|
|
5151
|
+
# @param StatStartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
|
|
4807
5152
|
# @type StatStartTime: Integer
|
|
4808
|
-
# @param StatEndTime:
|
|
5153
|
+
# @param StatEndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
|
|
4809
5154
|
# @type StatEndTime: Integer
|
|
4810
5155
|
|
|
4811
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
|
|
4812
5162
|
|
|
4813
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)
|
|
4814
5164
|
@UinAccount = uinaccount
|
|
@@ -4907,7 +5257,7 @@ module TencentCloud
|
|
|
4907
5257
|
class DescribeUnsatisfiedReplyContextRequest < TencentCloud::Common::AbstractModel
|
|
4908
5258
|
# @param BotBizId: 应用ID,获取方法参看如何获取[BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
|
|
4909
5259
|
# @type BotBizId: String
|
|
4910
|
-
# @param ReplyBizId: 回复ID
|
|
5260
|
+
# @param ReplyBizId: 回复ID
|
|
4911
5261
|
# @type ReplyBizId: String
|
|
4912
5262
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
|
4913
5263
|
# @type LoginUin: String
|
|
@@ -5082,6 +5432,47 @@ module TencentCloud
|
|
|
5082
5432
|
end
|
|
5083
5433
|
end
|
|
5084
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
|
+
|
|
5085
5476
|
# 文档片段
|
|
5086
5477
|
class DocSegment < TencentCloud::Common::AbstractModel
|
|
5087
5478
|
# @param Id: 片段ID
|
|
@@ -5230,10 +5621,18 @@ module TencentCloud
|
|
|
5230
5621
|
# ExportQAList请求参数结构体
|
|
5231
5622
|
class ExportQAListRequest < TencentCloud::Common::AbstractModel
|
|
5232
5623
|
# @param BotBizId: 应用ID
|
|
5624
|
+
# 若要操作共享知识库,传KnowledgeBizId
|
|
5233
5625
|
# @type BotBizId: String
|
|
5234
5626
|
# @param QaBizIds: QA业务ID
|
|
5235
5627
|
# @type QaBizIds: Array
|
|
5236
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是
|
|
5237
5636
|
# @type Filters: :class:`Tencentcloud::Lke.v20231130.models.QAQuery`
|
|
5238
5637
|
|
|
5239
5638
|
attr_accessor :BotBizId, :QaBizIds, :Filters
|
|
@@ -5273,8 +5672,9 @@ module TencentCloud
|
|
|
5273
5672
|
# ExportUnsatisfiedReply请求参数结构体
|
|
5274
5673
|
class ExportUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
|
|
5275
5674
|
# @param BotBizId: 应用ID
|
|
5675
|
+
# 若要操作共享知识库,传KnowledgeBizId
|
|
5276
5676
|
# @type BotBizId: String
|
|
5277
|
-
# @param ReplyBizIds:
|
|
5677
|
+
# @param ReplyBizIds: 勾选导出不满意回复的ID列表
|
|
5278
5678
|
# @type ReplyBizIds: Array
|
|
5279
5679
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
|
5280
5680
|
# @type LoginUin: String
|
|
@@ -5338,6 +5738,27 @@ module TencentCloud
|
|
|
5338
5738
|
end
|
|
5339
5739
|
end
|
|
5340
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
|
+
|
|
5341
5762
|
# 实时上传的文件信息
|
|
5342
5763
|
class FileInfo < TencentCloud::Common::AbstractModel
|
|
5343
5764
|
# @param FileName: 文件名称
|
|
@@ -5380,6 +5801,42 @@ module TencentCloud
|
|
|
5380
5801
|
end
|
|
5381
5802
|
end
|
|
5382
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
|
+
|
|
5383
5840
|
# 不满意回复检索过滤
|
|
5384
5841
|
class Filters < TencentCloud::Common::AbstractModel
|
|
5385
5842
|
# @param Query: 检索,用户问题或答案
|
|
@@ -5784,23 +6241,29 @@ module TencentCloud
|
|
|
5784
6241
|
|
|
5785
6242
|
# GetMsgRecord请求参数结构体
|
|
5786
6243
|
class GetMsgRecordRequest < TencentCloud::Common::AbstractModel
|
|
5787
|
-
# @param Type:
|
|
6244
|
+
# @param Type: 接入类型, 5-API 访客,目前仅支持传5
|
|
5788
6245
|
# @type Type: Integer
|
|
5789
6246
|
# @param Count: 数量, 数量需大于2, 最大1000
|
|
5790
6247
|
# @type Count: Integer
|
|
5791
|
-
# @param SessionId: 会话sessionid
|
|
6248
|
+
# @param SessionId: 会话sessionid。
|
|
5792
6249
|
# @type SessionId: String
|
|
5793
6250
|
# @param BotAppKey: 应用AppKey, 当Type=5[API访客]时, 该字段必填 :</br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
|
|
5794
6251
|
# @type BotAppKey: String
|
|
5795
|
-
# @param Scene: 场景, 体验: 1; 正式: 2
|
|
6252
|
+
# @param Scene: 场景, 体验: 1; 正式: 2 。
|
|
6253
|
+
|
|
6254
|
+
# 体验用于创建应用测试的时候使用,正式是应用发布后对外的时候使用
|
|
5796
6255
|
# @type Scene: Integer
|
|
5797
6256
|
# @param LastRecordId: 最后一条记录ID, 消息从后往前获取
|
|
5798
6257
|
|
|
5799
6258
|
# MidRecordId与LastRecordId只能选择一个
|
|
6259
|
+
|
|
6260
|
+
# LastRecordId 和MidRecordId都不填的时候,默认从最新的消息ID开始取。
|
|
5800
6261
|
# @type LastRecordId: String
|
|
5801
6262
|
# @param MidRecordId: 传该值,代表拉取该记录id的前后总共count条消息记录
|
|
5802
6263
|
|
|
5803
6264
|
# MidRecordId与LastRecordId只能选择一个
|
|
6265
|
+
|
|
6266
|
+
# LastRecordId 和MidRecordId都不填的时候,默认从最新的消息Id开始取
|
|
5804
6267
|
# @type MidRecordId: String
|
|
5805
6268
|
|
|
5806
6269
|
attr_accessor :Type, :Count, :SessionId, :BotAppKey, :Scene, :LastRecordId, :MidRecordId
|
|
@@ -6026,12 +6489,15 @@ module TencentCloud
|
|
|
6026
6489
|
# @param BotAppKey: 应用AppKey </br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
|
|
6027
6490
|
# @type BotAppKey: String
|
|
6028
6491
|
# @param VisitorBizId: 访客ID(外部输入,建议唯一,标识当前接入会话的用户)
|
|
6029
|
-
# 长度限制: string(64)
|
|
6492
|
+
# 长度限制: string(64),即最长不超过64个字符
|
|
6030
6493
|
# @type VisitorBizId: String
|
|
6031
6494
|
# @param VisitorLabels: 知识标签,用于知识库中知识的检索过滤。该字段即将下线,请使用对话端接口中的 custom_variables 字段替代该字段。
|
|
6032
6495
|
# @type VisitorLabels: Array
|
|
6033
6496
|
|
|
6034
6497
|
attr_accessor :Type, :BotAppKey, :VisitorBizId, :VisitorLabels
|
|
6498
|
+
extend Gem::Deprecate
|
|
6499
|
+
deprecate :VisitorLabels, :none, 2025, 12
|
|
6500
|
+
deprecate :VisitorLabels=, :none, 2025, 12
|
|
6035
6501
|
|
|
6036
6502
|
def initialize(type=nil, botappkey=nil, visitorbizid=nil, visitorlabels=nil)
|
|
6037
6503
|
@Type = type
|
|
@@ -6143,6 +6609,7 @@ module TencentCloud
|
|
|
6143
6609
|
# GroupQA请求参数结构体
|
|
6144
6610
|
class GroupQARequest < TencentCloud::Common::AbstractModel
|
|
6145
6611
|
# @param BotBizId: 应用ID
|
|
6612
|
+
# 若要操作共享知识库,传KnowledgeBizId
|
|
6146
6613
|
# @type BotBizId: String
|
|
6147
6614
|
# @param QaBizIds: QaBizID列表
|
|
6148
6615
|
# @type QaBizIds: Array
|
|
@@ -6276,6 +6743,22 @@ module TencentCloud
|
|
|
6276
6743
|
end
|
|
6277
6744
|
end
|
|
6278
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
|
+
|
|
6279
6762
|
# 输入框配置
|
|
6280
6763
|
class InputBoxConfig < TencentCloud::Common::AbstractModel
|
|
6281
6764
|
# @param InputBoxButtons: 输入框按钮,1:上传图片、2:上传文档,3:腾讯文档,4:联网搜索
|
|
@@ -7659,10 +8142,13 @@ module TencentCloud
|
|
|
7659
8142
|
# @type IsDisabled: Boolean
|
|
7660
8143
|
# @param StaffName: 员工名称
|
|
7661
8144
|
# @type StaffName: String
|
|
8145
|
+
# @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
|
|
8146
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8147
|
+
# @type EnableScope: Integer
|
|
7662
8148
|
|
|
7663
|
-
attr_accessor :DocBizId, :FileName, :NewName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :AttrRange, :AttrLabels, :IsAllowEdit, :ReferUrlType, :WebUrl, :ExpireStart, :ExpireEnd, :IsAllowRetry, :Processing, :CreateTime, :CateBizId, :CustomerKnowledgeId, :AttributeFlags, :IsDisabled, :StaffName
|
|
8149
|
+
attr_accessor :DocBizId, :FileName, :NewName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :AttrRange, :AttrLabels, :IsAllowEdit, :ReferUrlType, :WebUrl, :ExpireStart, :ExpireEnd, :IsAllowRetry, :Processing, :CreateTime, :CateBizId, :CustomerKnowledgeId, :AttributeFlags, :IsDisabled, :StaffName, :EnableScope
|
|
7664
8150
|
|
|
7665
|
-
def initialize(docbizid=nil, filename=nil, newname=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil, processing=nil, createtime=nil, catebizid=nil, customerknowledgeid=nil, attributeflags=nil, isdisabled=nil, staffname=nil)
|
|
8151
|
+
def initialize(docbizid=nil, filename=nil, newname=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil, processing=nil, createtime=nil, catebizid=nil, customerknowledgeid=nil, attributeflags=nil, isdisabled=nil, staffname=nil, enablescope=nil)
|
|
7666
8152
|
@DocBizId = docbizid
|
|
7667
8153
|
@FileName = filename
|
|
7668
8154
|
@NewName = newname
|
|
@@ -7699,6 +8185,7 @@ module TencentCloud
|
|
|
7699
8185
|
@AttributeFlags = attributeflags
|
|
7700
8186
|
@IsDisabled = isdisabled
|
|
7701
8187
|
@StaffName = staffname
|
|
8188
|
+
@EnableScope = enablescope
|
|
7702
8189
|
end
|
|
7703
8190
|
|
|
7704
8191
|
def deserialize(params)
|
|
@@ -7745,16 +8232,17 @@ module TencentCloud
|
|
|
7745
8232
|
@AttributeFlags = params['AttributeFlags']
|
|
7746
8233
|
@IsDisabled = params['IsDisabled']
|
|
7747
8234
|
@StaffName = params['StaffName']
|
|
8235
|
+
@EnableScope = params['EnableScope']
|
|
7748
8236
|
end
|
|
7749
8237
|
end
|
|
7750
8238
|
|
|
7751
8239
|
# ListDoc请求参数结构体
|
|
7752
8240
|
class ListDocRequest < TencentCloud::Common::AbstractModel
|
|
7753
|
-
# @param BotBizId: 应用ID
|
|
8241
|
+
# @param BotBizId: 应用ID, 获取方式参看 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
|
|
7754
8242
|
# @type BotBizId: String
|
|
7755
|
-
# @param PageNumber: 页码
|
|
8243
|
+
# @param PageNumber: 页码(必须大于0)
|
|
7756
8244
|
# @type PageNumber: Integer
|
|
7757
|
-
# @param PageSize: 每页数量
|
|
8245
|
+
# @param PageSize: 每页数量(取值范围1-200)
|
|
7758
8246
|
# @type PageSize: Integer
|
|
7759
8247
|
# @param Query: 查询内容
|
|
7760
8248
|
|
|
@@ -7764,7 +8252,7 @@ module TencentCloud
|
|
|
7764
8252
|
# @type Status: Array
|
|
7765
8253
|
# @param QueryType: 查询类型 filename 文档、 attribute 标签
|
|
7766
8254
|
# @type QueryType: String
|
|
7767
|
-
# @param CateBizId: 分类ID
|
|
8255
|
+
# @param CateBizId: 分类ID, 调用接口[ListDocCate](https://capi.woa.com/api/detail?product=lke&version=2023-11-30&action=ListDocCate)获取
|
|
7768
8256
|
# @type CateBizId: String
|
|
7769
8257
|
# @param FileTypes: 文件类型分类筛选
|
|
7770
8258
|
# @type FileTypes: Array
|
|
@@ -7772,10 +8260,12 @@ module TencentCloud
|
|
|
7772
8260
|
# @type FilterFlag: Array
|
|
7773
8261
|
# @param ShowCurrCate: 是否只展示当前分类的数据 0不是,1是
|
|
7774
8262
|
# @type ShowCurrCate: Integer
|
|
8263
|
+
# @param EnableScope: 文档生效域;不检索默认为0
|
|
8264
|
+
# @type EnableScope: Integer
|
|
7775
8265
|
|
|
7776
|
-
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId, :FileTypes, :FilterFlag, :ShowCurrCate
|
|
8266
|
+
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId, :FileTypes, :FilterFlag, :ShowCurrCate, :EnableScope
|
|
7777
8267
|
|
|
7778
|
-
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil, querytype=nil, catebizid=nil, filetypes=nil, filterflag=nil, showcurrcate=nil)
|
|
8268
|
+
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil, querytype=nil, catebizid=nil, filetypes=nil, filterflag=nil, showcurrcate=nil, enablescope=nil)
|
|
7779
8269
|
@BotBizId = botbizid
|
|
7780
8270
|
@PageNumber = pagenumber
|
|
7781
8271
|
@PageSize = pagesize
|
|
@@ -7786,6 +8276,7 @@ module TencentCloud
|
|
|
7786
8276
|
@FileTypes = filetypes
|
|
7787
8277
|
@FilterFlag = filterflag
|
|
7788
8278
|
@ShowCurrCate = showcurrcate
|
|
8279
|
+
@EnableScope = enablescope
|
|
7789
8280
|
end
|
|
7790
8281
|
|
|
7791
8282
|
def deserialize(params)
|
|
@@ -7806,6 +8297,7 @@ module TencentCloud
|
|
|
7806
8297
|
end
|
|
7807
8298
|
end
|
|
7808
8299
|
@ShowCurrCate = params['ShowCurrCate']
|
|
8300
|
+
@EnableScope = params['EnableScope']
|
|
7809
8301
|
end
|
|
7810
8302
|
end
|
|
7811
8303
|
|
|
@@ -7902,6 +8394,7 @@ module TencentCloud
|
|
|
7902
8394
|
# ListQACate请求参数结构体
|
|
7903
8395
|
class ListQACateRequest < TencentCloud::Common::AbstractModel
|
|
7904
8396
|
# @param BotBizId: 应用ID
|
|
8397
|
+
# 若要操作共享知识库,传KnowledgeBizId
|
|
7905
8398
|
# @type BotBizId: String
|
|
7906
8399
|
# @param QueryType: 分类查询类型:0-全量查询整棵标签树,1-根据父节点BizId分页查询子节点,2-关键词检索所有匹配的分类链路
|
|
7907
8400
|
# @type QueryType: Integer
|
|
@@ -7965,22 +8458,26 @@ module TencentCloud
|
|
|
7965
8458
|
# ListQA请求参数结构体
|
|
7966
8459
|
class ListQARequest < TencentCloud::Common::AbstractModel
|
|
7967
8460
|
# @param BotBizId: 应用ID
|
|
8461
|
+
# 若要操作共享知识库,传KnowledgeBizId
|
|
7968
8462
|
# @type BotBizId: String
|
|
7969
|
-
# @param PageNumber:
|
|
8463
|
+
# @param PageNumber: 页码(取值范围>0)
|
|
7970
8464
|
# @type PageNumber: Integer
|
|
7971
|
-
# @param PageSize: 每页大小
|
|
8465
|
+
# @param PageSize: 每页大小(取值范围1-200)
|
|
7972
8466
|
# @type PageSize: Integer
|
|
7973
8467
|
# @param Query: 查询问题
|
|
7974
8468
|
|
|
7975
8469
|
# 输入特定标识 lke:system:untagged 将查询所有未关联标签的问答
|
|
7976
8470
|
# @type Query: String
|
|
7977
8471
|
# @param AcceptStatus: 校验状态(1未校验2采纳3不采纳)
|
|
8472
|
+
# 如果不填默认值为空数组,表示不筛选,返回所有状态
|
|
7978
8473
|
# @type AcceptStatus: Array
|
|
7979
8474
|
# @param ReleaseStatus: 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败 12已过期 13超量失效 14超量失效恢复)
|
|
8475
|
+
# 如果不填默认值为空数组,表示不筛选返回所有状态
|
|
7980
8476
|
# @type ReleaseStatus: Array
|
|
7981
8477
|
# @param DocBizId: 文档ID
|
|
7982
8478
|
# @type DocBizId: String
|
|
7983
8479
|
# @param Source: 来源(1 文档生成 2 批量导入 3 手动添加)
|
|
8480
|
+
# 不填默认值为0,表示不过滤,返回所有状态
|
|
7984
8481
|
# @type Source: Integer
|
|
7985
8482
|
# @param QueryAnswer: 查询答案
|
|
7986
8483
|
# @type QueryAnswer: String
|
|
@@ -7989,13 +8486,16 @@ module TencentCloud
|
|
|
7989
8486
|
# @param QaBizIds: QA业务ID列表
|
|
7990
8487
|
# @type QaBizIds: Array
|
|
7991
8488
|
# @param QueryType: 查询类型 filename 名称、 attribute 标签
|
|
8489
|
+
# 如果不填默认值为"filename"
|
|
7992
8490
|
# @type QueryType: String
|
|
7993
8491
|
# @param ShowCurrCate: 是否只展示当前分类的数据 0不是,1是
|
|
7994
8492
|
# @type ShowCurrCate: Integer
|
|
8493
|
+
# @param EnableScope: // 知识生效作用域枚举值 enum RetrievalEnableScope { ENABLE_SCOPE_TYPE_UNKNOWN = 0; // 未知类型 ENABLE_SCOPE_TYPE_NONE = 1; // 停用 ENABLE_SCOPE_TYPE_DEV = 2; // 仅开发域 ENABLE_SCOPE_TYPE_RELEASE = 3; // 仅发布域 ENABLE_SCOPE_TYPE_ALL = 4; // 全域 } 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
|
|
8494
|
+
# @type EnableScope: Integer
|
|
7995
8495
|
|
|
7996
|
-
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :CateBizId, :QaBizIds, :QueryType, :ShowCurrCate
|
|
8496
|
+
attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :CateBizId, :QaBizIds, :QueryType, :ShowCurrCate, :EnableScope
|
|
7997
8497
|
|
|
7998
|
-
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, catebizid=nil, qabizids=nil, querytype=nil, showcurrcate=nil)
|
|
8498
|
+
def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, catebizid=nil, qabizids=nil, querytype=nil, showcurrcate=nil, enablescope=nil)
|
|
7999
8499
|
@BotBizId = botbizid
|
|
8000
8500
|
@PageNumber = pagenumber
|
|
8001
8501
|
@PageSize = pagesize
|
|
@@ -8009,6 +8509,7 @@ module TencentCloud
|
|
|
8009
8509
|
@QaBizIds = qabizids
|
|
8010
8510
|
@QueryType = querytype
|
|
8011
8511
|
@ShowCurrCate = showcurrcate
|
|
8512
|
+
@EnableScope = enablescope
|
|
8012
8513
|
end
|
|
8013
8514
|
|
|
8014
8515
|
def deserialize(params)
|
|
@@ -8025,6 +8526,7 @@ module TencentCloud
|
|
|
8025
8526
|
@QaBizIds = params['QaBizIds']
|
|
8026
8527
|
@QueryType = params['QueryType']
|
|
8027
8528
|
@ShowCurrCate = params['ShowCurrCate']
|
|
8529
|
+
@EnableScope = params['EnableScope']
|
|
8028
8530
|
end
|
|
8029
8531
|
end
|
|
8030
8532
|
|
|
@@ -8125,10 +8627,15 @@ module TencentCloud
|
|
|
8125
8627
|
# @type IsDisabled: Boolean
|
|
8126
8628
|
# @param StaffName: 员工名称
|
|
8127
8629
|
# @type StaffName: String
|
|
8630
|
+
# @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
|
|
8631
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8632
|
+
# @type EnableScope: Integer
|
|
8633
|
+
# @param DocEnableScope: 问答关联的文档生效域
|
|
8634
|
+
# @type DocEnableScope: Integer
|
|
8128
8635
|
|
|
8129
|
-
attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips, :IsDisabled, :StaffName
|
|
8636
|
+
attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips, :IsDisabled, :StaffName, :EnableScope, :DocEnableScope
|
|
8130
8637
|
|
|
8131
|
-
def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil, expirestart=nil, expireend=nil, attrrange=nil, attrlabels=nil, similarquestionnum=nil, similarquestiontips=nil, isdisabled=nil, staffname=nil)
|
|
8638
|
+
def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil, expirestart=nil, expireend=nil, attrrange=nil, attrlabels=nil, similarquestionnum=nil, similarquestiontips=nil, isdisabled=nil, staffname=nil, enablescope=nil, docenablescope=nil)
|
|
8132
8639
|
@QaBizId = qabizid
|
|
8133
8640
|
@Question = question
|
|
8134
8641
|
@Answer = answer
|
|
@@ -8153,6 +8660,8 @@ module TencentCloud
|
|
|
8153
8660
|
@SimilarQuestionTips = similarquestiontips
|
|
8154
8661
|
@IsDisabled = isdisabled
|
|
8155
8662
|
@StaffName = staffname
|
|
8663
|
+
@EnableScope = enablescope
|
|
8664
|
+
@DocEnableScope = docenablescope
|
|
8156
8665
|
end
|
|
8157
8666
|
|
|
8158
8667
|
def deserialize(params)
|
|
@@ -8187,6 +8696,8 @@ module TencentCloud
|
|
|
8187
8696
|
@SimilarQuestionTips = params['SimilarQuestionTips']
|
|
8188
8697
|
@IsDisabled = params['IsDisabled']
|
|
8189
8698
|
@StaffName = params['StaffName']
|
|
8699
|
+
@EnableScope = params['EnableScope']
|
|
8700
|
+
@DocEnableScope = params['DocEnableScope']
|
|
8190
8701
|
end
|
|
8191
8702
|
end
|
|
8192
8703
|
|
|
@@ -8549,10 +9060,14 @@ module TencentCloud
|
|
|
8549
9060
|
# @type SuccessCount: Integer
|
|
8550
9061
|
# @param FailCount: 发布失败数
|
|
8551
9062
|
# @type FailCount: Integer
|
|
9063
|
+
# @param ReleaseVersion: 版本号,格式是 v{date}{time}
|
|
9064
|
+
# @type ReleaseVersion: String
|
|
9065
|
+
# @param CanRollback: 是否可还原
|
|
9066
|
+
# @type CanRollback: Boolean
|
|
8552
9067
|
|
|
8553
|
-
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
|
|
8554
9069
|
|
|
8555
|
-
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)
|
|
8556
9071
|
@ReleaseBizId = releasebizid
|
|
8557
9072
|
@Operator = operator
|
|
8558
9073
|
@Desc = desc
|
|
@@ -8562,6 +9077,8 @@ module TencentCloud
|
|
|
8562
9077
|
@Reason = reason
|
|
8563
9078
|
@SuccessCount = successcount
|
|
8564
9079
|
@FailCount = failcount
|
|
9080
|
+
@ReleaseVersion = releaseversion
|
|
9081
|
+
@CanRollback = canrollback
|
|
8565
9082
|
end
|
|
8566
9083
|
|
|
8567
9084
|
def deserialize(params)
|
|
@@ -8574,6 +9091,8 @@ module TencentCloud
|
|
|
8574
9091
|
@Reason = params['Reason']
|
|
8575
9092
|
@SuccessCount = params['SuccessCount']
|
|
8576
9093
|
@FailCount = params['FailCount']
|
|
9094
|
+
@ReleaseVersion = params['ReleaseVersion']
|
|
9095
|
+
@CanRollback = params['CanRollback']
|
|
8577
9096
|
end
|
|
8578
9097
|
end
|
|
8579
9098
|
|
|
@@ -8658,11 +9177,11 @@ module TencentCloud
|
|
|
8658
9177
|
|
|
8659
9178
|
# ListRelease请求参数结构体
|
|
8660
9179
|
class ListReleaseRequest < TencentCloud::Common::AbstractModel
|
|
8661
|
-
# @param BotBizId: 应用ID
|
|
9180
|
+
# @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
|
|
8662
9181
|
# @type BotBizId: String
|
|
8663
|
-
# @param PageNumber: 页码
|
|
9182
|
+
# @param PageNumber: 页码(必须大于0)
|
|
8664
9183
|
# @type PageNumber: Integer
|
|
8665
|
-
# @param PageSize:
|
|
9184
|
+
# @param PageSize: 每页数量(取值范围为1-200)
|
|
8666
9185
|
# @type PageSize: Integer
|
|
8667
9186
|
|
|
8668
9187
|
attr_accessor :BotBizId, :PageNumber, :PageSize
|
|
@@ -9214,6 +9733,15 @@ module TencentCloud
|
|
|
9214
9733
|
|
|
9215
9734
|
# 模型参数范围
|
|
9216
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
|
|
9217
9745
|
# @param Default: 默认值
|
|
9218
9746
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9219
9747
|
# @type Default: Float
|
|
@@ -9223,24 +9751,27 @@ module TencentCloud
|
|
|
9223
9751
|
# @param Max: 最大值
|
|
9224
9752
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9225
9753
|
# @type Max: Float
|
|
9226
|
-
# @param Name: 超参名称
|
|
9227
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9228
|
-
# @type Name: String
|
|
9229
9754
|
|
|
9230
|
-
attr_accessor :Default, :Min, :Max
|
|
9755
|
+
attr_accessor :Name, :Type, :DefaultValue, :EnumValues, :Default, :Min, :Max
|
|
9231
9756
|
|
|
9232
|
-
def initialize(
|
|
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
|
|
9233
9762
|
@Default = default
|
|
9234
9763
|
@Min = min
|
|
9235
9764
|
@Max = max
|
|
9236
|
-
@Name = name
|
|
9237
9765
|
end
|
|
9238
9766
|
|
|
9239
9767
|
def deserialize(params)
|
|
9768
|
+
@Name = params['Name']
|
|
9769
|
+
@Type = params['Type']
|
|
9770
|
+
@DefaultValue = params['DefaultValue']
|
|
9771
|
+
@EnumValues = params['EnumValues']
|
|
9240
9772
|
@Default = params['Default']
|
|
9241
9773
|
@Min = params['Min']
|
|
9242
9774
|
@Max = params['Max']
|
|
9243
|
-
@Name = params['Name']
|
|
9244
9775
|
end
|
|
9245
9776
|
end
|
|
9246
9777
|
|
|
@@ -9264,10 +9795,18 @@ module TencentCloud
|
|
|
9264
9795
|
# @type StopSequences: Array
|
|
9265
9796
|
# @param ReplyFormat: 输出格式
|
|
9266
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
|
|
9267
9806
|
|
|
9268
|
-
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
|
|
9269
9808
|
|
|
9270
|
-
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)
|
|
9271
9810
|
@Temperature = temperature
|
|
9272
9811
|
@TopP = topp
|
|
9273
9812
|
@Seed = seed
|
|
@@ -9277,6 +9816,8 @@ module TencentCloud
|
|
|
9277
9816
|
@MaxTokens = maxtokens
|
|
9278
9817
|
@StopSequences = stopsequences
|
|
9279
9818
|
@ReplyFormat = replyformat
|
|
9819
|
+
@DeepThinking = deepthinking
|
|
9820
|
+
@ReasoningEffort = reasoningeffort
|
|
9280
9821
|
end
|
|
9281
9822
|
|
|
9282
9823
|
def deserialize(params)
|
|
@@ -9289,14 +9830,16 @@ module TencentCloud
|
|
|
9289
9830
|
@MaxTokens = params['MaxTokens']
|
|
9290
9831
|
@StopSequences = params['StopSequences']
|
|
9291
9832
|
@ReplyFormat = params['ReplyFormat']
|
|
9833
|
+
@DeepThinking = params['DeepThinking']
|
|
9834
|
+
@ReasoningEffort = params['ReasoningEffort']
|
|
9292
9835
|
end
|
|
9293
9836
|
end
|
|
9294
9837
|
|
|
9295
9838
|
# ModifyApp请求参数结构体
|
|
9296
9839
|
class ModifyAppRequest < TencentCloud::Common::AbstractModel
|
|
9297
|
-
# @param AppBizId: 应用
|
|
9840
|
+
# @param AppBizId: 应用ID, 获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
|
|
9298
9841
|
# @type AppBizId: String
|
|
9299
|
-
# @param AppType: 应用类型;knowledge_qa
|
|
9842
|
+
# @param AppType: 应用类型;"knowledge_qa" 知识问答应用(包含标准模式 单工作流 Multi-Agent 等模式)
|
|
9300
9843
|
# @type AppType: String
|
|
9301
9844
|
# @param BaseConfig: 应用基础配置
|
|
9302
9845
|
# @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
|
|
@@ -9530,13 +10073,13 @@ module TencentCloud
|
|
|
9530
10073
|
|
|
9531
10074
|
# ModifyDoc请求参数结构体
|
|
9532
10075
|
class ModifyDocRequest < TencentCloud::Common::AbstractModel
|
|
9533
|
-
# @param BotBizId: 应用ID
|
|
10076
|
+
# @param BotBizId: 应用ID,获取方法参看[如何获取 BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
|
|
9534
10077
|
# @type BotBizId: String
|
|
9535
10078
|
# @param DocBizId: 文档ID
|
|
9536
10079
|
# @type DocBizId: String
|
|
9537
10080
|
# @param IsRefer: 是否引用链接
|
|
9538
10081
|
# @type IsRefer: Boolean
|
|
9539
|
-
# @param AttrRange:
|
|
10082
|
+
# @param AttrRange: 标签适用范围,1:全部,2:按条件。默认为1。
|
|
9540
10083
|
# @type AttrRange: Integer
|
|
9541
10084
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
|
9542
10085
|
# @type LoginUin: String
|
|
@@ -9549,9 +10092,9 @@ module TencentCloud
|
|
|
9549
10092
|
# @param ReferUrlType: 外部引用链接类型 0:系统链接 1:自定义链接
|
|
9550
10093
|
# 值为1时,WebUrl 字段不能为空,否则不生效。
|
|
9551
10094
|
# @type ReferUrlType: Integer
|
|
9552
|
-
# @param ExpireStart:
|
|
10095
|
+
# @param ExpireStart: 有效开始时间,单位为unix时间戳
|
|
9553
10096
|
# @type ExpireStart: String
|
|
9554
|
-
# @param ExpireEnd:
|
|
10097
|
+
# @param ExpireEnd: 有效结束时间,单位为unix时间戳,默认值为0代表永久有效
|
|
9555
10098
|
# @type ExpireEnd: String
|
|
9556
10099
|
# @param CateBizId: 分类ID
|
|
9557
10100
|
# @type CateBizId: String
|
|
@@ -9563,10 +10106,13 @@ module TencentCloud
|
|
|
9563
10106
|
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
|
9564
10107
|
# @param SplitRule: 自定义切分规则
|
|
9565
10108
|
# @type SplitRule: String
|
|
10109
|
+
# @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。
|
|
10110
|
+
# 若不传,则不会修改文档生效域。
|
|
10111
|
+
# @type EnableScope: Integer
|
|
9566
10112
|
|
|
9567
|
-
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload, :ModifyTypes, :UpdatePeriodInfo, :SplitRule
|
|
10113
|
+
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload, :ModifyTypes, :UpdatePeriodInfo, :SplitRule, :EnableScope
|
|
9568
10114
|
|
|
9569
|
-
def initialize(botbizid=nil, docbizid=nil, isrefer=nil, attrrange=nil, loginuin=nil, loginsubaccountuin=nil, attrlabels=nil, weburl=nil, referurltype=nil, expirestart=nil, expireend=nil, catebizid=nil, isdownload=nil, modifytypes=nil, updateperiodinfo=nil, splitrule=nil)
|
|
10115
|
+
def initialize(botbizid=nil, docbizid=nil, isrefer=nil, attrrange=nil, loginuin=nil, loginsubaccountuin=nil, attrlabels=nil, weburl=nil, referurltype=nil, expirestart=nil, expireend=nil, catebizid=nil, isdownload=nil, modifytypes=nil, updateperiodinfo=nil, splitrule=nil, enablescope=nil)
|
|
9570
10116
|
@BotBizId = botbizid
|
|
9571
10117
|
@DocBizId = docbizid
|
|
9572
10118
|
@IsRefer = isrefer
|
|
@@ -9583,6 +10129,7 @@ module TencentCloud
|
|
|
9583
10129
|
@ModifyTypes = modifytypes
|
|
9584
10130
|
@UpdatePeriodInfo = updateperiodinfo
|
|
9585
10131
|
@SplitRule = splitrule
|
|
10132
|
+
@EnableScope = enablescope
|
|
9586
10133
|
end
|
|
9587
10134
|
|
|
9588
10135
|
def deserialize(params)
|
|
@@ -9612,6 +10159,7 @@ module TencentCloud
|
|
|
9612
10159
|
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
|
9613
10160
|
end
|
|
9614
10161
|
@SplitRule = params['SplitRule']
|
|
10162
|
+
@EnableScope = params['EnableScope']
|
|
9615
10163
|
end
|
|
9616
10164
|
end
|
|
9617
10165
|
|
|
@@ -9725,6 +10273,7 @@ module TencentCloud
|
|
|
9725
10273
|
# ModifyQA请求参数结构体
|
|
9726
10274
|
class ModifyQARequest < TencentCloud::Common::AbstractModel
|
|
9727
10275
|
# @param BotBizId: 应用ID
|
|
10276
|
+
# 若要操作共享知识库,传KnowledgeBizId
|
|
9728
10277
|
# @type BotBizId: String
|
|
9729
10278
|
# @param QaBizId: 问答ID
|
|
9730
10279
|
# @type QaBizId: String
|
|
@@ -9735,6 +10284,8 @@ module TencentCloud
|
|
|
9735
10284
|
# @param CustomParam: 自定义参数
|
|
9736
10285
|
# @type CustomParam: String
|
|
9737
10286
|
# @param AttrRange: 标签适用范围 1:全部,2:按条件
|
|
10287
|
+
# 默认值:当没有属性标签,labelRefers为空时,默认值为1
|
|
10288
|
+
# 有属性标签,labelRefers不为空,默认值为2
|
|
9738
10289
|
# @type AttrRange: Integer
|
|
9739
10290
|
# @param AttrLabels: 标签引用
|
|
9740
10291
|
# @type AttrLabels: Array
|
|
@@ -9742,18 +10293,20 @@ module TencentCloud
|
|
|
9742
10293
|
# @type DocBizId: String
|
|
9743
10294
|
# @param CateBizId: 分类ID
|
|
9744
10295
|
# @type CateBizId: String
|
|
9745
|
-
# @param ExpireStart:
|
|
10296
|
+
# @param ExpireStart: 有效开始时间,单位是unix时间戳,默认值为0,代表永久有效
|
|
9746
10297
|
# @type ExpireStart: String
|
|
9747
|
-
# @param ExpireEnd:
|
|
10298
|
+
# @param ExpireEnd: 有效结束时间,单位是unix时间戳,默认值为0,代表永久有效
|
|
9748
10299
|
# @type ExpireEnd: String
|
|
9749
10300
|
# @param SimilarQuestionModify: 相似问修改信息(相似问没有修改则不传)
|
|
9750
10301
|
# @type SimilarQuestionModify: :class:`Tencentcloud::Lke.v20231130.models.SimilarQuestionModify`
|
|
9751
10302
|
# @param QuestionDesc: 问题描述
|
|
9752
10303
|
# @type QuestionDesc: String
|
|
10304
|
+
# @param EnableScope: 问答生效范围: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。若不传该字段,则不修改问答的生效范围。
|
|
10305
|
+
# @type EnableScope: Integer
|
|
9753
10306
|
|
|
9754
|
-
attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify, :QuestionDesc
|
|
10307
|
+
attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify, :QuestionDesc, :EnableScope
|
|
9755
10308
|
|
|
9756
|
-
def initialize(botbizid=nil, qabizid=nil, question=nil, answer=nil, customparam=nil, attrrange=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestionmodify=nil, questiondesc=nil)
|
|
10309
|
+
def initialize(botbizid=nil, qabizid=nil, question=nil, answer=nil, customparam=nil, attrrange=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestionmodify=nil, questiondesc=nil, enablescope=nil)
|
|
9757
10310
|
@BotBizId = botbizid
|
|
9758
10311
|
@QaBizId = qabizid
|
|
9759
10312
|
@Question = question
|
|
@@ -9767,6 +10320,7 @@ module TencentCloud
|
|
|
9767
10320
|
@ExpireEnd = expireend
|
|
9768
10321
|
@SimilarQuestionModify = similarquestionmodify
|
|
9769
10322
|
@QuestionDesc = questiondesc
|
|
10323
|
+
@EnableScope = enablescope
|
|
9770
10324
|
end
|
|
9771
10325
|
|
|
9772
10326
|
def deserialize(params)
|
|
@@ -9793,6 +10347,7 @@ module TencentCloud
|
|
|
9793
10347
|
@SimilarQuestionModify.deserialize(params['SimilarQuestionModify'])
|
|
9794
10348
|
end
|
|
9795
10349
|
@QuestionDesc = params['QuestionDesc']
|
|
10350
|
+
@EnableScope = params['EnableScope']
|
|
9796
10351
|
end
|
|
9797
10352
|
end
|
|
9798
10353
|
|
|
@@ -9819,7 +10374,7 @@ module TencentCloud
|
|
|
9819
10374
|
# @param Question: 拒答问题
|
|
9820
10375
|
|
|
9821
10376
|
# @type Question: String
|
|
9822
|
-
# @param RejectedBizId: 拒答问题来源的数据源唯一id,
|
|
10377
|
+
# @param RejectedBizId: 拒答问题来源的数据源唯一id, 通过调用ListRejectedQuestion接口获取
|
|
9823
10378
|
|
|
9824
10379
|
|
|
9825
10380
|
# @type RejectedBizId: String
|
|
@@ -9972,10 +10527,16 @@ module TencentCloud
|
|
|
9972
10527
|
# @param WorkFlow: 工作流信息
|
|
9973
10528
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9974
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`
|
|
9975
10536
|
|
|
9976
|
-
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
|
|
9977
10538
|
|
|
9978
|
-
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)
|
|
9979
10540
|
@Content = content
|
|
9980
10541
|
@SessionId = sessionid
|
|
9981
10542
|
@RecordId = recordid
|
|
@@ -10002,6 +10563,8 @@ module TencentCloud
|
|
|
10002
10563
|
@AgentThought = agentthought
|
|
10003
10564
|
@ExtraInfo = extrainfo
|
|
10004
10565
|
@WorkFlow = workflow
|
|
10566
|
+
@Widgets = widgets
|
|
10567
|
+
@WidgetAction = widgetaction
|
|
10005
10568
|
end
|
|
10006
10569
|
|
|
10007
10570
|
def deserialize(params)
|
|
@@ -10067,6 +10630,18 @@ module TencentCloud
|
|
|
10067
10630
|
@WorkFlow = WorkflowInfo.new
|
|
10068
10631
|
@WorkFlow.deserialize(params['WorkFlow'])
|
|
10069
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
|
|
10070
10645
|
end
|
|
10071
10646
|
end
|
|
10072
10647
|
|
|
@@ -10387,6 +10962,37 @@ module TencentCloud
|
|
|
10387
10962
|
end
|
|
10388
10963
|
end
|
|
10389
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
|
+
|
|
10390
10996
|
# 参数配置列表
|
|
10391
10997
|
class ParameterConfig < TencentCloud::Common::AbstractModel
|
|
10392
10998
|
# @param Name: 字段名称
|
|
@@ -10802,6 +11408,37 @@ module TencentCloud
|
|
|
10802
11408
|
end
|
|
10803
11409
|
end
|
|
10804
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
|
+
|
|
10805
11442
|
# 搜索引擎参考来源索引
|
|
10806
11443
|
class QuoteInfo < TencentCloud::Common::AbstractModel
|
|
10807
11444
|
# @param Position: 参考来源位置
|
|
@@ -11376,9 +12013,9 @@ module TencentCloud
|
|
|
11376
12013
|
|
|
11377
12014
|
# RetryRelease请求参数结构体
|
|
11378
12015
|
class RetryReleaseRequest < TencentCloud::Common::AbstractModel
|
|
11379
|
-
# @param BotBizId:
|
|
12016
|
+
# @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
|
|
11380
12017
|
# @type BotBizId: String
|
|
11381
|
-
# @param ReleaseBizId:
|
|
12018
|
+
# @param ReleaseBizId: 发布单ID(可以通过[ListRelease](https://cloud.tencent.com/document/product/1759/105077)获得)
|
|
11382
12019
|
# @type ReleaseBizId: String
|
|
11383
12020
|
|
|
11384
12021
|
attr_accessor :BotBizId, :ReleaseBizId
|
|
@@ -11457,11 +12094,38 @@ module TencentCloud
|
|
|
11457
12094
|
end
|
|
11458
12095
|
end
|
|
11459
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
|
+
|
|
11460
12124
|
# SaveDoc请求参数结构体
|
|
11461
12125
|
class SaveDocRequest < TencentCloud::Common::AbstractModel
|
|
11462
|
-
# @param BotBizId: 应用ID
|
|
12126
|
+
# @param BotBizId: 应用ID,获取方法参看[如何获取 BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
|
|
11463
12127
|
# @type BotBizId: String
|
|
11464
|
-
# @param FileName:
|
|
12128
|
+
# @param FileName: 文件名,需要包含文件扩展名
|
|
11465
12129
|
# @type FileName: String
|
|
11466
12130
|
# @param FileType: 文档支持下面类型
|
|
11467
12131
|
# pdf、doc、docx、ppt、mhtml、pptx、wps、ppsx,单个文件不超过200MB;
|
|
@@ -11482,7 +12146,7 @@ module TencentCloud
|
|
|
11482
12146
|
# @type CosHash: String
|
|
11483
12147
|
# @param Size: 文件大小
|
|
11484
12148
|
# @type Size: String
|
|
11485
|
-
# @param AttrRange:
|
|
12149
|
+
# @param AttrRange: 标签适用范围,1:全部,2:按条件。默认为1。
|
|
11486
12150
|
# @type AttrRange: Integer
|
|
11487
12151
|
# @param Source: 来源(0 从本地文档导入),默认值为0
|
|
11488
12152
|
# @type Source: Integer
|
|
@@ -11493,13 +12157,13 @@ module TencentCloud
|
|
|
11493
12157
|
# @param ReferUrlType: 外部引用链接类型 0:系统链接 1:自定义链接
|
|
11494
12158
|
# 值为1时,WebUrl 字段不能为空,否则不生效。
|
|
11495
12159
|
# @type ReferUrlType: Integer
|
|
11496
|
-
# @param ExpireStart: 有效开始时间,unix
|
|
12160
|
+
# @param ExpireStart: 有效开始时间,unix秒级时间戳,默认为0
|
|
11497
12161
|
# @type ExpireStart: String
|
|
11498
|
-
# @param ExpireEnd: 有效结束时间,unix
|
|
12162
|
+
# @param ExpireEnd: 有效结束时间,unix秒级时间戳,默认为0代表永久有效
|
|
11499
12163
|
# @type ExpireEnd: String
|
|
11500
|
-
# @param IsRefer:
|
|
12164
|
+
# @param IsRefer: 是否显示引用的文档来源(false不显示 true显示)默认false
|
|
11501
12165
|
# @type IsRefer: Boolean
|
|
11502
|
-
# @param Opt: 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档) 默认为
|
|
12166
|
+
# @param Opt: 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档) 默认为2 <br> 请注意,opt=1的时候请从腾讯云智能体开发平台页面下载excel模板
|
|
11503
12167
|
# @type Opt: Integer
|
|
11504
12168
|
# @param CateBizId: 分类ID
|
|
11505
12169
|
# @type CateBizId: String
|
|
@@ -11593,12 +12257,15 @@ module TencentCloud
|
|
|
11593
12257
|
# |--------------|--------|----------------------------------------------------------------------|
|
|
11594
12258
|
# | `table_style` | String | 指定表格内容的输出格式。可用值:<br>• `"html"`:以 HTML 表格形式返回,适合网页展示。<br>• `"md"`:以 Markdown 表格语法返回,适合文档或 Markdown 渲染环境。|
|
|
11595
12259
|
# @type SplitRule: String
|
|
11596
|
-
# @param UpdatePeriodInfo:
|
|
12260
|
+
# @param UpdatePeriodInfo: 文档更新频率,默认值为0不更新
|
|
11597
12261
|
# @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
|
|
12262
|
+
# @param EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
|
|
12263
|
+
# 默认值:应用内默认知识库为2,共享知识库为4。
|
|
12264
|
+
# @type EnableScope: Integer
|
|
11598
12265
|
|
|
11599
|
-
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId, :IsDownload, :DuplicateFileHandles, :SplitRule, :UpdatePeriodInfo
|
|
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
|
|
11600
12267
|
|
|
11601
|
-
def initialize(botbizid=nil, filename=nil, filetype=nil, cosurl=nil, etag=nil, coshash=nil, size=nil, attrrange=nil, source=nil, weburl=nil, attrlabels=nil, referurltype=nil, expirestart=nil, expireend=nil, isrefer=nil, opt=nil, catebizid=nil, isdownload=nil, duplicatefilehandles=nil, splitrule=nil, updateperiodinfo=nil)
|
|
12268
|
+
def initialize(botbizid=nil, filename=nil, filetype=nil, cosurl=nil, etag=nil, coshash=nil, size=nil, attrrange=nil, source=nil, weburl=nil, attrlabels=nil, referurltype=nil, expirestart=nil, expireend=nil, isrefer=nil, opt=nil, catebizid=nil, isdownload=nil, duplicatefilehandles=nil, splitrule=nil, updateperiodinfo=nil, enablescope=nil)
|
|
11602
12269
|
@BotBizId = botbizid
|
|
11603
12270
|
@FileName = filename
|
|
11604
12271
|
@FileType = filetype
|
|
@@ -11620,6 +12287,7 @@ module TencentCloud
|
|
|
11620
12287
|
@DuplicateFileHandles = duplicatefilehandles
|
|
11621
12288
|
@SplitRule = splitrule
|
|
11622
12289
|
@UpdatePeriodInfo = updateperiodinfo
|
|
12290
|
+
@EnableScope = enablescope
|
|
11623
12291
|
end
|
|
11624
12292
|
|
|
11625
12293
|
def deserialize(params)
|
|
@@ -11661,6 +12329,7 @@ module TencentCloud
|
|
|
11661
12329
|
@UpdatePeriodInfo = UpdatePeriodInfo.new
|
|
11662
12330
|
@UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
|
|
11663
12331
|
end
|
|
12332
|
+
@EnableScope = params['EnableScope']
|
|
11664
12333
|
end
|
|
11665
12334
|
end
|
|
11666
12335
|
|
|
@@ -12368,6 +13037,41 @@ module TencentCloud
|
|
|
12368
13037
|
end
|
|
12369
13038
|
end
|
|
12370
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
|
+
|
|
12371
13075
|
# 不满意回复
|
|
12372
13076
|
class UnsatisfiedReply < TencentCloud::Common::AbstractModel
|
|
12373
13077
|
# @param ReplyBizId: 不满意回复ID
|
|
@@ -12773,6 +13477,150 @@ module TencentCloud
|
|
|
12773
13477
|
end
|
|
12774
13478
|
end
|
|
12775
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
|
+
|
|
12776
13624
|
# 工作流程调试信息
|
|
12777
13625
|
class WorkFlowSummary < TencentCloud::Common::AbstractModel
|
|
12778
13626
|
# @param WorkflowId: 工作流ID
|
|
@@ -12800,10 +13648,13 @@ module TencentCloud
|
|
|
12800
13648
|
# @type PendingMessages: Array
|
|
12801
13649
|
# @param OptionCardIndex: 选项卡索引
|
|
12802
13650
|
# @type OptionCardIndex: :class:`Tencentcloud::Lke.v20231130.models.OptionCardIndex`
|
|
13651
|
+
# @param Contents: 工作流多气泡输出
|
|
13652
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
13653
|
+
# @type Contents: Array
|
|
12803
13654
|
|
|
12804
|
-
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex
|
|
13655
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime, :PendingMessages, :OptionCardIndex, :Contents
|
|
12805
13656
|
|
|
12806
|
-
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)
|
|
12807
13658
|
@WorkflowId = workflowid
|
|
12808
13659
|
@WorkflowName = workflowname
|
|
12809
13660
|
@WorkflowRunId = workflowrunid
|
|
@@ -12813,6 +13664,7 @@ module TencentCloud
|
|
|
12813
13664
|
@WorkflowReleaseTime = workflowreleasetime
|
|
12814
13665
|
@PendingMessages = pendingmessages
|
|
12815
13666
|
@OptionCardIndex = optioncardindex
|
|
13667
|
+
@Contents = contents
|
|
12816
13668
|
end
|
|
12817
13669
|
|
|
12818
13670
|
def deserialize(params)
|
|
@@ -12835,6 +13687,14 @@ module TencentCloud
|
|
|
12835
13687
|
@OptionCardIndex = OptionCardIndex.new
|
|
12836
13688
|
@OptionCardIndex.deserialize(params['OptionCardIndex'])
|
|
12837
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
|
|
12838
13698
|
end
|
|
12839
13699
|
end
|
|
12840
13700
|
|
|
@@ -12858,16 +13718,20 @@ module TencentCloud
|
|
|
12858
13718
|
# @param WorkflowReleaseTime: 工作流发布时间,unix时间戳
|
|
12859
13719
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12860
13720
|
# @type WorkflowReleaseTime: String
|
|
13721
|
+
# @param Contents: 工作流多气泡输出
|
|
13722
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
13723
|
+
# @type Contents: Array
|
|
12861
13724
|
|
|
12862
|
-
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :OptionCards, :Outputs, :WorkflowReleaseTime
|
|
13725
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :OptionCards, :Outputs, :WorkflowReleaseTime, :Contents
|
|
12863
13726
|
|
|
12864
|
-
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)
|
|
12865
13728
|
@WorkflowId = workflowid
|
|
12866
13729
|
@WorkflowName = workflowname
|
|
12867
13730
|
@WorkflowRunId = workflowrunid
|
|
12868
13731
|
@OptionCards = optioncards
|
|
12869
13732
|
@Outputs = outputs
|
|
12870
13733
|
@WorkflowReleaseTime = workflowreleasetime
|
|
13734
|
+
@Contents = contents
|
|
12871
13735
|
end
|
|
12872
13736
|
|
|
12873
13737
|
def deserialize(params)
|
|
@@ -12877,6 +13741,14 @@ module TencentCloud
|
|
|
12877
13741
|
@OptionCards = params['OptionCards']
|
|
12878
13742
|
@Outputs = params['Outputs']
|
|
12879
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
|
|
12880
13752
|
end
|
|
12881
13753
|
end
|
|
12882
13754
|
|