Adding AI rules
To make the AI recognise certain phrases and reply with a relevant answer go to the Set Up AI tab in the dashboard. If you used a template to create your bot, it is likely that a few example rules already exist.
You can set up new rules by clicking on the Add AI Rule button.
Next, you will need to enter phrases which should trigger a specific response from the bot. These do not need to match the user’s message exactly. E.g. if you enter “show lunch menu” the AI will also trigger that rule if the user asks “Can you show me your lunch menu?”. This comes in very handy because you definitely don’t want to enter every single possibility of a sentence there is.
Please note: The more different phrases you enter here the better your bot will be able to figure out similar meanings in other phrases. It is generally a good practice to enter about 5-10 phrases per rule to get the best matching possible.
After defining the trigger you need to give the AI a block to go to when it recognises a certain phrase, this you can do on the right side of the rule block. It will suggest a few existing blocks when you click the text field, but you can also enter the block name yourself.
Creating AI Groups
To make your bot's AI more structured and systematic, you can create separate groups of AI rules by clicking the Add Group button. This way it will be easier for you to navigate your bot's AI as you can set up AI rules for each separate block group of your bot.
Clone AI Groups between bots
Hover over the group name and click on ‘…’ to open the context menu:
After doing this you should be all set! Try it out and see if your bot got smarter.