You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the previous data can be obtained. Please pay attention to the end mark (data: [DONE]) of the last line.
This is not a json format. The parsing may return null and an error may be reported when using it later.
Solution
Is it possible to customize the parsing process so that I can perform special processing on the data returned by different language models and finally process it into a unified format?
The text was updated successfully, but these errors were encountered:
Discussed in #6198
Originally posted by niltor May 12, 2024
Problems I encountered
When I use
Kernel.InvokePromptStreamingAsync(prompt);
, I have errors:Because the LLM what I used return data like:
All the previous data can be obtained. Please pay attention to the end mark (
data: [DONE]
) of the last line.This is not a json format. The parsing may return null and an error may be reported when using it later.
Solution
Is it possible to customize the parsing process so that I can perform special processing on the data returned by different language models and finally process it into a unified format?
The text was updated successfully, but these errors were encountered: