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 😊 |
Beta Was this translation helpful? Give feedback.
-
Hello @tjtanjin, Thanks for the information. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello @tjtanjin , I think it is inside the getResponse method. Here is a bit of my code:
|
Beta Was this translation helpful? Give feedback.
-
Hello @tjtanjin, Thanks once again! It worked| My updated code:
|
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions