The main feature of Watson Assistant is to categorize utterances and extract entities from them. Currently, the only way to use this feature is to edit the dialog using the UI provided on IBM cloud. It would be nice to have access to the main feature by having an API call that only returns the intents and entities of an utterance. The main reason why this would be useful is to implement chatbots using programming languages such as node.js or Python. The advantage of this would be to make the organization of the conversation simpler than by using nodes and make more complicated conversations simpler to program.
For example, think about how you would implement the following using nodes:
WA: "What items do you want?"
Customer: "I want 3 fries, a coca-cola and 2 cheese burgers"
WA: "I see you ordered 3 fries, 1 coca-cola and 2 cheese burgers"
Using the dialog editor, this is almost impossible and would require a douzain nodes to implement the logic and it would make the dialog super messy. It also defeats the purpose of thinking about nodes as 1 condition 1 response. Using a programming language, it would be much easier to see that "@sys-number:3" comes right before the entity "@menu-item:fries", the entity "@menu-item:coca-cola" doesn't have a number before it so it must be qty 1, etc. This is just one instance where a programming language would be useful but there are many more.
I tried to implement a solution that does that myself using the current version of the API but I feel like I'm swimming against the current. Can you please add API calls that would make it easier to do design a dialog using a programming language?
Let me know if you want more information
|Who would benefit from this IDEA?||Any Watson Assistant Conversational Trainer that wants more flexibility in editing dialogs|
|IBM's success depends on gathering feedback from customers like yourself. Aha Ideas Portal is the third party tool through which IBM Offering Managers gather feedback from customers such as yourself.|
|IBM is a global organization with business processes, management structures, technical systems and service provider networks that cross borders. As such, the information collected through Aha Ideas Portal (Customer Name, Customer Email Address) will be stored by them in the United States, and handled only as per IBM's instructions and policies. Your data (Name and Email Address) will NOT be shared with other IBM customers.|
|In order to safeguard your information in Aha, do not leave your workstation unattended while using this application, log off after using it, and print only if necessary. If you need to make a hardcopy, remember to pick up the print-out immediately, keep it under lock, and destroy it immediately when no longer needed.|
|NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "firstname.lastname@example.org" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions|