Skip to content
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

Implemented streaming for create_chat_completion #50

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

can-taslicukur
Copy link

@can-taslicukur can-taslicukur commented Sep 16, 2023

Closes #48

This PR introduces the implementation of streaming for create_chat_completion and also adds an example of how to use it in a Shiny application. It can be implemented similarly for all endpoints with a stream argument.

Also, I am not sure if we should or the best way to parse the response before applying the stream_function. So I am open to suggestions :)

@can-taslicukur can-taslicukur marked this pull request as draft September 16, 2023 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stream functionality
1 participant