-
Notifications
You must be signed in to change notification settings - Fork 155
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
add openai streaming #101
add openai streaming #101
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #101 +/- ##
===================================
- Coverage 81% 79% -2%
===================================
Files 13 13
Lines 743 806 +63
===================================
+ Hits 599 633 +34
- Misses 144 173 +29 |
…serve into aniket/openai-streaming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a few comments before we merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one comment, and it's missing changes to the README.md (which is now incompatible with what is in here).
Also we need to produce a good error message for when the user return
s from predict
instead of yield
ing ("OpenAISpec requires predict
to be streaming... etc")
@lantiga added validation to ensure that |
…serve into aniket/openai-streaming
Looks good, let's see if tests pass and we merge |
this PR converts the existing OpenAI Spec to return streaming response