[GH-ISSUE #826] [BUG]: Citations are wrong. #484

Closed
opened 2026-02-22 18:19:44 -05:00 by yindo · 1 comment
Owner

Originally created by @sumitsodhi88 on GitHub (Feb 27, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/826

How are you running AnythingLLM?

Docker (local)

What happened?

The results given are correct but the citations given are completely wrong and unrealated.

Are there known steps to reproduce?

No response

Originally created by @sumitsodhi88 on GitHub (Feb 27, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/826 ### How are you running AnythingLLM? Docker (local) ### What happened? The results given are correct but the citations given are completely wrong and unrealated. ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:19:44 -05:00
yindo closed this issue 2026-02-22 18:19:44 -05:00
Author
Owner

@timothycarambat commented on GitHub (Feb 27, 2024):

Not a bug, this is just how vector databases work. They do semantic similarity which is not logic based, but instead math based (cosine similarity)

Some ways to improve citation results:

  • Use a larger dimension embedder model (OpenAI)
  • Increase the threshold for workspace (Settings > Vector Database)
  • Manually partition documents (aka make smaller documents for uploads) for more logical splitting as ANythingLLM will just take chunks of ~1000 chars
  • Use document pinning for critical documents so they are always in context

We are working on better retrieval methods beyond naive RAG

@timothycarambat commented on GitHub (Feb 27, 2024): Not a bug, this is just how vector databases work. They do semantic similarity which is not logic based, but instead math based (cosine similarity) Some ways to improve citation results: - Use a larger dimension embedder model (OpenAI) - Increase the threshold for workspace (Settings > Vector Database) - Manually partition documents (aka make smaller documents for uploads) for more logical splitting as ANythingLLM will just take chunks of ~1000 chars - Use document pinning for critical documents so they are always in context We are working on better retrieval methods beyond naive RAG
yindo changed title from [BUG]: Citations are wrong. to [GH-ISSUE #826] [BUG]: Citations are wrong. 2026-06-05 14:35:33 -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#484