Join the Bot Libre open source project at BotLibre.org
Bot Libre Dev : Need help on creating multiple bot responses one by one for a single user input using aiml

RE: Need help on creating multiple bot responses one by one for a single user input using aiml

by admin posted Sep 23 2016, 13:11

To have an AIML template have multiple lines you can use HTML.

For example,
<category> <pattern>hello</patten> <template> Hello! <br/> How can I help? </template>

To send two separate responses, this is not directly possible. You can do this in your client, such as using our JavaScript SDK. You can use a timer in JavaScript to send a followup input a few seconds after the first input, and get a second response from the bot.


Id: 14056437
Posted: Sep 23 2016, 13:11
Updated: Sep 23 2016, 13:13
Replies: 0
Views: 2091, today: 1, week: 1, month: 20
0 0 0.0/5