-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Streaming text responses #27
Comments
I would like to second that this is a must-have for even starting to use the package 👍 |
Hi, is there a timeframe for this feature? The first thing that needs to be discussed is if the streaming option should be an extension of the After that the implementation seems simple, there should be a This If we can get to a specification together I could start working on this feature |
Really need this also :) |
Same here, waiting for it to start implementing prism
…On Sat, Nov 23, 2024 at 9:30 AM Tommy Vedvik ***@***.***> wrote:
Really need this also :)
—
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD6PVG2R2A3VPQOPTWZ5C32CCGSFAVCNFSM6AAAAABQBQRNEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGQ4TONZUGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
--
My new company: we do AI: https://www.getsimplyput.ai/
https://www.linkedin.com/in/petervandijck/
http://petervandijck.com/
Cell: +57 (300) 836-7690
|
Hey @sixlive, thanks for creating this package! Do you have any idea when streaming will be a thing? |
+1 @sixlive - thanks for the package, is awesome! also eagerly looking to have stream available |
I have achieved this functionality using a python library and websockets to stream to my frontend. That was ~2 years ago already. If you're struggling to implement this fully, then as a first phase you could maybe just expose the text streaming and let us handle it as we wish, so if we want to broadcast to a websocket channel we can do that. |
@vesper8 I don't think this library is trying to implement backend to frontend communication. It needs to recieve the API stream directly from the providers (that usually is always an SSE (Server-Sent Event) stream) and map it into a standard Structured ResponseChunks that can be used with any model and provider. |
Description
Enabling streaming of generated text, which will be particularly useful for real-time applications and improved user experiences.
The text was updated successfully, but these errors were encountered: