replyParameters.multipleMessagesPerReply
is enabled (either per request or at the project configuration level), AI replies can be split into multiple shorter messages instead of a single long one.
For example, instead of sending:
Hey Anthony! How are you this morning? I’m exhausted, didn’t sleep well, it’s way too hot lately 🥵The system might send:
Hey Anthony! How are you this morning?This feature is designed to improve readability and make conversations feel more natural and dynamic.
I’m exhausted, didn’t sleep well, it’s way too hot lately 🥵
How it works
- When activated, replies may be split. It’s not systematic. Several generation strategies and a level of randomness are involved.
- Messages are always sent in order.
- By default, messages are sent instantly, one after another.
- A new message is sent only after the previous one has been successfully delivered.
Managing message pacing
If you want a more natural pacing (instead of instant bursts), you should manage the timing between messages. There are two options:- Use our built-in delay system via
replyParameters.replyTypingDelay
(recommended). You can choose betweenNORMAL
orFAST
delays. - Handle the delay yourself on your side.
- Each message is preceded by an
answer.processing
event (so you can show a typing indicator). - Then a pause is applied.
- Then the message is sent.
answer.created
event.