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

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

Open
anishgurjar opened this issue Sep 30, 2024 · 2 comments
Labels
needs attention This issue needs the attention of a contributor.

Comments

@anishgurjar
Copy link

Language
Javascript/Typescript

Version
latest

Description
Hi, I have a bot that was working fine a few days ago. It is using Azure OpenAI Chat on your Data feature.

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
Create a prompt that is about a paragraph long and add it in role_information in the config.json file.
Have about 15-20 documents in the storage over which RAG is happening.
Run it in teams (not test tool).

Copy link
Contributor

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Sep 30, 2024
@anishgurjar
Copy link
Author

anishgurjar commented Sep 30, 2024

Would appreciate info how I could turn citations off until this is resolved. Couldn't find a simple answer in the docs to do so.

EDIT: I explicitly mentioned in system prompt to not generate citations and that seems to be the workaround for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs attention This issue needs the attention of a contributor.
Projects
None yet
Development

No branches or pull requests

1 participant