tencentcloud-sdk-lke 3.0.1062 → 3.0.1063
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/models.rb +268 -25
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b74af37a1c6baa3fbcd1f27d9bde75749253a881
|
4
|
+
data.tar.gz: 0938735ad8a8a70a7df82c9a58ccf016690d5379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b04572e05c04fe3dbfbee8d4d2e3dce6353cf95384a137f3f66adcbc4cddae298df7bc6f55dee91186161daf141d17fcde3adbbffdeb4faa2eb0bbb4168de7a0
|
7
|
+
data.tar.gz: d6e4db0eca8495a2d62136729871dc68d15a00eb8b523dca3d5554427e20dca16a0501ca6a9fc1dfceb0c0956df89dbb183d2b6efe351524acc1ab334e407598
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1063
|
data/lib/v20231130/models.rb
CHANGED
@@ -17,6 +17,49 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Lke
|
19
19
|
module V20231130
|
20
|
+
# 智能通话
|
21
|
+
class AICallConfig < TencentCloud::Common::AbstractModel
|
22
|
+
# @param EnableVoiceInteract: 启用语音互动功能
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type EnableVoiceInteract: Boolean
|
25
|
+
# @param EnableVoiceCall: 启用语音通话
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type EnableVoiceCall: Boolean
|
28
|
+
# @param EnableDigitalHuman: 启用数智人
|
29
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
# @type EnableDigitalHuman: Boolean
|
31
|
+
# @param Voice: 音色配置
|
32
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
# @type Voice: :class:`Tencentcloud::Lke.v20231130.models.VoiceConfig`
|
34
|
+
# @param DigitalHuman: 数智人配置
|
35
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
36
|
+
# @type DigitalHuman: :class:`Tencentcloud::Lke.v20231130.models.DigitalHumanConfig`
|
37
|
+
|
38
|
+
attr_accessor :EnableVoiceInteract, :EnableVoiceCall, :EnableDigitalHuman, :Voice, :DigitalHuman
|
39
|
+
|
40
|
+
def initialize(enablevoiceinteract=nil, enablevoicecall=nil, enabledigitalhuman=nil, voice=nil, digitalhuman=nil)
|
41
|
+
@EnableVoiceInteract = enablevoiceinteract
|
42
|
+
@EnableVoiceCall = enablevoicecall
|
43
|
+
@EnableDigitalHuman = enabledigitalhuman
|
44
|
+
@Voice = voice
|
45
|
+
@DigitalHuman = digitalhuman
|
46
|
+
end
|
47
|
+
|
48
|
+
def deserialize(params)
|
49
|
+
@EnableVoiceInteract = params['EnableVoiceInteract']
|
50
|
+
@EnableVoiceCall = params['EnableVoiceCall']
|
51
|
+
@EnableDigitalHuman = params['EnableDigitalHuman']
|
52
|
+
unless params['Voice'].nil?
|
53
|
+
@Voice = VoiceConfig.new
|
54
|
+
@Voice.deserialize(params['Voice'])
|
55
|
+
end
|
56
|
+
unless params['DigitalHuman'].nil?
|
57
|
+
@DigitalHuman = DigitalHumanConfig.new
|
58
|
+
@DigitalHuman.deserialize(params['DigitalHuman'])
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
20
63
|
# Agent调试信息
|
21
64
|
class AgentDebugInfo < TencentCloud::Common::AbstractModel
|
22
65
|
# @param Input: 工具、大模型的输入信息,json
|
@@ -80,10 +123,13 @@ module TencentCloud
|
|
80
123
|
# @param TargetAgentName: 挂号agent
|
81
124
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
82
125
|
# @type TargetAgentName: String
|
126
|
+
# @param AgentIcon: Agent的图标
|
127
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
128
|
+
# @type AgentIcon: String
|
83
129
|
|
84
|
-
attr_accessor :Index, :Name, :Title, :Status, :Icon, :Debugging, :Switch, :WorkflowName, :Elapsed, :NodeName, :ReplyIndex, :SourceAgentName, :TargetAgentName
|
130
|
+
attr_accessor :Index, :Name, :Title, :Status, :Icon, :Debugging, :Switch, :WorkflowName, :Elapsed, :NodeName, :ReplyIndex, :SourceAgentName, :TargetAgentName, :AgentIcon
|
85
131
|
|
86
|
-
def initialize(index=nil, name=nil, title=nil, status=nil, icon=nil, debugging=nil, switch=nil, workflowname=nil, elapsed=nil, nodename=nil, replyindex=nil, sourceagentname=nil, targetagentname=nil)
|
132
|
+
def initialize(index=nil, name=nil, title=nil, status=nil, icon=nil, debugging=nil, switch=nil, workflowname=nil, elapsed=nil, nodename=nil, replyindex=nil, sourceagentname=nil, targetagentname=nil, agenticon=nil)
|
87
133
|
@Index = index
|
88
134
|
@Name = name
|
89
135
|
@Title = title
|
@@ -97,6 +143,7 @@ module TencentCloud
|
|
97
143
|
@ReplyIndex = replyindex
|
98
144
|
@SourceAgentName = sourceagentname
|
99
145
|
@TargetAgentName = targetagentname
|
146
|
+
@AgentIcon = agenticon
|
100
147
|
end
|
101
148
|
|
102
149
|
def deserialize(params)
|
@@ -116,6 +163,7 @@ module TencentCloud
|
|
116
163
|
@ReplyIndex = params['ReplyIndex']
|
117
164
|
@SourceAgentName = params['SourceAgentName']
|
118
165
|
@TargetAgentName = params['TargetAgentName']
|
166
|
+
@AgentIcon = params['AgentIcon']
|
119
167
|
end
|
120
168
|
end
|
121
169
|
|
@@ -136,15 +184,27 @@ module TencentCloud
|
|
136
184
|
# @param References: 具体的参考来源
|
137
185
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
138
186
|
# @type References: Array
|
187
|
+
# @param DisplayStatus: 展示正在执行的状态
|
188
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
189
|
+
# @type DisplayStatus: String
|
190
|
+
# @param SandboxUrl: 云桌面的URL地址
|
191
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
192
|
+
# @type SandboxUrl: String
|
193
|
+
# @param DisplayUrl: 云桌面里面通过浏览器打开的URL地址
|
194
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
195
|
+
# @type DisplayUrl: String
|
139
196
|
|
140
|
-
attr_accessor :Content, :DisplayContent, :DisplayType, :QuoteInfos, :References
|
197
|
+
attr_accessor :Content, :DisplayContent, :DisplayType, :QuoteInfos, :References, :DisplayStatus, :SandboxUrl, :DisplayUrl
|
141
198
|
|
142
|
-
def initialize(content=nil, displaycontent=nil, displaytype=nil, quoteinfos=nil, references=nil)
|
199
|
+
def initialize(content=nil, displaycontent=nil, displaytype=nil, quoteinfos=nil, references=nil, displaystatus=nil, sandboxurl=nil, displayurl=nil)
|
143
200
|
@Content = content
|
144
201
|
@DisplayContent = displaycontent
|
145
202
|
@DisplayType = displaytype
|
146
203
|
@QuoteInfos = quoteinfos
|
147
204
|
@References = references
|
205
|
+
@DisplayStatus = displaystatus
|
206
|
+
@SandboxUrl = sandboxurl
|
207
|
+
@DisplayUrl = displayurl
|
148
208
|
end
|
149
209
|
|
150
210
|
def deserialize(params)
|
@@ -167,6 +227,9 @@ module TencentCloud
|
|
167
227
|
@References << agentreference_tmp
|
168
228
|
end
|
169
229
|
end
|
230
|
+
@DisplayStatus = params['DisplayStatus']
|
231
|
+
@SandboxUrl = params['SandboxUrl']
|
232
|
+
@DisplayUrl = params['DisplayUrl']
|
170
233
|
end
|
171
234
|
end
|
172
235
|
|
@@ -258,10 +321,13 @@ module TencentCloud
|
|
258
321
|
# @param TraceId: TraceId
|
259
322
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
260
323
|
# @type TraceId: String
|
324
|
+
# @param Files: 文件信息
|
325
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
326
|
+
# @type Files: Array
|
261
327
|
|
262
|
-
attr_accessor :SessionId, :RequestId, :RecordId, :Elapsed, :IsWorkflow, :WorkflowName, :Procedures, :TraceId
|
328
|
+
attr_accessor :SessionId, :RequestId, :RecordId, :Elapsed, :IsWorkflow, :WorkflowName, :Procedures, :TraceId, :Files
|
263
329
|
|
264
|
-
def initialize(sessionid=nil, requestid=nil, recordid=nil, elapsed=nil, isworkflow=nil, workflowname=nil, procedures=nil, traceid=nil)
|
330
|
+
def initialize(sessionid=nil, requestid=nil, recordid=nil, elapsed=nil, isworkflow=nil, workflowname=nil, procedures=nil, traceid=nil, files=nil)
|
265
331
|
@SessionId = sessionid
|
266
332
|
@RequestId = requestid
|
267
333
|
@RecordId = recordid
|
@@ -270,6 +336,7 @@ module TencentCloud
|
|
270
336
|
@WorkflowName = workflowname
|
271
337
|
@Procedures = procedures
|
272
338
|
@TraceId = traceid
|
339
|
+
@Files = files
|
273
340
|
end
|
274
341
|
|
275
342
|
def deserialize(params)
|
@@ -288,6 +355,14 @@ module TencentCloud
|
|
288
355
|
end
|
289
356
|
end
|
290
357
|
@TraceId = params['TraceId']
|
358
|
+
unless params['Files'].nil?
|
359
|
+
@Files = []
|
360
|
+
params['Files'].each do |i|
|
361
|
+
fileinfo_tmp = FileInfo.new
|
362
|
+
fileinfo_tmp.deserialize(i)
|
363
|
+
@Files << fileinfo_tmp
|
364
|
+
end
|
365
|
+
end
|
291
366
|
end
|
292
367
|
end
|
293
368
|
|
@@ -1713,19 +1788,24 @@ module TencentCloud
|
|
1713
1788
|
# @param TmpSecretKey: 临时证书密钥Key
|
1714
1789
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1715
1790
|
# @type TmpSecretKey: String
|
1791
|
+
# @param AppId: 临时证书appid
|
1792
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1793
|
+
# @type AppId: Integer
|
1716
1794
|
|
1717
|
-
attr_accessor :Token, :TmpSecretId, :TmpSecretKey
|
1795
|
+
attr_accessor :Token, :TmpSecretId, :TmpSecretKey, :AppId
|
1718
1796
|
|
1719
|
-
def initialize(token=nil, tmpsecretid=nil, tmpsecretkey=nil)
|
1797
|
+
def initialize(token=nil, tmpsecretid=nil, tmpsecretkey=nil, appid=nil)
|
1720
1798
|
@Token = token
|
1721
1799
|
@TmpSecretId = tmpsecretid
|
1722
1800
|
@TmpSecretKey = tmpsecretkey
|
1801
|
+
@AppId = appid
|
1723
1802
|
end
|
1724
1803
|
|
1725
1804
|
def deserialize(params)
|
1726
1805
|
@Token = params['Token']
|
1727
1806
|
@TmpSecretId = params['TmpSecretId']
|
1728
1807
|
@TmpSecretKey = params['TmpSecretKey']
|
1808
|
+
@AppId = params['AppId']
|
1729
1809
|
end
|
1730
1810
|
end
|
1731
1811
|
|
@@ -3480,6 +3560,30 @@ module TencentCloud
|
|
3480
3560
|
end
|
3481
3561
|
end
|
3482
3562
|
|
3563
|
+
# 数智人配置
|
3564
|
+
class DigitalHumanConfig < TencentCloud::Common::AbstractModel
|
3565
|
+
# @param AssetKey: 数智人资产key
|
3566
|
+
# @type AssetKey: String
|
3567
|
+
# @param Name: 数智人名称
|
3568
|
+
# @type Name: String
|
3569
|
+
# @param Avatar: 图像
|
3570
|
+
# @type Avatar: String
|
3571
|
+
|
3572
|
+
attr_accessor :AssetKey, :Name, :Avatar
|
3573
|
+
|
3574
|
+
def initialize(assetkey=nil, name=nil, avatar=nil)
|
3575
|
+
@AssetKey = assetkey
|
3576
|
+
@Name = name
|
3577
|
+
@Avatar = avatar
|
3578
|
+
end
|
3579
|
+
|
3580
|
+
def deserialize(params)
|
3581
|
+
@AssetKey = params['AssetKey']
|
3582
|
+
@Name = params['Name']
|
3583
|
+
@Avatar = params['Avatar']
|
3584
|
+
end
|
3585
|
+
end
|
3586
|
+
|
3483
3587
|
# 文档列表筛选标识位
|
3484
3588
|
class DocFilterFlag < TencentCloud::Common::AbstractModel
|
3485
3589
|
# @param Flag: 标识位
|
@@ -3882,15 +3986,19 @@ module TencentCloud
|
|
3882
3986
|
# @param DocId: 解析后返回的DocID
|
3883
3987
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3884
3988
|
# @type DocId: String
|
3989
|
+
# @param CreatedAt: 创建时间
|
3990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3991
|
+
# @type CreatedAt: String
|
3885
3992
|
|
3886
|
-
attr_accessor :FileName, :FileSize, :FileUrl, :FileType, :DocId
|
3993
|
+
attr_accessor :FileName, :FileSize, :FileUrl, :FileType, :DocId, :CreatedAt
|
3887
3994
|
|
3888
|
-
def initialize(filename=nil, filesize=nil, fileurl=nil, filetype=nil, docid=nil)
|
3995
|
+
def initialize(filename=nil, filesize=nil, fileurl=nil, filetype=nil, docid=nil, createdat=nil)
|
3889
3996
|
@FileName = filename
|
3890
3997
|
@FileSize = filesize
|
3891
3998
|
@FileUrl = fileurl
|
3892
3999
|
@FileType = filetype
|
3893
4000
|
@DocId = docid
|
4001
|
+
@CreatedAt = createdat
|
3894
4002
|
end
|
3895
4003
|
|
3896
4004
|
def deserialize(params)
|
@@ -3899,6 +4007,7 @@ module TencentCloud
|
|
3899
4007
|
@FileUrl = params['FileUrl']
|
3900
4008
|
@FileType = params['FileType']
|
3901
4009
|
@DocId = params['DocId']
|
4010
|
+
@CreatedAt = params['CreatedAt']
|
3902
4011
|
end
|
3903
4012
|
end
|
3904
4013
|
|
@@ -5129,10 +5238,13 @@ module TencentCloud
|
|
5129
5238
|
# @param ImageTextRetrieval: 是否开启图文检索
|
5130
5239
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5131
5240
|
# @type ImageTextRetrieval: Boolean
|
5241
|
+
# @param AiCall: 配置语音通话参数
|
5242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5243
|
+
# @type AiCall: :class:`Tencentcloud::Lke.v20231130.models.AICallConfig`
|
5132
5244
|
|
5133
|
-
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval
|
5245
|
+
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval, :AiCall
|
5134
5246
|
|
5135
|
-
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil, pattern=nil, searchstrategy=nil, singleworkflow=nil, plugins=nil, thoughtmodel=nil, intentachievements=nil, imagetextretrieval=nil)
|
5247
|
+
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil, pattern=nil, searchstrategy=nil, singleworkflow=nil, plugins=nil, thoughtmodel=nil, intentachievements=nil, imagetextretrieval=nil, aicall=nil)
|
5136
5248
|
@Greeting = greeting
|
5137
5249
|
@RoleDescription = roledescription
|
5138
5250
|
@Model = model
|
@@ -5147,6 +5259,7 @@ module TencentCloud
|
|
5147
5259
|
@ThoughtModel = thoughtmodel
|
5148
5260
|
@IntentAchievements = intentachievements
|
5149
5261
|
@ImageTextRetrieval = imagetextretrieval
|
5262
|
+
@AiCall = aicall
|
5150
5263
|
end
|
5151
5264
|
|
5152
5265
|
def deserialize(params)
|
@@ -5206,6 +5319,10 @@ module TencentCloud
|
|
5206
5319
|
end
|
5207
5320
|
end
|
5208
5321
|
@ImageTextRetrieval = params['ImageTextRetrieval']
|
5322
|
+
unless params['AiCall'].nil?
|
5323
|
+
@AiCall = AICallConfig.new
|
5324
|
+
@AiCall.deserialize(params['AiCall'])
|
5325
|
+
end
|
5209
5326
|
end
|
5210
5327
|
end
|
5211
5328
|
|
@@ -5377,15 +5494,18 @@ module TencentCloud
|
|
5377
5494
|
# @type Status: String
|
5378
5495
|
# @param IsEnable: 工作流是否启用
|
5379
5496
|
# @type IsEnable: Boolean
|
5497
|
+
# @param AsyncWorkflow: 是否开启异步调用工作流
|
5498
|
+
# @type AsyncWorkflow: Boolean
|
5380
5499
|
|
5381
|
-
attr_accessor :WorkflowId, :WorkflowName, :WorkflowDesc, :Status, :IsEnable
|
5500
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowDesc, :Status, :IsEnable, :AsyncWorkflow
|
5382
5501
|
|
5383
|
-
def initialize(workflowid=nil, workflowname=nil, workflowdesc=nil, status=nil, isenable=nil)
|
5502
|
+
def initialize(workflowid=nil, workflowname=nil, workflowdesc=nil, status=nil, isenable=nil, asyncworkflow=nil)
|
5384
5503
|
@WorkflowId = workflowid
|
5385
5504
|
@WorkflowName = workflowname
|
5386
5505
|
@WorkflowDesc = workflowdesc
|
5387
5506
|
@Status = status
|
5388
5507
|
@IsEnable = isenable
|
5508
|
+
@AsyncWorkflow = asyncworkflow
|
5389
5509
|
end
|
5390
5510
|
|
5391
5511
|
def deserialize(params)
|
@@ -5394,6 +5514,7 @@ module TencentCloud
|
|
5394
5514
|
@WorkflowDesc = params['WorkflowDesc']
|
5395
5515
|
@Status = params['Status']
|
5396
5516
|
@IsEnable = params['IsEnable']
|
5517
|
+
@AsyncWorkflow = params['AsyncWorkflow']
|
5397
5518
|
end
|
5398
5519
|
end
|
5399
5520
|
|
@@ -7092,10 +7213,12 @@ module TencentCloud
|
|
7092
7213
|
# @type RoleLenLimit: Integer
|
7093
7214
|
# @param IsExclusive: 是否专属并发模型
|
7094
7215
|
# @type IsExclusive: Boolean
|
7216
|
+
# @param SupportAiCallStatus: 模型支持智能通话效果
|
7217
|
+
# @type SupportAiCallStatus: Integer
|
7095
7218
|
|
7096
|
-
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive
|
7219
|
+
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive, :SupportAiCallStatus
|
7097
7220
|
|
7098
|
-
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil, topp=nil, temperature=nil, maxtokens=nil, source=nil, icon=nil, isfree=nil, inputlenlimit=nil, supportworkflowstatus=nil, modelcategory=nil, isdefault=nil, rolelenlimit=nil, isexclusive=nil)
|
7221
|
+
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil, topp=nil, temperature=nil, maxtokens=nil, source=nil, icon=nil, isfree=nil, inputlenlimit=nil, supportworkflowstatus=nil, modelcategory=nil, isdefault=nil, rolelenlimit=nil, isexclusive=nil, supportaicallstatus=nil)
|
7099
7222
|
@ModelName = modelname
|
7100
7223
|
@ModelDesc = modeldesc
|
7101
7224
|
@AliasName = aliasname
|
@@ -7113,6 +7236,7 @@ module TencentCloud
|
|
7113
7236
|
@IsDefault = isdefault
|
7114
7237
|
@RoleLenLimit = rolelenlimit
|
7115
7238
|
@IsExclusive = isexclusive
|
7239
|
+
@SupportAiCallStatus = supportaicallstatus
|
7116
7240
|
end
|
7117
7241
|
|
7118
7242
|
def deserialize(params)
|
@@ -7142,6 +7266,7 @@ module TencentCloud
|
|
7142
7266
|
@IsDefault = params['IsDefault']
|
7143
7267
|
@RoleLenLimit = params['RoleLenLimit']
|
7144
7268
|
@IsExclusive = params['IsExclusive']
|
7269
|
+
@SupportAiCallStatus = params['SupportAiCallStatus']
|
7145
7270
|
end
|
7146
7271
|
end
|
7147
7272
|
|
@@ -7827,10 +7952,13 @@ module TencentCloud
|
|
7827
7952
|
# @param ExtraInfo: 扩展信息
|
7828
7953
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7829
7954
|
# @type ExtraInfo: :class:`Tencentcloud::Lke.v20231130.models.ExtraInfo`
|
7955
|
+
# @param WorkFlow: 工作流信息
|
7956
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7957
|
+
# @type WorkFlow: :class:`Tencentcloud::Lke.v20231130.models.WorkflowInfo`
|
7830
7958
|
|
7831
|
-
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
|
7959
|
+
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
|
7832
7960
|
|
7833
|
-
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)
|
7961
|
+
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)
|
7834
7962
|
@Content = content
|
7835
7963
|
@SessionId = sessionid
|
7836
7964
|
@RecordId = recordid
|
@@ -7856,6 +7984,7 @@ module TencentCloud
|
|
7856
7984
|
@QuoteInfos = quoteinfos
|
7857
7985
|
@AgentThought = agentthought
|
7858
7986
|
@ExtraInfo = extrainfo
|
7987
|
+
@WorkFlow = workflow
|
7859
7988
|
end
|
7860
7989
|
|
7861
7990
|
def deserialize(params)
|
@@ -7917,6 +8046,10 @@ module TencentCloud
|
|
7917
8046
|
@ExtraInfo = ExtraInfo.new
|
7918
8047
|
@ExtraInfo.deserialize(params['ExtraInfo'])
|
7919
8048
|
end
|
8049
|
+
unless params['WorkFlow'].nil?
|
8050
|
+
@WorkFlow = WorkflowInfo.new
|
8051
|
+
@WorkFlow.deserialize(params['WorkFlow'])
|
8052
|
+
end
|
7920
8053
|
end
|
7921
8054
|
end
|
7922
8055
|
|
@@ -7990,7 +8123,7 @@ module TencentCloud
|
|
7990
8123
|
# @type Name: String
|
7991
8124
|
# @param Desc: 参数描述
|
7992
8125
|
# @type Desc: String
|
7993
|
-
# @param Type: 参数类型,0:string, 1:int, 2:float,3:bool 4:object 5:array_string, 6:array_int, 7:array_float, 8:array_bool, 9:array_object
|
8126
|
+
# @param Type: 参数类型,0:string, 1:int, 2:float,3:bool 4:object 5:array_string, 6:array_int, 7:array_float, 8:array_bool, 9:array_object, 99:null, 100:upspecified
|
7994
8127
|
# @type Type: Integer
|
7995
8128
|
# @param IsRequired: 参数是否必填
|
7996
8129
|
# @type IsRequired: Boolean
|
@@ -8000,10 +8133,14 @@ module TencentCloud
|
|
8000
8133
|
# @type SubParams: Array
|
8001
8134
|
# @param GlobalHidden: 插件参数配置是否隐藏不可见,true-隐藏不可见,false-可见
|
8002
8135
|
# @type GlobalHidden: Boolean
|
8136
|
+
# @param OneOf: OneOf类型参数
|
8137
|
+
# @type OneOf: Array
|
8138
|
+
# @param AnyOf: AnyOf类型参数
|
8139
|
+
# @type AnyOf: Array
|
8003
8140
|
|
8004
|
-
attr_accessor :Name, :Desc, :Type, :IsRequired, :DefaultValue, :SubParams, :GlobalHidden
|
8141
|
+
attr_accessor :Name, :Desc, :Type, :IsRequired, :DefaultValue, :SubParams, :GlobalHidden, :OneOf, :AnyOf
|
8005
8142
|
|
8006
|
-
def initialize(name=nil, desc=nil, type=nil, isrequired=nil, defaultvalue=nil, subparams=nil, globalhidden=nil)
|
8143
|
+
def initialize(name=nil, desc=nil, type=nil, isrequired=nil, defaultvalue=nil, subparams=nil, globalhidden=nil, oneof=nil, anyof=nil)
|
8007
8144
|
@Name = name
|
8008
8145
|
@Desc = desc
|
8009
8146
|
@Type = type
|
@@ -8011,6 +8148,8 @@ module TencentCloud
|
|
8011
8148
|
@DefaultValue = defaultvalue
|
8012
8149
|
@SubParams = subparams
|
8013
8150
|
@GlobalHidden = globalhidden
|
8151
|
+
@OneOf = oneof
|
8152
|
+
@AnyOf = anyof
|
8014
8153
|
end
|
8015
8154
|
|
8016
8155
|
def deserialize(params)
|
@@ -8028,6 +8167,22 @@ module TencentCloud
|
|
8028
8167
|
end
|
8029
8168
|
end
|
8030
8169
|
@GlobalHidden = params['GlobalHidden']
|
8170
|
+
unless params['OneOf'].nil?
|
8171
|
+
@OneOf = []
|
8172
|
+
params['OneOf'].each do |i|
|
8173
|
+
plugintoolreqparam_tmp = PluginToolReqParam.new
|
8174
|
+
plugintoolreqparam_tmp.deserialize(i)
|
8175
|
+
@OneOf << plugintoolreqparam_tmp
|
8176
|
+
end
|
8177
|
+
end
|
8178
|
+
unless params['AnyOf'].nil?
|
8179
|
+
@AnyOf = []
|
8180
|
+
params['AnyOf'].each do |i|
|
8181
|
+
plugintoolreqparam_tmp = PluginToolReqParam.new
|
8182
|
+
plugintoolreqparam_tmp.deserialize(i)
|
8183
|
+
@AnyOf << plugintoolreqparam_tmp
|
8184
|
+
end
|
8185
|
+
end
|
8031
8186
|
end
|
8032
8187
|
end
|
8033
8188
|
|
@@ -8140,10 +8295,12 @@ module TencentCloud
|
|
8140
8295
|
# @param Agent: Agent调试信息
|
8141
8296
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8142
8297
|
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.AgentDebugInfo`
|
8298
|
+
# @param CustomVariables: 自定义参数
|
8299
|
+
# @type CustomVariables: Array
|
8143
8300
|
|
8144
|
-
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow, :Agent
|
8301
|
+
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow, :Agent, :CustomVariables
|
8145
8302
|
|
8146
|
-
def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil, workflow=nil, agent=nil)
|
8303
|
+
def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil, workflow=nil, agent=nil, customvariables=nil)
|
8147
8304
|
@Content = content
|
8148
8305
|
@System = system
|
8149
8306
|
@Histories = histories
|
@@ -8151,6 +8308,7 @@ module TencentCloud
|
|
8151
8308
|
@TaskFlow = taskflow
|
8152
8309
|
@WorkFlow = workflow
|
8153
8310
|
@Agent = agent
|
8311
|
+
@CustomVariables = customvariables
|
8154
8312
|
end
|
8155
8313
|
|
8156
8314
|
def deserialize(params)
|
@@ -8184,6 +8342,7 @@ module TencentCloud
|
|
8184
8342
|
@Agent = AgentDebugInfo.new
|
8185
8343
|
@Agent.deserialize(params['Agent'])
|
8186
8344
|
end
|
8345
|
+
@CustomVariables = params['CustomVariables']
|
8187
8346
|
end
|
8188
8347
|
end
|
8189
8348
|
|
@@ -10068,6 +10227,33 @@ module TencentCloud
|
|
10068
10227
|
end
|
10069
10228
|
end
|
10070
10229
|
|
10230
|
+
# 音色参数
|
10231
|
+
class VoiceConfig < TencentCloud::Common::AbstractModel
|
10232
|
+
# @param VoiceType: 公有云音色id
|
10233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10234
|
+
# @type VoiceType: Integer
|
10235
|
+
# @param TimbreKey: 音色key
|
10236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10237
|
+
# @type TimbreKey: String
|
10238
|
+
# @param VoiceName: 音色名称
|
10239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10240
|
+
# @type VoiceName: String
|
10241
|
+
|
10242
|
+
attr_accessor :VoiceType, :TimbreKey, :VoiceName
|
10243
|
+
|
10244
|
+
def initialize(voicetype=nil, timbrekey=nil, voicename=nil)
|
10245
|
+
@VoiceType = voicetype
|
10246
|
+
@TimbreKey = timbrekey
|
10247
|
+
@VoiceName = voicename
|
10248
|
+
end
|
10249
|
+
|
10250
|
+
def deserialize(params)
|
10251
|
+
@VoiceType = params['VoiceType']
|
10252
|
+
@TimbreKey = params['TimbreKey']
|
10253
|
+
@VoiceName = params['VoiceName']
|
10254
|
+
end
|
10255
|
+
end
|
10256
|
+
|
10071
10257
|
# 解析为 word 文档的结果
|
10072
10258
|
class WordRecognizeInfo < TencentCloud::Common::AbstractModel
|
10073
10259
|
# @param PageNumber: 输入文件的页码数
|
@@ -10104,14 +10290,26 @@ module TencentCloud
|
|
10104
10290
|
# @param RunNodes: 节点信息
|
10105
10291
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10106
10292
|
# @type RunNodes: Array
|
10293
|
+
# @param OptionCards: 选项卡
|
10294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10295
|
+
# @type OptionCards: Array
|
10296
|
+
# @param Outputs: 多气泡的输出结果
|
10297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10298
|
+
# @type Outputs: Array
|
10299
|
+
# @param WorkflowReleaseTime: 工作流发布时间,unix时间戳
|
10300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10301
|
+
# @type WorkflowReleaseTime: String
|
10107
10302
|
|
10108
|
-
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes
|
10303
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :RunNodes, :OptionCards, :Outputs, :WorkflowReleaseTime
|
10109
10304
|
|
10110
|
-
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil)
|
10305
|
+
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, runnodes=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil)
|
10111
10306
|
@WorkflowId = workflowid
|
10112
10307
|
@WorkflowName = workflowname
|
10113
10308
|
@WorkflowRunId = workflowrunid
|
10114
10309
|
@RunNodes = runnodes
|
10310
|
+
@OptionCards = optioncards
|
10311
|
+
@Outputs = outputs
|
10312
|
+
@WorkflowReleaseTime = workflowreleasetime
|
10115
10313
|
end
|
10116
10314
|
|
10117
10315
|
def deserialize(params)
|
@@ -10126,6 +10324,51 @@ module TencentCloud
|
|
10126
10324
|
@RunNodes << workflowrunnodeinfo_tmp
|
10127
10325
|
end
|
10128
10326
|
end
|
10327
|
+
@OptionCards = params['OptionCards']
|
10328
|
+
@Outputs = params['Outputs']
|
10329
|
+
@WorkflowReleaseTime = params['WorkflowReleaseTime']
|
10330
|
+
end
|
10331
|
+
end
|
10332
|
+
|
10333
|
+
# 工作流信息
|
10334
|
+
class WorkflowInfo < TencentCloud::Common::AbstractModel
|
10335
|
+
# @param WorkflowId: 工作流ID
|
10336
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10337
|
+
# @type WorkflowId: String
|
10338
|
+
# @param WorkflowName: 工作流名称
|
10339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10340
|
+
# @type WorkflowName: String
|
10341
|
+
# @param WorkflowRunId: 工作流运行ID
|
10342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10343
|
+
# @type WorkflowRunId: String
|
10344
|
+
# @param OptionCards: 选项卡
|
10345
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10346
|
+
# @type OptionCards: Array
|
10347
|
+
# @param Outputs: 多气泡的输出结果
|
10348
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10349
|
+
# @type Outputs: Array
|
10350
|
+
# @param WorkflowReleaseTime: 工作流发布时间,unix时间戳
|
10351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10352
|
+
# @type WorkflowReleaseTime: String
|
10353
|
+
|
10354
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowRunId, :OptionCards, :Outputs, :WorkflowReleaseTime
|
10355
|
+
|
10356
|
+
def initialize(workflowid=nil, workflowname=nil, workflowrunid=nil, optioncards=nil, outputs=nil, workflowreleasetime=nil)
|
10357
|
+
@WorkflowId = workflowid
|
10358
|
+
@WorkflowName = workflowname
|
10359
|
+
@WorkflowRunId = workflowrunid
|
10360
|
+
@OptionCards = optioncards
|
10361
|
+
@Outputs = outputs
|
10362
|
+
@WorkflowReleaseTime = workflowreleasetime
|
10363
|
+
end
|
10364
|
+
|
10365
|
+
def deserialize(params)
|
10366
|
+
@WorkflowId = params['WorkflowId']
|
10367
|
+
@WorkflowName = params['WorkflowName']
|
10368
|
+
@WorkflowRunId = params['WorkflowRunId']
|
10369
|
+
@OptionCards = params['OptionCards']
|
10370
|
+
@Outputs = params['Outputs']
|
10371
|
+
@WorkflowReleaseTime = params['WorkflowReleaseTime']
|
10129
10372
|
end
|
10130
10373
|
end
|
10131
10374
|
|