dotnet / dotnet/extensions

Consider adding ChatResponseUpdate.PartId

Open
#6,965 0 comments 0 reactions 0 assignees View on GitHub
api-suggestion area-ai enhancement
Dominant language
C#
Stars
3.2k
Forks
894
Avg merge
1d 12h
Merged PRs (30d)
23

Description

Most AI providers when streaming assign an ID or index to each piece of content such that all of the streamed pieces of that component tie back to which one it is. We should consider adding that to ChatResponseUpdate. We would then also factor that into ToChatResponse{Async}, only coalescing within the same part.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.