Have the responsive be written slowly like ChatGPT and Gemini #93
Replies: 4 comments 5 replies
It appears in chunks because that's how the responses are returned from the API calls. You can emulate the writing though, like this example: https://react-chatbotify.com/docs/examples/real_time_stream It's not the best and can be improved but you get the idea 😊 |
|
Hello @tjtanjin, Thanks for the information. Thanks |
|
Hello @tjtanjin , I think it is inside the getResponse method. Here is a bit of my code: |
|
Hello @tjtanjin, Thanks once again! It worked| My updated code: |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Is it possible to have the response be written slowly like ChatGPT and Gemini instead of the whole answer be displayed at once?
If yes, how?
Thanks
All reactions