RecastAI 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/recastai/conversation.rb +1 -1
- data/lib/recastai/utils.rb +1 -1
- 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: 8d58d68e62629b591fffce5b9b25760cbf33df04
|
4
|
+
data.tar.gz: feeffc07cefdc2ac4330ac7c55a97c34f3739f95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0432fb7213212e053006db659ed72125dd4cfa0805c3bd6987e12a0b2941038a81e9ec664387afac90200622184fbaccda3a6ea727deef00438b66163456c6c3
|
7
|
+
data.tar.gz: b8e8ecacb4793e2ea3ea898a7a1ae3c27f8045878b6503fce23545d3d6f7e930e67b600376c424af1e73c529a93406292e4af755d5430be6a229ef06a86f374f
|
@@ -28,7 +28,7 @@ module RecastAI
|
|
28
28
|
@uuid = response['uuid']
|
29
29
|
@source = response['source']
|
30
30
|
@replies = response['replies']
|
31
|
-
@action = Action.new(response['action'])
|
31
|
+
@action = response['action'] ? Action.new(response['action']) : nil
|
32
32
|
@next_actions = response['next_actions'].map{ |i| Action.new(i) }
|
33
33
|
@memory = response['memory'].select{ |n, e| !e.nil? }.map{ |n, e| Entity.new(n, e) }
|
34
34
|
@entities = response['entities'].flat_map{ |n, e| e.map{ |ee| Entity.new(n, ee) } }
|
data/lib/recastai/utils.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RecastAI
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Renvoisé
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|