OpenAI-DotNet icon indicating copy to clipboard operation
OpenAI-DotNet copied to clipboard

Add support for streaming with the assistants API

Open Mitch528 opened this issue 11 months ago • 6 comments

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 avatar Mar 13 '24 21:03 Mitch528

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

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

StephenHodgson avatar Mar 14 '24 15:03 StephenHodgson

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 (https://github.com/openai/openai-node/commit/7d27d286876d0a575d91a4752f401126fe93d2a3).

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

Mitch528 avatar Mar 14 '24 15:03 Mitch528

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

rumrunner0 avatar Mar 21 '24 08:03 rumrunner0

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 avatar Mar 21 '24 11:03 StephenHodgson

  • https://github.com/openai/openai-openapi/issues/208

StephenHodgson avatar Mar 21 '24 11:03 StephenHodgson

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 avatar Apr 20 '24 17:04 StephenHodgson