Reputation: 11
I'm trying to create a Watson chatbot and I'm running into this issue.
I'm making chatbot that's helping people find organizations that provide food, shelter, drug treatment, etc.
I have a dialog node that asks the user what service they're looking for and storing it as a $service context variable.
This works well if the user says something like "I want food" as "food" gets stored into $service.
But say for instance a user says something like "I want food and drug treatment." I want Watson to then be able to store both of these variables as context variables.
How do I do that?
Upvotes: 1
Views: 1088
Reputation: 187
Its quite simple.
Just use
"service":<[email protected]?>
It will store all the input value of this entity in service array.
Upvotes: 2