Skip to content

[Bug]: Repeated references to the same citation in streamed content leads to errors #2461

@Krishna122022

Description

@Krishna122022

While sending text chunks with reference to same citations, duplicate citations are added to Entities which leads to streaming errors.

For example, if citation [1] was referenced multiple times in streamed text

streamer.QueueTextChunk("This is a sample text referencing first document [1] and second document [2], However the more relevant document appears to be first document [1].");

Total 3 citations are added into the final sent activity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdotnetChange/fix applies to dotnet. If all three, use the 'JS & dotnet & Python' label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions