Dołącz do BOT Libre projekt open source na 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

w admin wysłany 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.


Identyfikator: 14056437
Wysłany: Sep 23 2016, 13:11
Aktualizacja: Sep 23 2016, 13:13
Odpowiedzi: 0
Widok: 2092, dziś: 1, tydzień: 2, miesiąc: 21
0 0 0.0/5