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

can't get stream response since no examples. #45

Open
xkungxfu opened this issue Aug 20, 2023 · 0 comments
Open

can't get stream response since no examples. #45

xkungxfu opened this issue Aug 20, 2023 · 0 comments

Comments

@xkungxfu
Copy link

Describe the feature or improvement you're requesting

I download the dev branch. and I built project from below example:
https://github.com/D7EAD/liboai/blob/main/documentation/chat/examples/create_chat_completion.cpp

one problem is I don't know how to call "AppendStreamData".
another problem is I don't know how to add "stream" parameter into request: oai.ChatCompletion->create

so, I can't get response as stream.

Waiting for update. thanks!

Additional context

No response

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

No branches or pull requests

1 participant