Share feedback, ideas and get community help

Updated 5 months ago

Delay in loading bot response

At a glance

The community member is experiencing a noticeable delay when loading their OpenAI-powered bot in a React app. They are seeking suggestions to improve the speed and a method to integrate a loader for a more seamless user experience. Additionally, they mention a noticeable gap when attaching images.

In the comments, another community member suggests using welcome bubbles and adding a "Wait" block with the "Pause the flow" option enabled before the OpenAI block. This will ensure the bubbles are displayed before making the OpenAI request. The community members confirm this helps, but one asks if it's possible to pre-load the bot, to which another community member responds that there is no way to do that for now.

Useful resources
A noticeable delay occurs when trying to load my OpenAI-powered bot in a React app. Kindly offer suggestions to improve its speed, and propose a method to integrate a loader for a more seamless user experience. Additionally, when attaching images, there is a noticeable gap between the two.
Attachments
Screenshot_2023-12-27_174600.png
Screenshot_2023-12-27_174535.png
B
G
6 comments
I suggest you start with some welcome bubbles or else, then make sure to add a Wait block right before the OpenAI block with the "Pause the flow" option enabled (https://docs.typebot.io/editor/blocks/logic/wait#pause-the-flow)
It will make sure to display the bubbles before making the OpenAI request.
Does that help?
Yes, Thank You!
Just a question, can we pre-load the bot?
No way to do that for now!
Add a reply
Sign up and join the conversation on Discord