We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Core OpenAI streaming response stream one word at a time e.g
Hello ! How can I help you ?
But useChat from ai package stream like approx 3-4 words at a time. e.g
useChat
ai
Hello! How can I help you?
is there any option I can set word streaming limit at a time?
For rendering smooth streaming of incoming response instead of flickering
No response
The text was updated successfully, but these errors were encountered:
It seems that the Azure OpenAI API will return it that way, so is there a way to deceive it on the front-end...?
https://github.com/Azure-Samples/azure-search-openai-demo/blob/33bc5058e0e7249e78e3b0822ef3cca09d03101a/app/frontend/src/pages/chat/Chat.tsx#L84
Sorry, something went wrong.
You'll need to handle this with your own code, as streaming can be performance / model dependent.
No branches or pull requests
Feature Description
Core OpenAI streaming response stream one word at a time e.g
Hello
!
How
can
I
help
you
?
But
useChat
fromai
package stream like approx 3-4 words at a time. e.gHello! How
can I help
you?
Screen.Recording.2024-02-02.at.7.11.12.PM.mov
is there any option I can set word streaming limit at a time?
Use Case
For rendering smooth streaming of incoming response instead of flickering
Additional context
No response
The text was updated successfully, but these errors were encountered: