Upgrade to our Platinum service and let us build your bot for you
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,
1
2
3
4
5
6
7
8
9
<category>
<pattern>hello</patten>
<template>
Hello!
<br/>
How can I help?
</template>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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: 2340, today: 3, week: 3, month: 20
0 0 0.0/5