.setIntent('book-flight') // the intent of the sent message (does not have to be set for agent messages)
But in the case of Watson Conversation (IBM tool), the intention its determined by the "Agent" not by the user so..what would happenedd if I do this?:
...
chatbase.setAsTypeAgent();
...
var msg = chatbase.newMessage()
.setMessage(data.output.text.toString())
msg.setIntent('XXX')
Hi, The documentation says:
.setIntent('book-flight') // the intent of the sent message (does not have to be set for agent messages)
But in the case of Watson Conversation (IBM tool), the intention its determined by the "Agent" not by the user so..what would happenedd if I do this?: ... chatbase.setAsTypeAgent(); ... var msg = chatbase.newMessage() .setMessage(data.output.text.toString()) msg.setIntent('XXX')
Would be broke something? The request was sended