Re-enable Response Stream #241
Replies: 3 comments 3 replies
-
Just want to second this, I'm trying to figure it out for myself |
Beta Was this translation helpful? Give feedback.
-
I do this in my fork still, it was removed it seems in this repo, you can stream it by tokens but that requires more work and it seems here it was removed perhaps because it is harder to deal with that case? https://github.com/groovybits/gaib see in utils/makechain.ts and pages/api/chat.ts for how that all works / differences. I have done a lot of stuff there for having more fine grained control of the OpenAI and Pinecone handing though, so not an easy comparison (it handles various things like history buffer overflows, retries, avoiding crashing when the prompt is too big...) |
Beta Was this translation helpful? Give feedback.
-
I noticed that in the chat.ts file there is the boolean isStreaming parameter, what is it for? |
Beta Was this translation helpful? Give feedback.
-
Hey guys, I've noticed that the main branch has had the feature of streaming the response back into the FE in real-time removed.
Does any one know why this is? or is able to assist in taking main and re-enabling the feature?
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions