[GH-ISSUE #1277] [FEAT]: Citation in pinned document #799

Closed
opened 2026-02-22 18:21:26 -05:00 by yindo · 2 comments
Owner

Originally created by @RahSwe on GitHub (May 3, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1277

What would you like to see?

Instead of the citation showing first page of the pinned document and stating "continued on in source...", having ALLM note which retrieved vectors are corresponding to pinned documents and while not providing those vectors with the prompt, showing these vectors as citations.

Originally created by @RahSwe on GitHub (May 3, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1277 ### What would you like to see? Instead of the citation showing first page of the pinned document and stating "continued on in source...", having ALLM note which retrieved vectors are corresponding to pinned documents and while not providing those vectors with the prompt, showing these vectors as citations.
yindo added the enhancementfeature request labels 2026-02-22 18:21:26 -05:00
yindo closed this issue 2026-02-22 18:21:26 -05:00
Author
Owner

@timothycarambat commented on GitHub (May 3, 2024):

This is not possible because that is not how the model parses the information. When the entire document is in context it is not possible for us to highlight exactly where the response came from because the entire result was used. With vector db search we know exactly where the result came from because we provided it, so there is no guesswork

@timothycarambat commented on GitHub (May 3, 2024): This is not possible because that is not how the model parses the information. When the entire document is in context it is not possible for us to highlight exactly where the response came from because the entire result was used. With vector db search we know exactly where the result came from because we provided it, so there is no guesswork
Author
Owner

@RahSwe commented on GitHub (May 3, 2024):

@timothycarambat Maybe I am misunderstanding, but would it not be possible to include the document in the DB search and add the retrieved vector in citations, even though the document in its entirety was forwarded in the prompt, to clarify where there are information in the pinned document relating to the search? That would ease the verification procedure.

@RahSwe commented on GitHub (May 3, 2024): @timothycarambat Maybe I am misunderstanding, but would it not be possible to include the document in the DB search and add the retrieved vector in citations, even though the document in its entirety was forwarded in the prompt, to clarify where there are information in the pinned document relating to the search? That would ease the verification procedure.
yindo changed title from [FEAT]: Citation in pinned document to [GH-ISSUE #1277] [FEAT]: Citation in pinned document 2026-06-05 14:37:15 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#799