watson-conversation 0.1.5 → 0.1.6
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/README.md +2 -2
- data/lib/watson/conversation/version.rb +1 -1
- 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: 65e068d96a7510f073e22a677567e59ea0d00656
|
4
|
+
data.tar.gz: a162d02c5fcf73100a345db4f7bc3c5df9c43595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cd76b4059189672e03ce8f3eb4c0478125d3f5de90e0f0786ffcccce705b8cc16499d7b27a6acc1aa884a496decea4f5b7b8cdcb69a414291f2defcd1c58bd2
|
7
|
+
data.tar.gz: 1eb776226c23864a1578142ea498ff89fa3feaa5ca4c4737f079017660d794e307d06ae725d05a0fd5f6cacb7c3fa1330ed6a0defdacc6c7f54b71ee3ebeec6d
|
data/README.md
CHANGED
@@ -31,11 +31,11 @@ manage = Watson::Conversation::ManageDialog.new(
|
|
31
31
|
|
32
32
|
# Get a greet message from a conversation system.
|
33
33
|
puts response1 = manage.talk("user1", "")
|
34
|
-
#=>
|
34
|
+
#=> {user: user1, status_code: 200, output: [\"What would you like me to do?\"]}
|
35
35
|
|
36
36
|
# Get a response to a user's input.
|
37
37
|
puts response2 = manage.talk("user1", "I would like you to ...")
|
38
|
-
#=>
|
38
|
+
#=> {user: user1, status_code: 200, output: [\"I help you ...\"]}
|
39
39
|
|
40
40
|
# Check if the user exists
|
41
41
|
puts manage.has_user?("user1")
|