1
votes

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?

1

1 Answers

1
votes

Its quite simple.

Just use

"service":<[email protected]?>

It will store all the input value of this entity in service array.