[GH-ISSUE #917] Query mode not working #550

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

Originally created by @ghost on GitHub (Mar 17, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/917

Using anything llm desktop and LM studio on M2 Mac. Able to create embeddings and vectors but in query mode get a message saying no information in workspace to answer the question. Any help is appreciated.

Originally created by @ghost on GitHub (Mar 17, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/917 Using anything llm desktop and LM studio on M2 Mac. Able to create embeddings and vectors but in query mode get a message saying no information in workspace to answer the question. Any help is appreciated.
yindo closed this issue 2026-02-22 18:20:07 -05:00
Author
Owner

@timothycarambat commented on GitHub (Mar 18, 2024):

This is expected when you send a query that has no text chunk results that have a match over the workspace threshold. Embedding and vector-database semantic searching is not infallible. What is happening here is that the vector db is not finding and context to work with because the prompt, once embedded, is too "far" from other vectors - resulting in a low match.

We give you the controls to change this for any reason. Open the workspace's settings and change the "Threshold similarity" to "No Restriction", and even increase the "Context snippets" from 4-6.

What this does is apply no score-filtering on results from the vector db. It is totally use-case and document dependent on if you need to do this, which is why we expose the controls for these settings.

If you still have poor results, you can even "pin" a document in a workspace, which will do full-text injection in the prompt.

@timothycarambat commented on GitHub (Mar 18, 2024): This is expected when you send a query that has no text chunk results that have a match over the workspace threshold. Embedding and vector-database semantic searching is not infallible. What is happening here is that the vector db is not finding and context to work with because the prompt, once embedded, is too "far" from other vectors - resulting in a low match. We give you the controls to change this for any reason. Open the workspace's settings and change the "Threshold similarity" to "No Restriction", and even increase the "Context snippets" from 4-6. What this does is apply no score-filtering on results from the vector db. It is totally use-case and document dependent on if you need to do this, which is why we expose the controls for these settings. If you still have poor results, you can even "pin" a document in a workspace, which will do full-text injection in the prompt.
yindo changed title from Query mode not working to [GH-ISSUE #917] Query mode not working 2026-06-05 14:35:56 -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#550