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

Citation De-duplication from @TaylorN15 #476

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

dayland
Copy link
Contributor

@dayland dayland commented Jan 24, 2024

This change is to fix the duplication of citations in the response from the LLM. Currently, every citation is given a new index even if we already have generated a citation for it, so if the one document was used 4 times in the response, you would see citations 1, 2, 3, 4. This change will ensure only 1 citation is displayed (in this example case).

Added separate commit with a bit of code/comments cleanup

Credit to @TaylorN15

@dayland dayland merged commit 43d7d5f into vNext-Dev Jan 24, 2024
6 checks passed
@dayland dayland deleted the dayland/citation-de-duplication-from-TaylorN15 branch January 24, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants