tencentcloud-sdk-tbp 3.0.584 → 3.0.585
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/v20190311/models.rb +61 -2
- data/lib/v20190627/models.rb +6 -2
- 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: 0fe1f0899d538750e5c2e2f43a8fb268393b632c
|
4
|
+
data.tar.gz: b92ad7fdbbacd756a26e1da1cc0f76a4869df585
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d6a3ac6d4418de787714c361cf4f172ea7030bd80355874c80fa3b29a0768f0bc42a7bf7ebbf7fa45c3aed12af97e1e22c935f0cee3afbf08331f8abf5646a7
|
7
|
+
data.tar.gz: d2ccdd7962863a012d53514ddd219ea07c60f14fa9ccfbd9fdbcf0f499cff029444b8014d8c120308fd7055e342b9866a5585e725c25446c8a664815344aeed1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.585
|
data/lib/v20190311/models.rb
CHANGED
@@ -61,6 +61,32 @@ module TencentCloud
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
# Group是消息组的具体定义,当前包含ContentType、Url、Content三个字段。其中,具体的ContentType字段定义,参考互联网MIME类型标准。
|
65
|
+
class Group < TencentCloud::Common::AbstractModel
|
66
|
+
# @param ContentType: 消息类型参考互联网MIME类型标准,当前仅支持"text/plain"。
|
67
|
+
# @type ContentType: String
|
68
|
+
# @param Url: 返回内容以链接形式提供。
|
69
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
70
|
+
# @type Url: String
|
71
|
+
# @param Content: 普通文本。
|
72
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
73
|
+
# @type Content: String
|
74
|
+
|
75
|
+
attr_accessor :ContentType, :Url, :Content
|
76
|
+
|
77
|
+
def initialize(contenttype=nil, url=nil, content=nil)
|
78
|
+
@ContentType = contenttype
|
79
|
+
@Url = url
|
80
|
+
@Content = content
|
81
|
+
end
|
82
|
+
|
83
|
+
def deserialize(params)
|
84
|
+
@ContentType = params['ContentType']
|
85
|
+
@Url = params['Url']
|
86
|
+
@Content = params['Content']
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
64
90
|
# Reset请求参数结构体
|
65
91
|
class ResetRequest < TencentCloud::Common::AbstractModel
|
66
92
|
# @param BotId: 机器人标识
|
@@ -156,6 +182,26 @@ module TencentCloud
|
|
156
182
|
end
|
157
183
|
end
|
158
184
|
|
185
|
+
# 从TBP-RTS服务v1.3版本起,机器人以消息组列表的形式响应,消息组列表GroupList包含多组消息,用户根据需要对部分或全部消息组进行组合使用。
|
186
|
+
class ResponseMessage < TencentCloud::Common::AbstractModel
|
187
|
+
# @param GroupList: 消息组列表。
|
188
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
189
|
+
# @type GroupList: :class:`Tencentcloud::Tbp.v20190311.models.Group`
|
190
|
+
|
191
|
+
attr_accessor :GroupList
|
192
|
+
|
193
|
+
def initialize(grouplist=nil)
|
194
|
+
@GroupList = grouplist
|
195
|
+
end
|
196
|
+
|
197
|
+
def deserialize(params)
|
198
|
+
unless params['GroupList'].nil?
|
199
|
+
@GroupList = Group.new
|
200
|
+
@GroupList.deserialize(params['GroupList'])
|
201
|
+
end
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
159
205
|
# 槽位信息
|
160
206
|
class SlotInfo < TencentCloud::Common::AbstractModel
|
161
207
|
# @param SlotName: 槽位名称
|
@@ -233,12 +279,18 @@ module TencentCloud
|
|
233
279
|
# @param ResponseText: 机器人对话的应答文本。
|
234
280
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
235
281
|
# @type ResponseText: String
|
282
|
+
# @param ResponseMessage: 机器人应答。
|
283
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
284
|
+
# @type ResponseMessage: :class:`Tencentcloud::Tbp.v20190311.models.ResponseMessage`
|
285
|
+
# @param ResultType: 结果类型 {中间逻辑出错:0; 任务型机器人:1; 问答型机器人:2; 闲聊型机器人:3; 未匹配上,返回预设兜底话术:5; 未匹配上,返回相似问题列表:6}。
|
286
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
287
|
+
# @type ResultType: String
|
236
288
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
237
289
|
# @type RequestId: String
|
238
290
|
|
239
|
-
attr_accessor :DialogStatus, :BotName, :IntentName, :SlotInfoList, :InputText, :SessionAttributes, :ResponseText, :RequestId
|
291
|
+
attr_accessor :DialogStatus, :BotName, :IntentName, :SlotInfoList, :InputText, :SessionAttributes, :ResponseText, :ResponseMessage, :ResultType, :RequestId
|
240
292
|
|
241
|
-
def initialize(dialogstatus=nil, botname=nil, intentname=nil, slotinfolist=nil, inputtext=nil, sessionattributes=nil, responsetext=nil, requestid=nil)
|
293
|
+
def initialize(dialogstatus=nil, botname=nil, intentname=nil, slotinfolist=nil, inputtext=nil, sessionattributes=nil, responsetext=nil, responsemessage=nil, resulttype=nil, requestid=nil)
|
242
294
|
@DialogStatus = dialogstatus
|
243
295
|
@BotName = botname
|
244
296
|
@IntentName = intentname
|
@@ -246,6 +298,8 @@ module TencentCloud
|
|
246
298
|
@InputText = inputtext
|
247
299
|
@SessionAttributes = sessionattributes
|
248
300
|
@ResponseText = responsetext
|
301
|
+
@ResponseMessage = responsemessage
|
302
|
+
@ResultType = resulttype
|
249
303
|
@RequestId = requestid
|
250
304
|
end
|
251
305
|
|
@@ -264,6 +318,11 @@ module TencentCloud
|
|
264
318
|
@InputText = params['InputText']
|
265
319
|
@SessionAttributes = params['SessionAttributes']
|
266
320
|
@ResponseText = params['ResponseText']
|
321
|
+
unless params['ResponseMessage'].nil?
|
322
|
+
@ResponseMessage = ResponseMessage.new
|
323
|
+
@ResponseMessage.deserialize(params['ResponseMessage'])
|
324
|
+
end
|
325
|
+
@ResultType = params['ResultType']
|
267
326
|
@RequestId = params['RequestId']
|
268
327
|
end
|
269
328
|
end
|
data/lib/v20190627/models.rb
CHANGED
@@ -155,12 +155,14 @@ module TencentCloud
|
|
155
155
|
# @param ResultType: 结果类型 {中间逻辑出错:0; 任务型机器人:1; 问答型机器人:2; 闲聊型机器人:3; 未匹配上,返回预设兜底话术:5; 未匹配上,返回相似问题列表:6}。
|
156
156
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
157
157
|
# @type ResultType: String
|
158
|
+
# @param ResponseText: 机器人对话的应答文本。
|
159
|
+
# @type ResponseText: String
|
158
160
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
159
161
|
# @type RequestId: String
|
160
162
|
|
161
|
-
attr_accessor :DialogStatus, :BotName, :IntentName, :SlotInfoList, :InputText, :ResponseMessage, :SessionAttributes, :ResultType, :RequestId
|
163
|
+
attr_accessor :DialogStatus, :BotName, :IntentName, :SlotInfoList, :InputText, :ResponseMessage, :SessionAttributes, :ResultType, :ResponseText, :RequestId
|
162
164
|
|
163
|
-
def initialize(dialogstatus=nil, botname=nil, intentname=nil, slotinfolist=nil, inputtext=nil, responsemessage=nil, sessionattributes=nil, resulttype=nil, requestid=nil)
|
165
|
+
def initialize(dialogstatus=nil, botname=nil, intentname=nil, slotinfolist=nil, inputtext=nil, responsemessage=nil, sessionattributes=nil, resulttype=nil, responsetext=nil, requestid=nil)
|
164
166
|
@DialogStatus = dialogstatus
|
165
167
|
@BotName = botname
|
166
168
|
@IntentName = intentname
|
@@ -169,6 +171,7 @@ module TencentCloud
|
|
169
171
|
@ResponseMessage = responsemessage
|
170
172
|
@SessionAttributes = sessionattributes
|
171
173
|
@ResultType = resulttype
|
174
|
+
@ResponseText = responsetext
|
172
175
|
@RequestId = requestid
|
173
176
|
end
|
174
177
|
|
@@ -191,6 +194,7 @@ module TencentCloud
|
|
191
194
|
end
|
192
195
|
@SessionAttributes = params['SessionAttributes']
|
193
196
|
@ResultType = params['ResultType']
|
197
|
+
@ResponseText = params['ResponseText']
|
194
198
|
@RequestId = params['RequestId']
|
195
199
|
end
|
196
200
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tbp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.585
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|