Liity Bot Libre open source -projektiin osoitteessa 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

tekijä admin Lähetetty 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
Lähetetty: Sep 23 2016, 13:11
Päivitetty: Sep 23 2016, 13:13
Vastaukset: 0
Näkymät: 1983, Tänään: 1, Viikolla: 3, Kuukausi: 13
0 0 0.0/5