-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typing effects #1
Comments
Thanks, first for all. I'm glad that you are interested. I thought of adding that typing effect, but due to some consideration I dropped it. As mentioned in the repo description, it utilizes Azure OpenAI API for core functionality. When the user enters the prompts, that request will be sent to the backend, then that hits the Azure OpenAI service. So, the response from the Azure OpenAI service directly hits the backend all at once, instead of streaming chunks of response like ChatGPT does. then we sent the response as whole to the frontend. we can still achieve that effect either from backend or frontend, like after getting the response whole at once from Azure OpenAI service, we can present the response to user as chucks to simulate that typing effect. Reason Why I dropped that idea is the response time. already the data travels the long path, processing that response data in our side might increase the waiting time. TBH, I'm interested in implementing that effect and test it to see if the response time is reasonable. Maybe I'll work on that on my free time or else if you are interested in that, your PR is more welcomed (if you are into web dev). |
Thank you for your very helpful response. I also hope the project achieves certain successes.
|
I appreciate your work. But I have 1 problem how to get "typing effect" like ChatGPT?
The text was updated successfully, but these errors were encountered: