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

Add support for streaming with the assistants API #267

Open
Tracked by #285
Mitch528 opened this issue Mar 13, 2024 · 6 comments · May be fixed by #309 or RageAgainstThePixel/com.openai.unity#235
Open
Tracked by #285

Add support for streaming with the assistants API #267

Mitch528 opened this issue Mar 13, 2024 · 6 comments · May be fixed by #309 or RageAgainstThePixel/com.openai.unity#235
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Mitch528
Copy link
Contributor

Feature Request

Add support for streaming with the assistants API

Additional context

https://platform.openai.com/docs/assistants/overview/step-4-create-a-run?context=with-streaming

@Mitch528 Mitch528 added the enhancement New feature or request label Mar 13, 2024
@StephenHodgson StephenHodgson self-assigned this Mar 13, 2024
@StephenHodgson
Copy link
Member

They still haven't added it to the OpenAPI spec yet

https://github.com/openai/openai-openapi

@Mitch528
Copy link
Contributor Author

They still haven't added it to the OpenAPI spec yet

https://github.com/openai/openai-openapi

@StephenHodgson

Odd. It has been added to their node client though (openai/openai-node@7d27d28).

API docs have also been updated https://platform.openai.com/docs/api-reference/assistants-streaming

@rumrunner0
Copy link

rumrunner0 commented Mar 21, 2024

Hi everyone. It seems the streaming feature for the Assistant API has just been released. Is it possible to start working on its support?

Here is the start point
https://platform.openai.com/docs/api-reference/assistants-streaming

@StephenHodgson
Copy link
Member

Hi everyone. It seems the streaming feature for the Assistant API has just been released. Is it possible to start working on its support?

Here is the start point https://platform.openai.com/docs/api-reference/assistants-streaming

See previous reply about OpenAI OpenAPI document not being updated yet. I use that document as input for source generator.

@StephenHodgson
Copy link
Member

StephenHodgson commented Mar 21, 2024

@StephenHodgson
Copy link
Member

StephenHodgson commented Apr 20, 2024

So it seems they actually use a completely different API surface for this which is quite a breaking change.

So I won't be adding this until OpenAI-DotNet 8.0.0

OpenAI-Beta: assistants=v2

@StephenHodgson StephenHodgson removed a link to a pull request Apr 20, 2024
@StephenHodgson StephenHodgson added this to the 8.0.0 milestone Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
3 participants