﻿# AnythingLLM Query and Chat modes answer under different evidence rules

Choose AnythingLLM Query or Chat mode according to whether an answer must stay within uploaded evidence, then diagnose refusals without silently changing that requirement.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-anythingllm-query-chat-mode/
Language: en

## Decide what an answer is allowed to use

An internal support assistant may need to explain only the procedure documented by its team. A brainstorming assistant can reasonably add general examples. These tasks call for different evidence policies even when they share the same workspace. Select the mode according to that boundary before treating a more fluent reply as an improvement.

## Match Query and Chat to that boundary

The [chat-mode reference](https://docs.anythingllm.com/features/chat-modes) describes Query mode as using uploaded documents and reporting when relevant information cannot be found. Chat mode combines documents with general model knowledge. Treat this as intended product behavior requiring review, rather than proof that every generated statement is correct. A general explanation may be useful while still failing a documents-only support requirement.

## Investigate refusal before relaxing the policy

When a known procedure produces no relevant information, try wording that occurs in the source. Confirm that the right document is actually embedded. The [document settings](https://docs.anythingllm.com/chatting-with-documents/introduction) include a similarity threshold that can exclude chunks before generation. A controlled diagnostic can relax that filter and inspect retrieved material; permanently changing every workspace to an unrestricted threshold is a separate decision.

## Inspect the stored reading unit

The [splitting guide](https://docs.anythingllm.com/setup/embedder-configuration/text-splitting) explains that documents enter retrieval as chunks. A condition may be separated from its consequence, or the query may match an adjacent paragraph. Changing splitter settings affects later embeddings, so an existing file does not automatically acquire new boundaries. Use [structural chunking guidance](/journal/rag-chunking-structure-token-boundaries/) when the failure depends on how the source was divided.

## Recognize a different agentic surface

Current documentation also describes Agent mode, available in releases after `v1.11.1` and enabled by default for new workspaces. It can use available skills, tools, and MCP connections subject to model capabilities. Check the active mode rather than assuming every workspace is still running the older Query-or-Chat interaction. Do not attribute tool-fetched information to an uploaded document merely because the conversation sits in that workspace.

## Preserve useful refusal in the final workflow

Test a question the documents answer and another they do not answer. Keep the expected response explicit for both. The [faithfulness metric boundaries](/journal/ragas-retrieval-faithfulness-metric-boundaries/) help explain why source support and pleasant prose are different evaluation targets. A justified refusal can satisfy the task better than a confident answer imported from general knowledge.
