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

[OpenAI][Assistants] Support for streaming enabled endpoints #39733

Merged
merged 86 commits into from
May 28, 2024

Conversation

jpalvarezl
Copy link
Member

@jpalvarezl jpalvarezl commented Apr 16, 2024

This is a WIP

Closes #39462

  • Code gen based on spec repo branch
  • StreamTests added for sync/async and Azure/non-Azure
  • SSE implementation for Assistants
  • Introduction of StreamUpdate class for stream updates
  • Added documentation for classes, methods, etc. related to streaming

Still missing:

  • rest API commit hash in main

@jpalvarezl jpalvarezl changed the title [OpenAI][Assistants] [OpenAI][Assistants] Support for streaming enabled endpoints Apr 16, 2024
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-ai-openai-assistants

@jpalvarezl
Copy link
Member Author

Hi @alikian , we really appreciate the interest! We are doing what we can to have this done ASAP. I added more details in the issue mentioned in the description of this PR.

But in summary, we need to first merge the spec in this other PR before this code can reach main.

We are targeting a package release for the end of the month, which will include features from Assitants V2 as well.

@jpalvarezl jpalvarezl marked this pull request as ready for review May 23, 2024 09:32
Copy link
Member

@srnagar srnagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jpalvarezl jpalvarezl enabled auto-merge (squash) May 28, 2024 18:30
@jpalvarezl jpalvarezl merged commit 9058c16 into main May 28, 2024
18 of 19 checks passed
@jpalvarezl jpalvarezl deleted the jpalvarezl/issue_39462_assistant_streaming branch May 28, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[OpenAI-Assistant] Add Server Sent Events (SSE) support
5 participants