RE: Need help on creating multiple bot responses one by one for a single user input using aiml |
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. |
|
|
|
|