Rule
Each message on YOCTOL.AI has its own “rule”. Each rule defines a certain situation for the chatbot to react to the chatbot users’ input.
There can only be one message connected to each rule. However, a message can have multiple rules.
If you apply the same rule to multiple messages, the chatbot might not be able to reply correctly.
Example
Take the message “Order information” as an example. The following examples are possible rules for the message.
NLU: Select the intent for “Order Information”
Keyword matching: Select “When it matches any keyword: ‘place an order’, ‘order drinks’ or ‘order’
Regular expression: write a regular expression such as “.*(order|buy).*$”. For more information about regular expressions, please visit Regular Expression.
Last updated