Warning: count(): Parameter must be an array or an object that implements Countable in /home/iteanz/public_html/wp-includes/post-template.php on line 317

Lab 5 summary

That’s all it takes to programmatically interact with Watson Conversation.

The Watson Conversation service provides a stateless API. To maintain state, that is, continue a conversation from where you left off, you must get the context returned in Watson’s response and include it in the next request, for example:

{
input: {
“text”: “Show me a list of parks”
},
“context”: { /* context contents */ }
}