tencentcloud-sdk-lke 3.0.986 → 3.0.987
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 +512 -26
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd645e61323cb968e0d22f879fdf9fb55717cd1e
|
4
|
+
data.tar.gz: 2e0987d9a5daf7f631c4f720d2338487bc32c3fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feefdb80cc4d0e9db3c1e82a45c8fe7e790a64d0159a9cd287c0b577d43d333e980ade26ce8b7ef4969a17142c9b0ce19a77b781026a1366ec25eb7fdf8edad4
|
7
|
+
data.tar.gz: 1b01081401c4753477d4f5e902a758f8c68d6dc0e595ab5eafc5065ee3e5a72c7f99d37a92d84067a194782b4048068b1aeac7fb85233626b05c36bebcc6f66e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.987
|
data/lib/v20231130/models.rb
CHANGED
@@ -17,6 +17,238 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Lke
|
19
19
|
module V20231130
|
20
|
+
# 思考事件过程信息
|
21
|
+
class AgentProcedure < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Index: 索引
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type Index: Integer
|
25
|
+
# @param Name: 执行过程英语名
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type Name: String
|
28
|
+
# @param Title: 中文名, 用于展示
|
29
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
# @type Title: String
|
31
|
+
# @param Status: 状态常量: 使用中: processing, 成功: success, 失败: failed
|
32
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
# @type Status: String
|
34
|
+
# @param Icon: 图标
|
35
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
36
|
+
# @type Icon: String
|
37
|
+
# @param Debugging: Agent调试信息
|
38
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
39
|
+
# @type Debugging: :class:`Tencentcloud::Lke.v20231130.models.AgentProcedureDebugging`
|
40
|
+
# @param Switch: 是否切换Agent,取值为"main"或者"workflow",不切换为空
|
41
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
42
|
+
# @type Switch: String
|
43
|
+
# @param WorkflowName: 工作流名称
|
44
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
45
|
+
# @type WorkflowName: String
|
46
|
+
# @param Elapsed: 当前请求执行时间, 单位 ms
|
47
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
48
|
+
# @type Elapsed: Integer
|
49
|
+
|
50
|
+
attr_accessor :Index, :Name, :Title, :Status, :Icon, :Debugging, :Switch, :WorkflowName, :Elapsed
|
51
|
+
|
52
|
+
def initialize(index=nil, name=nil, title=nil, status=nil, icon=nil, debugging=nil, switch=nil, workflowname=nil, elapsed=nil)
|
53
|
+
@Index = index
|
54
|
+
@Name = name
|
55
|
+
@Title = title
|
56
|
+
@Status = status
|
57
|
+
@Icon = icon
|
58
|
+
@Debugging = debugging
|
59
|
+
@Switch = switch
|
60
|
+
@WorkflowName = workflowname
|
61
|
+
@Elapsed = elapsed
|
62
|
+
end
|
63
|
+
|
64
|
+
def deserialize(params)
|
65
|
+
@Index = params['Index']
|
66
|
+
@Name = params['Name']
|
67
|
+
@Title = params['Title']
|
68
|
+
@Status = params['Status']
|
69
|
+
@Icon = params['Icon']
|
70
|
+
unless params['Debugging'].nil?
|
71
|
+
@Debugging = AgentProcedureDebugging.new
|
72
|
+
@Debugging.deserialize(params['Debugging'])
|
73
|
+
end
|
74
|
+
@Switch = params['Switch']
|
75
|
+
@WorkflowName = params['WorkflowName']
|
76
|
+
@Elapsed = params['Elapsed']
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# Agent思考过程调试信息
|
81
|
+
class AgentProcedureDebugging < TencentCloud::Common::AbstractModel
|
82
|
+
# @param Content: 模型思考内容
|
83
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
84
|
+
# @type Content: String
|
85
|
+
# @param DisplayContent: 展示的具体文本内容
|
86
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
87
|
+
# @type DisplayContent: String
|
88
|
+
# @param DisplayType: 展示类型
|
89
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
90
|
+
# @type DisplayType: Integer
|
91
|
+
# @param QuoteInfos: 搜索引擎展示的索引
|
92
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
93
|
+
# @type QuoteInfos: Array
|
94
|
+
# @param References: 具体的参考来源
|
95
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
96
|
+
# @type References: Array
|
97
|
+
|
98
|
+
attr_accessor :Content, :DisplayContent, :DisplayType, :QuoteInfos, :References
|
99
|
+
|
100
|
+
def initialize(content=nil, displaycontent=nil, displaytype=nil, quoteinfos=nil, references=nil)
|
101
|
+
@Content = content
|
102
|
+
@DisplayContent = displaycontent
|
103
|
+
@DisplayType = displaytype
|
104
|
+
@QuoteInfos = quoteinfos
|
105
|
+
@References = references
|
106
|
+
end
|
107
|
+
|
108
|
+
def deserialize(params)
|
109
|
+
@Content = params['Content']
|
110
|
+
@DisplayContent = params['DisplayContent']
|
111
|
+
@DisplayType = params['DisplayType']
|
112
|
+
unless params['QuoteInfos'].nil?
|
113
|
+
@QuoteInfos = []
|
114
|
+
params['QuoteInfos'].each do |i|
|
115
|
+
quoteinfo_tmp = QuoteInfo.new
|
116
|
+
quoteinfo_tmp.deserialize(i)
|
117
|
+
@QuoteInfos << quoteinfo_tmp
|
118
|
+
end
|
119
|
+
end
|
120
|
+
unless params['References'].nil?
|
121
|
+
@References = []
|
122
|
+
params['References'].each do |i|
|
123
|
+
agentreference_tmp = AgentReference.new
|
124
|
+
agentreference_tmp.deserialize(i)
|
125
|
+
@References << agentreference_tmp
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# Agent中的参考来源
|
132
|
+
class AgentReference < TencentCloud::Common::AbstractModel
|
133
|
+
# @param DocId: 来源文档ID
|
134
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
135
|
+
# @type DocId: String
|
136
|
+
# @param Id: id
|
137
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
138
|
+
# @type Id: String
|
139
|
+
# @param Name: 名称
|
140
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
141
|
+
# @type Name: String
|
142
|
+
# @param Type: 类型
|
143
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
144
|
+
# @type Type: Integer
|
145
|
+
# @param Url: 链接
|
146
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
147
|
+
# @type Url: String
|
148
|
+
# @param DocBizId: 文档业务ID
|
149
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
150
|
+
# @type DocBizId: String
|
151
|
+
# @param DocName: 文档名称
|
152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
153
|
+
# @type DocName: String
|
154
|
+
# @param QaBizId: 问答业务ID
|
155
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
156
|
+
# @type QaBizId: String
|
157
|
+
# @param Index: 搜索引擎索引
|
158
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
159
|
+
# @type Index: Integer
|
160
|
+
# @param Title: 标题
|
161
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
162
|
+
# @type Title: String
|
163
|
+
|
164
|
+
attr_accessor :DocId, :Id, :Name, :Type, :Url, :DocBizId, :DocName, :QaBizId, :Index, :Title
|
165
|
+
|
166
|
+
def initialize(docid=nil, id=nil, name=nil, type=nil, url=nil, docbizid=nil, docname=nil, qabizid=nil, index=nil, title=nil)
|
167
|
+
@DocId = docid
|
168
|
+
@Id = id
|
169
|
+
@Name = name
|
170
|
+
@Type = type
|
171
|
+
@Url = url
|
172
|
+
@DocBizId = docbizid
|
173
|
+
@DocName = docname
|
174
|
+
@QaBizId = qabizid
|
175
|
+
@Index = index
|
176
|
+
@Title = title
|
177
|
+
end
|
178
|
+
|
179
|
+
def deserialize(params)
|
180
|
+
@DocId = params['DocId']
|
181
|
+
@Id = params['Id']
|
182
|
+
@Name = params['Name']
|
183
|
+
@Type = params['Type']
|
184
|
+
@Url = params['Url']
|
185
|
+
@DocBizId = params['DocBizId']
|
186
|
+
@DocName = params['DocName']
|
187
|
+
@QaBizId = params['QaBizId']
|
188
|
+
@Index = params['Index']
|
189
|
+
@Title = params['Title']
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
# Agent的思考过程
|
194
|
+
class AgentThought < TencentCloud::Common::AbstractModel
|
195
|
+
# @param SessionId: 会话 ID
|
196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
197
|
+
# @type SessionId: String
|
198
|
+
# @param RequestId: 请求 ID
|
199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
200
|
+
# @type RequestId: String
|
201
|
+
# @param RecordId: 对应哪条会话, 会话 ID, 用于回答的消息存储使用, 可提前生成, 保存消息时使用
|
202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
203
|
+
# @type RecordId: String
|
204
|
+
# @param Elapsed: 当前请求执行时间, 单位 ms
|
205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
206
|
+
# @type Elapsed: Integer
|
207
|
+
# @param IsWorkflow: 当前是否为工作流
|
208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
209
|
+
# @type IsWorkflow: Boolean
|
210
|
+
# @param WorkflowName: 如果当前是工作流,工作流名称
|
211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
212
|
+
# @type WorkflowName: String
|
213
|
+
# @param Procedures: 具体思考过程详情
|
214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
215
|
+
# @type Procedures: Array
|
216
|
+
# @param TraceId: TraceId
|
217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
218
|
+
# @type TraceId: String
|
219
|
+
|
220
|
+
attr_accessor :SessionId, :RequestId, :RecordId, :Elapsed, :IsWorkflow, :WorkflowName, :Procedures, :TraceId
|
221
|
+
|
222
|
+
def initialize(sessionid=nil, requestid=nil, recordid=nil, elapsed=nil, isworkflow=nil, workflowname=nil, procedures=nil, traceid=nil)
|
223
|
+
@SessionId = sessionid
|
224
|
+
@RequestId = requestid
|
225
|
+
@RecordId = recordid
|
226
|
+
@Elapsed = elapsed
|
227
|
+
@IsWorkflow = isworkflow
|
228
|
+
@WorkflowName = workflowname
|
229
|
+
@Procedures = procedures
|
230
|
+
@TraceId = traceid
|
231
|
+
end
|
232
|
+
|
233
|
+
def deserialize(params)
|
234
|
+
@SessionId = params['SessionId']
|
235
|
+
@RequestId = params['RequestId']
|
236
|
+
@RecordId = params['RecordId']
|
237
|
+
@Elapsed = params['Elapsed']
|
238
|
+
@IsWorkflow = params['IsWorkflow']
|
239
|
+
@WorkflowName = params['WorkflowName']
|
240
|
+
unless params['Procedures'].nil?
|
241
|
+
@Procedures = []
|
242
|
+
params['Procedures'].each do |i|
|
243
|
+
agentprocedure_tmp = AgentProcedure.new
|
244
|
+
agentprocedure_tmp.deserialize(i)
|
245
|
+
@Procedures << agentprocedure_tmp
|
246
|
+
end
|
247
|
+
end
|
248
|
+
@TraceId = params['TraceId']
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
20
252
|
# 自定义变量和标签关系数据
|
21
253
|
class ApiVarAttrInfo < TencentCloud::Common::AbstractModel
|
22
254
|
# @param ApiVarId: 自定义变量id
|
@@ -110,13 +342,19 @@ module TencentCloud
|
|
110
342
|
# @param ModelName: 模型名称
|
111
343
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
112
344
|
# @type ModelName: String
|
113
|
-
# @param ModelAliasName:
|
345
|
+
# @param ModelAliasName: 生成模型别名
|
114
346
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
115
347
|
# @type ModelAliasName: String
|
348
|
+
# @param Pattern: 应用模式 standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
349
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
350
|
+
# @type Pattern: String
|
351
|
+
# @param ThoughtModelAliasName: 思考模型别名
|
352
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
353
|
+
# @type ThoughtModelAliasName: String
|
116
354
|
|
117
|
-
attr_accessor :AppType, :AppTypeDesc, :AppBizId, :Name, :Avatar, :Desc, :AppStatus, :AppStatusDesc, :UpdateTime, :Operator, :ModelName, :ModelAliasName
|
355
|
+
attr_accessor :AppType, :AppTypeDesc, :AppBizId, :Name, :Avatar, :Desc, :AppStatus, :AppStatusDesc, :UpdateTime, :Operator, :ModelName, :ModelAliasName, :Pattern, :ThoughtModelAliasName
|
118
356
|
|
119
|
-
def initialize(apptype=nil, apptypedesc=nil, appbizid=nil, name=nil, avatar=nil, desc=nil, appstatus=nil, appstatusdesc=nil, updatetime=nil, operator=nil, modelname=nil, modelaliasname=nil)
|
357
|
+
def initialize(apptype=nil, apptypedesc=nil, appbizid=nil, name=nil, avatar=nil, desc=nil, appstatus=nil, appstatusdesc=nil, updatetime=nil, operator=nil, modelname=nil, modelaliasname=nil, pattern=nil, thoughtmodelaliasname=nil)
|
120
358
|
@AppType = apptype
|
121
359
|
@AppTypeDesc = apptypedesc
|
122
360
|
@AppBizId = appbizid
|
@@ -129,6 +367,8 @@ module TencentCloud
|
|
129
367
|
@Operator = operator
|
130
368
|
@ModelName = modelname
|
131
369
|
@ModelAliasName = modelaliasname
|
370
|
+
@Pattern = pattern
|
371
|
+
@ThoughtModelAliasName = thoughtmodelaliasname
|
132
372
|
end
|
133
373
|
|
134
374
|
def deserialize(params)
|
@@ -144,6 +384,8 @@ module TencentCloud
|
|
144
384
|
@Operator = params['Operator']
|
145
385
|
@ModelName = params['ModelName']
|
146
386
|
@ModelAliasName = params['ModelAliasName']
|
387
|
+
@Pattern = params['Pattern']
|
388
|
+
@ThoughtModelAliasName = params['ThoughtModelAliasName']
|
147
389
|
end
|
148
390
|
end
|
149
391
|
|
@@ -173,10 +415,16 @@ module TencentCloud
|
|
173
415
|
# @param UsageType: 使用类型
|
174
416
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
175
417
|
# @type UsageType: String
|
418
|
+
# @param Temperature: 模型温度
|
419
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
420
|
+
# @type Temperature: String
|
421
|
+
# @param TopP: 模型TopP
|
422
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
423
|
+
# @type TopP: String
|
176
424
|
|
177
|
-
attr_accessor :Name, :Desc, :ContextLimit, :AliasName, :TokenBalance, :IsUseContext, :HistoryLimit, :UsageType
|
425
|
+
attr_accessor :Name, :Desc, :ContextLimit, :AliasName, :TokenBalance, :IsUseContext, :HistoryLimit, :UsageType, :Temperature, :TopP
|
178
426
|
|
179
|
-
def initialize(name=nil, desc=nil, contextlimit=nil, aliasname=nil, tokenbalance=nil, isusecontext=nil, historylimit=nil, usagetype=nil)
|
427
|
+
def initialize(name=nil, desc=nil, contextlimit=nil, aliasname=nil, tokenbalance=nil, isusecontext=nil, historylimit=nil, usagetype=nil, temperature=nil, topp=nil)
|
180
428
|
@Name = name
|
181
429
|
@Desc = desc
|
182
430
|
@ContextLimit = contextlimit
|
@@ -185,6 +433,8 @@ module TencentCloud
|
|
185
433
|
@IsUseContext = isusecontext
|
186
434
|
@HistoryLimit = historylimit
|
187
435
|
@UsageType = usagetype
|
436
|
+
@Temperature = temperature
|
437
|
+
@TopP = topp
|
188
438
|
end
|
189
439
|
|
190
440
|
def deserialize(params)
|
@@ -196,6 +446,8 @@ module TencentCloud
|
|
196
446
|
@IsUseContext = params['IsUseContext']
|
197
447
|
@HistoryLimit = params['HistoryLimit']
|
198
448
|
@UsageType = params['UsageType']
|
449
|
+
@Temperature = params['Temperature']
|
450
|
+
@TopP = params['TopP']
|
199
451
|
end
|
200
452
|
end
|
201
453
|
|
@@ -3753,7 +4005,7 @@ module TencentCloud
|
|
3753
4005
|
|
3754
4006
|
# GetDocPreview返回参数结构体
|
3755
4007
|
class GetDocPreviewResponse < TencentCloud::Common::AbstractModel
|
3756
|
-
# @param FileName:
|
4008
|
+
# @param FileName: 文件名, 发布端固定使用这个名称
|
3757
4009
|
# @type FileName: String
|
3758
4010
|
# @param FileType: 文件类型
|
3759
4011
|
# @type FileType: String
|
@@ -3763,17 +4015,20 @@ module TencentCloud
|
|
3763
4015
|
# @type Url: String
|
3764
4016
|
# @param Bucket: cos桶
|
3765
4017
|
# @type Bucket: String
|
4018
|
+
# @param NewName: 存在文档重命名情况下的新名称, 评测端优先使用这个名称
|
4019
|
+
# @type NewName: String
|
3766
4020
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3767
4021
|
# @type RequestId: String
|
3768
4022
|
|
3769
|
-
attr_accessor :FileName, :FileType, :CosUrl, :Url, :Bucket, :RequestId
|
4023
|
+
attr_accessor :FileName, :FileType, :CosUrl, :Url, :Bucket, :NewName, :RequestId
|
3770
4024
|
|
3771
|
-
def initialize(filename=nil, filetype=nil, cosurl=nil, url=nil, bucket=nil, requestid=nil)
|
4025
|
+
def initialize(filename=nil, filetype=nil, cosurl=nil, url=nil, bucket=nil, newname=nil, requestid=nil)
|
3772
4026
|
@FileName = filename
|
3773
4027
|
@FileType = filetype
|
3774
4028
|
@CosUrl = cosurl
|
3775
4029
|
@Url = url
|
3776
4030
|
@Bucket = bucket
|
4031
|
+
@NewName = newname
|
3777
4032
|
@RequestId = requestid
|
3778
4033
|
end
|
3779
4034
|
|
@@ -3783,6 +4038,7 @@ module TencentCloud
|
|
3783
4038
|
@CosUrl = params['CosUrl']
|
3784
4039
|
@Url = params['Url']
|
3785
4040
|
@Bucket = params['Bucket']
|
4041
|
+
@NewName = params['NewName']
|
3786
4042
|
@RequestId = params['RequestId']
|
3787
4043
|
end
|
3788
4044
|
end
|
@@ -4138,7 +4394,7 @@ module TencentCloud
|
|
4138
4394
|
# @type BotAppKey: String
|
4139
4395
|
# @param VisitorBizId: 访客ID(外部输入,建议唯一,标识当前接入会话的用户)
|
4140
4396
|
# @type VisitorBizId: String
|
4141
|
-
# @param VisitorLabels:
|
4397
|
+
# @param VisitorLabels: 知识标签,用于知识库中知识的检索过滤。该字段即将下线,请使用对话端接口中的 custom_variables 字段替代该字段。
|
4142
4398
|
# @type VisitorLabels: Array
|
4143
4399
|
|
4144
4400
|
attr_accessor :Type, :BotAppKey, :VisitorBizId, :VisitorLabels
|
@@ -4167,22 +4423,28 @@ module TencentCloud
|
|
4167
4423
|
|
4168
4424
|
# GetWsToken返回参数结构体
|
4169
4425
|
class GetWsTokenResponse < TencentCloud::Common::AbstractModel
|
4170
|
-
# @param Token: token值(有效期60s
|
4426
|
+
# @param Token: token值(有效期60s,仅一次有效,多次校验会报错)
|
4171
4427
|
# @type Token: String
|
4172
4428
|
# @param Balance: 余额; 余额大于 0 时表示有效
|
4173
4429
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4174
4430
|
# @type Balance: Float
|
4175
4431
|
# @param InputLenLimit: 对话窗输入字符限制
|
4176
4432
|
# @type InputLenLimit: Integer
|
4433
|
+
# @param Pattern: 应用模式,standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
4434
|
+
# @type Pattern: String
|
4435
|
+
# @param SingleWorkflow: SingleWorkflow
|
4436
|
+
# @type SingleWorkflow: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeQaSingleWorkflow`
|
4177
4437
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4178
4438
|
# @type RequestId: String
|
4179
4439
|
|
4180
|
-
attr_accessor :Token, :Balance, :InputLenLimit, :RequestId
|
4440
|
+
attr_accessor :Token, :Balance, :InputLenLimit, :Pattern, :SingleWorkflow, :RequestId
|
4181
4441
|
|
4182
|
-
def initialize(token=nil, balance=nil, inputlenlimit=nil, requestid=nil)
|
4442
|
+
def initialize(token=nil, balance=nil, inputlenlimit=nil, pattern=nil, singleworkflow=nil, requestid=nil)
|
4183
4443
|
@Token = token
|
4184
4444
|
@Balance = balance
|
4185
4445
|
@InputLenLimit = inputlenlimit
|
4446
|
+
@Pattern = pattern
|
4447
|
+
@SingleWorkflow = singleworkflow
|
4186
4448
|
@RequestId = requestid
|
4187
4449
|
end
|
4188
4450
|
|
@@ -4190,6 +4452,11 @@ module TencentCloud
|
|
4190
4452
|
@Token = params['Token']
|
4191
4453
|
@Balance = params['Balance']
|
4192
4454
|
@InputLenLimit = params['InputLenLimit']
|
4455
|
+
@Pattern = params['Pattern']
|
4456
|
+
unless params['SingleWorkflow'].nil?
|
4457
|
+
@SingleWorkflow = KnowledgeQaSingleWorkflow.new
|
4458
|
+
@SingleWorkflow.deserialize(params['SingleWorkflow'])
|
4459
|
+
end
|
4193
4460
|
@RequestId = params['RequestId']
|
4194
4461
|
end
|
4195
4462
|
end
|
@@ -4550,7 +4817,7 @@ module TencentCloud
|
|
4550
4817
|
# @param RoleDescription: 角色描述,300字符以内
|
4551
4818
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4552
4819
|
# @type RoleDescription: String
|
4553
|
-
# @param Model:
|
4820
|
+
# @param Model: 生成模型配置
|
4554
4821
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4555
4822
|
# @type Model: :class:`Tencentcloud::Lke.v20231130.models.AppModel`
|
4556
4823
|
# @param Search: 知识搜索配置
|
@@ -4565,10 +4832,25 @@ module TencentCloud
|
|
4565
4832
|
# @param SearchRange: 检索范围
|
4566
4833
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4567
4834
|
# @type SearchRange: :class:`Tencentcloud::Lke.v20231130.models.SearchRange`
|
4835
|
+
# @param Pattern: 应用模式,standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
4836
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4837
|
+
# @type Pattern: String
|
4838
|
+
# @param SearchStrategy: 检索策略
|
4839
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4840
|
+
# @type SearchStrategy: :class:`Tencentcloud::Lke.v20231130.models.SearchStrategy`
|
4841
|
+
# @param SingleWorkflow: 单工作流ID,Pattern为single_workflow时传入
|
4842
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4843
|
+
# @type SingleWorkflow: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeQaSingleWorkflow`
|
4844
|
+
# @param Plugins: 应用关联插件
|
4845
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4846
|
+
# @type Plugins: Array
|
4847
|
+
# @param ThoughtModel: 思考模型配置
|
4848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4849
|
+
# @type ThoughtModel: :class:`Tencentcloud::Lke.v20231130.models.AppModel`
|
4568
4850
|
|
4569
|
-
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange
|
4851
|
+
attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel
|
4570
4852
|
|
4571
|
-
def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil)
|
4853
|
+
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)
|
4572
4854
|
@Greeting = greeting
|
4573
4855
|
@RoleDescription = roledescription
|
4574
4856
|
@Model = model
|
@@ -4576,6 +4858,11 @@ module TencentCloud
|
|
4576
4858
|
@Output = output
|
4577
4859
|
@Workflow = workflow
|
4578
4860
|
@SearchRange = searchrange
|
4861
|
+
@Pattern = pattern
|
4862
|
+
@SearchStrategy = searchstrategy
|
4863
|
+
@SingleWorkflow = singleworkflow
|
4864
|
+
@Plugins = plugins
|
4865
|
+
@ThoughtModel = thoughtmodel
|
4579
4866
|
end
|
4580
4867
|
|
4581
4868
|
def deserialize(params)
|
@@ -4605,6 +4892,27 @@ module TencentCloud
|
|
4605
4892
|
@SearchRange = SearchRange.new
|
4606
4893
|
@SearchRange.deserialize(params['SearchRange'])
|
4607
4894
|
end
|
4895
|
+
@Pattern = params['Pattern']
|
4896
|
+
unless params['SearchStrategy'].nil?
|
4897
|
+
@SearchStrategy = SearchStrategy.new
|
4898
|
+
@SearchStrategy.deserialize(params['SearchStrategy'])
|
4899
|
+
end
|
4900
|
+
unless params['SingleWorkflow'].nil?
|
4901
|
+
@SingleWorkflow = KnowledgeQaSingleWorkflow.new
|
4902
|
+
@SingleWorkflow.deserialize(params['SingleWorkflow'])
|
4903
|
+
end
|
4904
|
+
unless params['Plugins'].nil?
|
4905
|
+
@Plugins = []
|
4906
|
+
params['Plugins'].each do |i|
|
4907
|
+
knowledgeqaplugin_tmp = KnowledgeQaPlugin.new
|
4908
|
+
knowledgeqaplugin_tmp.deserialize(i)
|
4909
|
+
@Plugins << knowledgeqaplugin_tmp
|
4910
|
+
end
|
4911
|
+
end
|
4912
|
+
unless params['ThoughtModel'].nil?
|
4913
|
+
@ThoughtModel = AppModel.new
|
4914
|
+
@ThoughtModel.deserialize(params['ThoughtModel'])
|
4915
|
+
end
|
4608
4916
|
end
|
4609
4917
|
end
|
4610
4918
|
|
@@ -4655,6 +4963,58 @@ module TencentCloud
|
|
4655
4963
|
end
|
4656
4964
|
end
|
4657
4965
|
|
4966
|
+
# 应用关联插件信息
|
4967
|
+
class KnowledgeQaPlugin < TencentCloud::Common::AbstractModel
|
4968
|
+
# @param PluginId: 插件ID
|
4969
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4970
|
+
# @type PluginId: String
|
4971
|
+
# @param PluginName: 插件名称
|
4972
|
+
# @type PluginName: String
|
4973
|
+
# @param PluginIcon: 插件图标
|
4974
|
+
# @type PluginIcon: String
|
4975
|
+
# @param ToolId: 工具ID
|
4976
|
+
# @type ToolId: String
|
4977
|
+
# @param ToolName: 工具名称
|
4978
|
+
# @type ToolName: String
|
4979
|
+
# @param ToolDesc: 工具描述
|
4980
|
+
# @type ToolDesc: String
|
4981
|
+
# @param Inputs: 工具输入参数
|
4982
|
+
# @type Inputs: Array
|
4983
|
+
# @param IsBindingKnowledge: 插件是否和知识库绑定
|
4984
|
+
# @type IsBindingKnowledge: Boolean
|
4985
|
+
|
4986
|
+
attr_accessor :PluginId, :PluginName, :PluginIcon, :ToolId, :ToolName, :ToolDesc, :Inputs, :IsBindingKnowledge
|
4987
|
+
|
4988
|
+
def initialize(pluginid=nil, pluginname=nil, pluginicon=nil, toolid=nil, toolname=nil, tooldesc=nil, inputs=nil, isbindingknowledge=nil)
|
4989
|
+
@PluginId = pluginid
|
4990
|
+
@PluginName = pluginname
|
4991
|
+
@PluginIcon = pluginicon
|
4992
|
+
@ToolId = toolid
|
4993
|
+
@ToolName = toolname
|
4994
|
+
@ToolDesc = tooldesc
|
4995
|
+
@Inputs = inputs
|
4996
|
+
@IsBindingKnowledge = isbindingknowledge
|
4997
|
+
end
|
4998
|
+
|
4999
|
+
def deserialize(params)
|
5000
|
+
@PluginId = params['PluginId']
|
5001
|
+
@PluginName = params['PluginName']
|
5002
|
+
@PluginIcon = params['PluginIcon']
|
5003
|
+
@ToolId = params['ToolId']
|
5004
|
+
@ToolName = params['ToolName']
|
5005
|
+
@ToolDesc = params['ToolDesc']
|
5006
|
+
unless params['Inputs'].nil?
|
5007
|
+
@Inputs = []
|
5008
|
+
params['Inputs'].each do |i|
|
5009
|
+
plugintoolreqparam_tmp = PluginToolReqParam.new
|
5010
|
+
plugintoolreqparam_tmp.deserialize(i)
|
5011
|
+
@Inputs << plugintoolreqparam_tmp
|
5012
|
+
end
|
5013
|
+
end
|
5014
|
+
@IsBindingKnowledge = params['IsBindingKnowledge']
|
5015
|
+
end
|
5016
|
+
end
|
5017
|
+
|
4658
5018
|
# 检索配置
|
4659
5019
|
class KnowledgeQaSearch < TencentCloud::Common::AbstractModel
|
4660
5020
|
# @param Type: 知识来源 doc:文档,qa:问答 taskflow:业务流程,search:搜索增强
|
@@ -4712,6 +5072,38 @@ module TencentCloud
|
|
4712
5072
|
end
|
4713
5073
|
end
|
4714
5074
|
|
5075
|
+
# 问答知识库单工作流模式下指定单工作流配置
|
5076
|
+
class KnowledgeQaSingleWorkflow < TencentCloud::Common::AbstractModel
|
5077
|
+
# @param WorkflowId: 工作流ID
|
5078
|
+
# @type WorkflowId: String
|
5079
|
+
# @param WorkflowName: 工作流名称
|
5080
|
+
# @type WorkflowName: String
|
5081
|
+
# @param WorkflowDesc: 工作流描述
|
5082
|
+
# @type WorkflowDesc: String
|
5083
|
+
# @param Status: 工作流状态,发布状态(UNPUBLISHED: 待发布 PUBLISHING: 发布中 PUBLISHED: 已发布 FAIL:发布失败)
|
5084
|
+
# @type Status: String
|
5085
|
+
# @param IsEnable: 工作流是否启用
|
5086
|
+
# @type IsEnable: Boolean
|
5087
|
+
|
5088
|
+
attr_accessor :WorkflowId, :WorkflowName, :WorkflowDesc, :Status, :IsEnable
|
5089
|
+
|
5090
|
+
def initialize(workflowid=nil, workflowname=nil, workflowdesc=nil, status=nil, isenable=nil)
|
5091
|
+
@WorkflowId = workflowid
|
5092
|
+
@WorkflowName = workflowname
|
5093
|
+
@WorkflowDesc = workflowdesc
|
5094
|
+
@Status = status
|
5095
|
+
@IsEnable = isenable
|
5096
|
+
end
|
5097
|
+
|
5098
|
+
def deserialize(params)
|
5099
|
+
@WorkflowId = params['WorkflowId']
|
5100
|
+
@WorkflowName = params['WorkflowName']
|
5101
|
+
@WorkflowDesc = params['WorkflowDesc']
|
5102
|
+
@Status = params['Status']
|
5103
|
+
@IsEnable = params['IsEnable']
|
5104
|
+
end
|
5105
|
+
end
|
5106
|
+
|
4715
5107
|
# 检索知识
|
4716
5108
|
class KnowledgeSummary < TencentCloud::Common::AbstractModel
|
4717
5109
|
# @param Type: 1是问答 2是文档片段
|
@@ -4739,15 +5131,20 @@ module TencentCloud
|
|
4739
5131
|
# @param IsEnabled: 是否启用工作流
|
4740
5132
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4741
5133
|
# @type IsEnabled: Boolean
|
5134
|
+
# @param UsePdl: 是否启用PDL
|
5135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5136
|
+
# @type UsePdl: Boolean
|
4742
5137
|
|
4743
|
-
attr_accessor :IsEnabled
|
5138
|
+
attr_accessor :IsEnabled, :UsePdl
|
4744
5139
|
|
4745
|
-
def initialize(isenabled=nil)
|
5140
|
+
def initialize(isenabled=nil, usepdl=nil)
|
4746
5141
|
@IsEnabled = isenabled
|
5142
|
+
@UsePdl = usepdl
|
4747
5143
|
end
|
4748
5144
|
|
4749
5145
|
def deserialize(params)
|
4750
5146
|
@IsEnabled = params['IsEnabled']
|
5147
|
+
@UsePdl = params['UsePdl']
|
4751
5148
|
end
|
4752
5149
|
end
|
4753
5150
|
|
@@ -5075,6 +5472,8 @@ module TencentCloud
|
|
5075
5472
|
# @param FileName: 文件名称
|
5076
5473
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5077
5474
|
# @type FileName: String
|
5475
|
+
# @param NewName: 重命名的新文档名称,在重命名提交之后,文档发布之前都是这个名称
|
5476
|
+
# @type NewName: String
|
5078
5477
|
# @param FileType: 文件类型
|
5079
5478
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5080
5479
|
# @type FileType: String
|
@@ -5155,11 +5554,12 @@ module TencentCloud
|
|
5155
5554
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5156
5555
|
# @type IsAllowRetry: Boolean
|
5157
5556
|
|
5158
|
-
attr_accessor :DocBizId, :FileName, :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
|
5557
|
+
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
|
5159
5558
|
|
5160
|
-
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, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil)
|
5559
|
+
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)
|
5161
5560
|
@DocBizId = docbizid
|
5162
5561
|
@FileName = filename
|
5562
|
+
@NewName = newname
|
5163
5563
|
@FileType = filetype
|
5164
5564
|
@CosUrl = cosurl
|
5165
5565
|
@UpdateTime = updatetime
|
@@ -5191,6 +5591,7 @@ module TencentCloud
|
|
5191
5591
|
def deserialize(params)
|
5192
5592
|
@DocBizId = params['DocBizId']
|
5193
5593
|
@FileName = params['FileName']
|
5594
|
+
@NewName = params['NewName']
|
5194
5595
|
@FileType = params['FileType']
|
5195
5596
|
@CosUrl = params['CosUrl']
|
5196
5597
|
@UpdateTime = params['UpdateTime']
|
@@ -5302,21 +5703,29 @@ module TencentCloud
|
|
5302
5703
|
class ListModelRequest < TencentCloud::Common::AbstractModel
|
5303
5704
|
# @param AppType: 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取
|
5304
5705
|
# @type AppType: String
|
5706
|
+
# @param Pattern: 应用模式 standard:标准模式, agent: agent模式,single_workflow:单工作流模式
|
5707
|
+
# @type Pattern: String
|
5708
|
+
# @param ModelCategory: 模型类别 generate:生成模型,thought:思考模型
|
5709
|
+
# @type ModelCategory: String
|
5305
5710
|
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
5306
5711
|
# @type LoginUin: String
|
5307
5712
|
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5308
5713
|
# @type LoginSubAccountUin: String
|
5309
5714
|
|
5310
|
-
attr_accessor :AppType, :LoginUin, :LoginSubAccountUin
|
5715
|
+
attr_accessor :AppType, :Pattern, :ModelCategory, :LoginUin, :LoginSubAccountUin
|
5311
5716
|
|
5312
|
-
def initialize(apptype=nil, loginuin=nil, loginsubaccountuin=nil)
|
5717
|
+
def initialize(apptype=nil, pattern=nil, modelcategory=nil, loginuin=nil, loginsubaccountuin=nil)
|
5313
5718
|
@AppType = apptype
|
5719
|
+
@Pattern = pattern
|
5720
|
+
@ModelCategory = modelcategory
|
5314
5721
|
@LoginUin = loginuin
|
5315
5722
|
@LoginSubAccountUin = loginsubaccountuin
|
5316
5723
|
end
|
5317
5724
|
|
5318
5725
|
def deserialize(params)
|
5319
5726
|
@AppType = params['AppType']
|
5727
|
+
@Pattern = params['Pattern']
|
5728
|
+
@ModelCategory = params['ModelCategory']
|
5320
5729
|
@LoginUin = params['LoginUin']
|
5321
5730
|
@LoginSubAccountUin = params['LoginSubAccountUin']
|
5322
5731
|
end
|
@@ -5539,10 +5948,12 @@ module TencentCloud
|
|
5539
5948
|
# @type AttrLabels: Array
|
5540
5949
|
# @param SimilarQuestionNum: 相似问个数
|
5541
5950
|
# @type SimilarQuestionNum: Integer
|
5951
|
+
# @param SimilarQuestionTips: 返回问答关联的相似问,联动搜索,仅展示一条
|
5952
|
+
# @type SimilarQuestionTips: String
|
5542
5953
|
|
5543
|
-
attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum
|
5954
|
+
attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips
|
5544
5955
|
|
5545
|
-
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)
|
5956
|
+
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)
|
5546
5957
|
@QaBizId = qabizid
|
5547
5958
|
@Question = question
|
5548
5959
|
@Answer = answer
|
@@ -5564,6 +5975,7 @@ module TencentCloud
|
|
5564
5975
|
@AttrRange = attrrange
|
5565
5976
|
@AttrLabels = attrlabels
|
5566
5977
|
@SimilarQuestionNum = similarquestionnum
|
5978
|
+
@SimilarQuestionTips = similarquestiontips
|
5567
5979
|
end
|
5568
5980
|
|
5569
5981
|
def deserialize(params)
|
@@ -5595,6 +6007,7 @@ module TencentCloud
|
|
5595
6007
|
end
|
5596
6008
|
end
|
5597
6009
|
@SimilarQuestionNum = params['SimilarQuestionNum']
|
6010
|
+
@SimilarQuestionTips = params['SimilarQuestionTips']
|
5598
6011
|
end
|
5599
6012
|
end
|
5600
6013
|
|
@@ -7024,10 +7437,13 @@ module TencentCloud
|
|
7024
7437
|
# @param QuoteInfos: 参考来源引用位置信息
|
7025
7438
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7026
7439
|
# @type QuoteInfos: Array
|
7440
|
+
# @param AgentThought: Agent的思考过程信息
|
7441
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7442
|
+
# @type AgentThought: :class:`Tencentcloud::Lke.v20231130.models.AgentThought`
|
7027
7443
|
|
7028
|
-
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
|
7444
|
+
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
|
7029
7445
|
|
7030
|
-
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)
|
7446
|
+
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)
|
7031
7447
|
@Content = content
|
7032
7448
|
@SessionId = sessionid
|
7033
7449
|
@RecordId = recordid
|
@@ -7051,6 +7467,7 @@ module TencentCloud
|
|
7051
7467
|
@TaskFlow = taskflow
|
7052
7468
|
@FileInfos = fileinfos
|
7053
7469
|
@QuoteInfos = quoteinfos
|
7470
|
+
@AgentThought = agentthought
|
7054
7471
|
end
|
7055
7472
|
|
7056
7473
|
def deserialize(params)
|
@@ -7104,6 +7521,10 @@ module TencentCloud
|
|
7104
7521
|
@QuoteInfos << quoteinfo_tmp
|
7105
7522
|
end
|
7106
7523
|
end
|
7524
|
+
unless params['AgentThought'].nil?
|
7525
|
+
@AgentThought = AgentThought.new
|
7526
|
+
@AgentThought.deserialize(params['AgentThought'])
|
7527
|
+
end
|
7107
7528
|
end
|
7108
7529
|
end
|
7109
7530
|
|
@@ -7226,6 +7647,49 @@ module TencentCloud
|
|
7226
7647
|
end
|
7227
7648
|
end
|
7228
7649
|
|
7650
|
+
# 插件参数请求结构
|
7651
|
+
class PluginToolReqParam < TencentCloud::Common::AbstractModel
|
7652
|
+
# @param Name: 参数名称
|
7653
|
+
# @type Name: String
|
7654
|
+
# @param Desc: 参数描述
|
7655
|
+
# @type Desc: String
|
7656
|
+
# @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
|
7657
|
+
# @type Type: Integer
|
7658
|
+
# @param IsRequired: 参数是否必填
|
7659
|
+
# @type IsRequired: Boolean
|
7660
|
+
# @param DefaultValue: 参数默认值
|
7661
|
+
# @type DefaultValue: String
|
7662
|
+
# @param SubParams: 子参数,ParamType 是OBJECT 或 ARRAY<>类型有用
|
7663
|
+
# @type SubParams: Array
|
7664
|
+
|
7665
|
+
attr_accessor :Name, :Desc, :Type, :IsRequired, :DefaultValue, :SubParams
|
7666
|
+
|
7667
|
+
def initialize(name=nil, desc=nil, type=nil, isrequired=nil, defaultvalue=nil, subparams=nil)
|
7668
|
+
@Name = name
|
7669
|
+
@Desc = desc
|
7670
|
+
@Type = type
|
7671
|
+
@IsRequired = isrequired
|
7672
|
+
@DefaultValue = defaultvalue
|
7673
|
+
@SubParams = subparams
|
7674
|
+
end
|
7675
|
+
|
7676
|
+
def deserialize(params)
|
7677
|
+
@Name = params['Name']
|
7678
|
+
@Desc = params['Desc']
|
7679
|
+
@Type = params['Type']
|
7680
|
+
@IsRequired = params['IsRequired']
|
7681
|
+
@DefaultValue = params['DefaultValue']
|
7682
|
+
unless params['SubParams'].nil?
|
7683
|
+
@SubParams = []
|
7684
|
+
params['SubParams'].each do |i|
|
7685
|
+
plugintoolreqparam_tmp = PluginToolReqParam.new
|
7686
|
+
plugintoolreqparam_tmp.deserialize(i)
|
7687
|
+
@SubParams << plugintoolreqparam_tmp
|
7688
|
+
end
|
7689
|
+
end
|
7690
|
+
end
|
7691
|
+
end
|
7692
|
+
|
7229
7693
|
# 文本的坐标,以四个顶点坐标表示
|
7230
7694
|
# 注意:此字段可能返回 null,表示取不到有效值
|
7231
7695
|
class Polygon < TencentCloud::Common::AbstractModel
|
@@ -8065,7 +8529,7 @@ module TencentCloud
|
|
8065
8529
|
# @type Action: Integer
|
8066
8530
|
# @param ActionDesc: 状态描述
|
8067
8531
|
# @type ActionDesc: String
|
8068
|
-
# @param Source: 来源
|
8532
|
+
# @param Source: 来源1:文档生成,2:批量导入,3:手动添加
|
8069
8533
|
# @type Source: Integer
|
8070
8534
|
# @param SourceDesc: 来源描述
|
8071
8535
|
# @type SourceDesc: String
|
@@ -8563,6 +9027,28 @@ module TencentCloud
|
|
8563
9027
|
end
|
8564
9028
|
end
|
8565
9029
|
|
9030
|
+
# 知识库检索策略
|
9031
|
+
class SearchStrategy < TencentCloud::Common::AbstractModel
|
9032
|
+
# @param StrategyType: 检索策略类型 0:混合检索,1:语义检索
|
9033
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9034
|
+
# @type StrategyType: Integer
|
9035
|
+
# @param TableEnhancement: Excel检索增强开关
|
9036
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9037
|
+
# @type TableEnhancement: Boolean
|
9038
|
+
|
9039
|
+
attr_accessor :StrategyType, :TableEnhancement
|
9040
|
+
|
9041
|
+
def initialize(strategytype=nil, tableenhancement=nil)
|
9042
|
+
@StrategyType = strategytype
|
9043
|
+
@TableEnhancement = tableenhancement
|
9044
|
+
end
|
9045
|
+
|
9046
|
+
def deserialize(params)
|
9047
|
+
@StrategyType = params['StrategyType']
|
9048
|
+
@TableEnhancement = params['TableEnhancement']
|
9049
|
+
end
|
9050
|
+
end
|
9051
|
+
|
8566
9052
|
# 相似问信息
|
8567
9053
|
class SimilarQuestion < TencentCloud::Common::AbstractModel
|
8568
9054
|
# @param SimBizId: 相似问ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.987
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|