A language model can only quote a document when the retrieval search hands it a passage from that file. When AnythingLLM answers as if a workspace document did not exist, the file is usually missing from that workspace's embeddings, or the chat mode let the model reply without searching them.
Uploading a file only processes it into the My Documents library, and a workspace searches nothing until the file is moved into it and embedded. The default Agent chat mode also leaves the search to the model, which can skip it, whereas Query mode searches the embedded documents for every message and declines to answer when nothing relevant turns up.
That refusal separates a retrieval gap from a weak model. A reply that lists the right document under Sources but misstates its contents comes from the chat model, while no source at all means the document never reached it. Changing a workspace's documents and chat mode needs a working chat model, such as an Ollama model on an AnythingLLM Docker installation, and the change applies to every user of that workspace.
Steps to fix AnythingLLM not using workspace documents:
- Click the gear beside the workspace name in the sidebar.
Project Notes is the example workspace, and cedar-lantern-dispatch.txt stands for the document its replies ignore.
- Select the Chat Settings tab.

- Select Query under Chat mode.
In Query mode, the workspace declines every question its embedded documents cannot answer, for all of its users. Chat mode also searches the documents on every message but lets the model fill gaps from its general knowledge.
The selection saves as soon as it is clicked. In the default Agent mode, a model with native tool calling decides for itself whether to search the workspace documents, so its replies can leave out a document even after it is embedded.
- Click + New Thread beneath the workspace name.
A new thread keeps earlier replies in the conversation from standing in for the document search.
- Send a question that only the ignored document can answer.
For Cedar Lantern, what is the dispatch code and collection day? Answer only from the supplied documents and cite the source.
- Check whether the reply states There is no relevant information in this workspace to answer your query.
This refusal means the search returned no passage for the question, so the model never saw the document.
A reply that gives the document's facts and lists that document under Sources means the default Agent mode was skipping the search, and Query mode has already fixed the workspace's replies with nothing left to embed. A reply that lists the intended document under Sources but gets its facts wrong points to the chat model instead, which a different workspace model can address.
- Click the upload icon beside the workspace name.

- Expand the custom-documents folder with the arrow beside its name.

- Confirm that cedar-lantern-dispatch.txt is listed under My Documents.
My Documents hides the files already embedded in the open workspace, so a file listed here was uploaded but never embedded in this workspace, even if another workspace uses it. When the Query-mode reply was the refusal and the file appears only in the workspace's own list, below the upload area, the file is already embedded, and a Document similarity threshold set too high on the workspace's Vector Database tab can filter out its passages.
- Select the checkbox beside cedar-lantern-dispatch.txt.

- Click Move to Workspace beneath the document list.

- Click Save and Embed beneath the Project Notes document list.
An embedded document can be retrieved in every thread by every user of the workspace, and its retrieved passages are sent to the configured chat provider with each question.
- Confirm that cedar-lantern-dispatch.txt shows the Pin to workspace icon in the Project Notes list.
Do not select Pin to workspace here, because a pinned document is sent whole with every prompt and would hide a retrieval fault instead of fixing it.
The Pin to workspace icon appears only on embedded rows, and Save and Embed disappears once the document is stored in the workspace. A document that reports an error instead leaves the list without being embedded, and the AnythingLLM container log names the cause.
- Close the Documents dialog with its upper-right X.

- Click + New Thread beneath the workspace name again.

- Send the same question in the new thread.

- Click Sources beneath the reply.

- Confirm that the Sources panel lists cedar-lantern-dispatch.txt for a reply that gives the LANTERN-47 dispatch code and the Tuesday collection day.
The wording of the reply can vary, but its facts must match the listed document. Opening the source in the panel shows the passage the search returned.