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

.Net: [Agents] Abstraction for streaming #5202

Conversation

SergeyMenshykh
Copy link
Member

Motivation, Context and Description

Today, the agent abstraction lacks streaming capabilities that would enable agents to stream content provided by LLM back to the calling code. This PR introduces the first step in this direction by reusing chat completion API streaming building blocks, such as StreamingChatMessageContent, StreamingKernelContent, and so on. Later, when the OpenAI Assistants API supports streaming, the abstraction will need to be revised to support streaming for both chat completion and assistant APIs.

Contribution Checklist

@SergeyMenshykh SergeyMenshykh merged commit bdf8dc7 into microsoft:feature-agents-abstraction Mar 5, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents experimental Associated with an experimental feature kernel.core .NET Issue or Pull requests regarding .NET code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants