user7500445
user7500445

Reputation:

Watson, types of condidions

I have one example. I create some intent inside Watson Conversation, and I want to knows how I can do some condition for it?

Example:

Watson: Hi, tell me your number

Me: 99999-9999 (and have some regex inside advanced conversation flows, i check wih context variables in the case is number and works fine)

The conversation will only continue if he enters the 9 numbers correctly.

I try it:

check image

Upvotes: 0

Views: 134

Answers (1)

chughts
chughts

Reputation: 4747

Use a regular expression to parse the input and extract the number using syntax similar to

then have a dialog node condition based on the number extracted.

Upvotes: 1

Related Questions