简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM