[GH-ISSUE #2525] [Question] Why is the search result quality of anythingllm in development mode much less than that of AnythingLLM Desktop? #1633

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

Originally created by @fengnex on GitHub (Oct 23, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2525

Ollama, the same local LLM llama3.1:latest, lancedb and nomic-embed-text:latest are used under the two environments as described in the above title, then save the same pdf and docx documents and search the same question against both anythingllms, but the quality of the answers given by the two is completely different:
The answers provided by the desktop version are generally comprehensive in content, formal in format, and high-end. However, the same questions are not even answered in development mode, or the answers are very brief, and often lack some important content, usually without much format!

What are the reasons for this huge difference? How to ensure that the version compiled by oneself in development mode can also achieve the same or similar query quality as the desktop version? Can anyone please explain these?

Originally created by @fengnex on GitHub (Oct 23, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2525 Ollama, the same local LLM `llama3.1:latest`, lancedb and `nomic-embed-text:latest` are used under the two environments as described in the above title, then save the same pdf and docx documents and search the same question against both anythingllms, but the quality of the answers given by the two is completely different: The answers provided by the desktop version are generally comprehensive in content, formal in format, and high-end. However, the same questions are not even answered in development mode, or the answers are very brief, and often lack some important content, usually without much format! What are the reasons for this huge difference? How to ensure that the version compiled by oneself in development mode can also achieve the same or similar query quality as the desktop version? Can anyone please explain these?
yindo closed this issue 2026-02-22 18:25:48 -05:00
Author
Owner

@timothycarambat commented on GitHub (Oct 24, 2024):

My intuitive reaction is that this is ultimately the difference from the inherent difference between runs of the same models. However, there is one major detail missing that matters.

Are you running the desktop local LLM using an external Ollama and using that same external Ollama for development mode as well? There is very well a way to get the exact message array passed to the Ollama instance. Otherwise, this could be differences between any number of things. I can assure you the code, logic, and ultimately the messages passed to the model should be the exact same which puts the root cause outside of the software and onto the inferencing process.

Interesting question, looking forward to seeing what is going on here - closing but please continue the conversation with more information.

@timothycarambat commented on GitHub (Oct 24, 2024): My intuitive reaction is that this is ultimately the difference from the inherent difference between runs of the same models. However, there is one major detail missing that matters. Are you running the desktop local LLM using an _external_ Ollama and using that _same_ external Ollama for development mode as well? There is very well a way to get the exact message array passed to the Ollama instance. Otherwise, this could be differences between any number of things. I can assure you the code, logic, and ultimately the messages passed to the model should be _the exact same_ which puts the root cause outside of the software and onto the inferencing process. Interesting question, looking forward to seeing what is going on here - closing but please continue the conversation with more information.
yindo changed title from [Question] Why is the search result quality of anythingllm in development mode much less than that of AnythingLLM Desktop? to [GH-ISSUE #2525] [Question] Why is the search result quality of anythingllm in development mode much less than that of AnythingLLM Desktop? 2026-06-05 14:41:50 -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#1633