[GH-ISSUE #4080] [BUG]: Workspace Similarity Score threshold is not being respected #2600

Closed
opened 2026-02-22 18:30:24 -05:00 by yindo · 0 comments
Owner

Originally created by @frost19k on GitHub (Jul 1, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4080

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (local)

What happened?

Unrelated queries are pulling references documents with 0 or even negative similarity scores. If prompt query is relevant to documents then it seems to work very well.

AnythinLLM v1.8.2
LanceDB
OpenAI LLM (chatgpt-4o-latest)
LocalAI Embedder (mxbai-embed-large-v1)

Image

Image

Are there known steps to reproduce?

  1. Create Workspace
  2. Configure Vector Database for Workspace to Accuracy Optimised
  3. Set 0.75 threshold
  4. Upload documents
  5. Prompt with unrelated query (Meybe just "Hello")
  6. Observe that citations include references with similarity scores of 0 or lower!
Originally created by @frost19k on GitHub (Jul 1, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4080 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (local) ### What happened? Unrelated queries are pulling references documents with 0 or even negative similarity scores. If prompt query is relevant to documents then it seems to work very well. AnythinLLM v1.8.2 LanceDB OpenAI LLM (chatgpt-4o-latest) LocalAI Embedder (mxbai-embed-large-v1) ![Image](https://github.com/user-attachments/assets/1c527fc0-e2dc-4e70-84cf-e403f097d483) ![Image](https://github.com/user-attachments/assets/a1699af3-8c85-4fd6-89f3-d73206408a4c) ### Are there known steps to reproduce? 1. Create Workspace 2. Configure Vector Database for Workspace to Accuracy Optimised 3. Set 0.75 threshold 4. Upload documents 5. Prompt with unrelated query (Meybe just "Hello") 6. Observe that citations include references with similarity scores of 0 or lower!
yindo added the possible buginvestigating labels 2026-02-22 18:30:24 -05:00
yindo closed this issue 2026-02-22 18:30:24 -05:00
yindo changed title from [BUG]: Workspace Similarity Score threshold is not being respected to [GH-ISSUE #4080] [BUG]: Workspace Similarity Score threshold is not being respected 2026-06-05 14:47:29 -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#2600