I am currently new to IBM Watson (Watson Assistant) and I can't figure it out. Where can it be found?
code:
var watson = require('watson-developer-cloud');
var assistant = new watson.AssistantV1({
iam_apikey: '{apikey}',
version: '2018-09-20',
url: '{url}'
});
assistant.message({
workspace_id: '{workspace_id}', // <-- THIS, where can i get the right parameter.
input: {'text': 'Hello'}
}, function(err, response) {
if (err)
console.log('error:', err);
else
console.log(JSON.stringify(response, null, 2));
Thanks.
There are two options on how to retrieve the workspace ID for IBM Watson Assistant.