microsoft / teams-ai

SDK focused on building AI based applications and extensions for Microsoft Teams and other Bot Framework channels
MIT License
403 stars 176 forks source link

[Bug]: The value of citation entity field 'citation.appearance.abstract' exceeds the length limit #2064

Open anishgurjar opened 2 hours ago

anishgurjar commented 2 hours ago

Language

Javascript/Typescript

Version

latest

Description

Hi, I have a bot that was working fine a few days ago. All of a sudden, I started getting this error:

RestError: Error while parsing citation entity with id: 1. Detailed error message: The value of citation entity field 'citation.appearance.abstract' exceeds the length limit. The maximum length is '480' characters, but the provided length is '500' characters.

I thought it was just me, until I also saw a post here: https://learn.microsoft.com/en-us/answers/questions/2083250/the-value-of-citation-entity-field-citation-appear

The only thing that has changed is I have been adding more documents in my blob storage, though not sure if it is related or not.

Reproduction Steps

  1. Create a prompt that is about a paragraph long and add it in role_information in the config.json file.
  2. Have about 15-20 documents in the storage over which RAG is happening.
  3. Run it in teams (not test tool).
anishgurjar commented 2 hours ago

Can I turn citations off temporarily until this is addressed? if so, how?