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

Streaming Client Result investigation - assistants 2 #49

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

annelo-msft
Copy link
Collaborator

Building on work by @trrwilson in #26 - primarily for prototyping and leaning

@annelo-msft annelo-msft changed the base branch from main to user/traviw/streaming-assistants March 29, 2024 00:01
@annelo-msft annelo-msft changed the base branch from user/traviw/streaming-assistants to main March 29, 2024 00:01
PipelineResponse response = message.Response;
try
{
// TODO: dust this part up...
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO


public async ValueTask<bool> MoveNextAsync()
{
// TODO: Can we wrap the boilerplate parts of this up into a special SSE base type for this?
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO

// TODO: Revisit the IDisposable question
public abstract class StreamingClientResult<T> : ClientResult, IAsyncEnumerable<T>
// TODO: Note that constraining the T means the implementation can use
// ModelReaderWriter for deserialization.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO: this is an important piece for a generalizable implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants