ar watson = require('watson-developer-cloud');

var conversation = watson.conversation({
  username: '&lt;username>',
  password: '&lt;password>',
  version: 'v1',
  version_date: '2016-07-01'
});

conversation.message({
  input: 'What\'s the weather?',
  workspace_id: '&lt;workspace id>'
 }, function(err, response) {
     if (err) {
       console.error(err);
     } else {
       console.log(JSON.stringify(response, null, 2));
     }
});</code></pre><h3>Dialog</h3><p>Use the Dialog service to list all the 