Replies: 1 comment
-
I got this problem as well, but I found that if u pass more value just than |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create intermediary microservice that is calling GPT API using this library, gets output and re-streams it to web frontend.
Here is how I'm trying to make it:
StreamAnswer
looks like this:For now, my endpoint returns a proper message generated by GPT but it does not stream it. I mean: my endpoint waits until GPT returns entire message and then returns all of the text instead of displaying words as they arrive.
As you can see, I also print chunks of message using
Console.Write
and I can see in Console window that indeed answers arrive word by word. But for some reason webapi endpoint then buffers it and returns text when GPT finishes streaming.Beta Was this translation helpful? Give feedback.
All reactions