Replies: 1 comment 1 reply
-
Hi @tunyawat, only the Chat Completion endpoint had streaming support last time I worked on the project. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
After following the tutorial, I was able to retrieve results for streamed ChatCompletion under the HandleResponse method using the code below:
However, when it comes to TextCompletion, the structure is different, and I'm not sure how to extract the result. I tried using the following line but it didn't produce any output.
For clarity, here is the Choice structure:
Beta Was this translation helpful? Give feedback.
All reactions