Skip to content

Consider adding ChatResponseUpdate.PartId #6965

@stephentoub

Description

@stephentoub

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-aiMicrosoft.Extensions.AI librariesuntriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions