[GH-ISSUE #472] Bug: Citation stops after changing the Document Similarity Threshold. #268

Closed
opened 2026-02-22 18:18:39 -05:00 by yindo · 3 comments
Owner

Originally created by @Anubis-Labs on GitHub (Dec 19, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/472

It appears that if you adjust the Document Similarity Threshold the UI stops presenting citations.

Running latest version in a Docker container.

Also, this software is amazing. Thank you!!!

Originally created by @Anubis-Labs on GitHub (Dec 19, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/472 It appears that if you adjust the Document Similarity Threshold the UI stops presenting citations. Running latest version in a Docker container. _**Also, this software is amazing. Thank you!!!**_
yindo closed this issue 2026-02-22 18:18:39 -05:00
Author
Owner

@timothycarambat commented on GitHub (Dec 19, 2023):

That is the intention (technically).

When you have a higher threshold less document context will pass through the filter to be inserted into the chat prompt, therefore no citations appear.

But if you are in a chat session and there was a previous answer above in the chat history, that is also used in formulating an answer so it may still get it right, but only if you asked it prior.

If you were to have high similarity thresholds, and run /reset to reset the session, and ask the same question it wont know what you are talking about since no context passed through the filter + no available answers in the history!

@timothycarambat commented on GitHub (Dec 19, 2023): That is the intention (technically). When you have a higher threshold less document context will pass through the filter to be inserted into the chat prompt, therefore no citations appear. But if you are in a chat session and there was a previous answer above in the chat history, that is also used in formulating an answer so it may still get it right, but only if you asked it prior. If you were to have high similarity thresholds, and run `/reset` to reset the session, and ask the same question it wont know what you are talking about since no context passed through the filter + no available answers in the history!
Author
Owner

@Anubis-Labs commented on GitHub (Dec 19, 2023):

Ah, I see now. Thank you for the clarification!

Is /reset the only command or are there other ones that the user can use as well in the chat dialogue?

Greatly appreciate your efforts on this project. It's by far the most robust Chatbot solution for querying docs, that I have come across. Thank you.

@Anubis-Labs commented on GitHub (Dec 19, 2023): Ah, I see now. Thank you for the clarification! Is /reset the only command or are there other ones that the user can use as well in the chat dialogue? Greatly appreciate your efforts on this project. It's by far the most robust Chatbot solution for querying docs, that I have come across. Thank you.
Author
Owner

@timothycarambat commented on GitHub (Dec 19, 2023):

Currently just the /reset command is available. We will make the future ones more known/discoverable with a context menu! We know that the /reset command is currently hidden 😄

@timothycarambat commented on GitHub (Dec 19, 2023): Currently just the `/reset` command is available. We will make the future ones more known/discoverable with a context menu! We know that the /reset command is currently hidden 😄
yindo changed title from Bug: Citation stops after changing the Document Similarity Threshold. to [GH-ISSUE #472] Bug: Citation stops after changing the Document Similarity Threshold. 2026-06-05 14:34:23 -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#268