Skip to content

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

Open
@xkungxfu

Description

@xkungxfu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions