Local AI document search with source citations

Local AI document search lets you ask questions about files on your computer and run the model on that same computer. For company work, look for answers that open the original record so you can check dates, approvals and owners yourself.

How do you connect a local model in Yuvin?

  1. Start a model server on the same computer. Choose Ollama or the llama.cpp server. Load a model your computer can run.
  2. In Yuvin, open Settings → Models → Add provider. Pick Ollama or llama.cpp.
  3. Use the address your server is listening at. Yuvin pre-fills http://127.0.0.1:11434/v1 for Ollama and http://127.0.0.1:8080/v1 for llama.cpp. For a different local port, update the address. Enter a key only when your server requires one.
  4. Select Fetch available models, select the installed model, then use it in your chat. Add the files you want the workspace to search. For an on-device test, select a downloaded model that runs locally. Ollama can also route cloud models through its local server address.

Yuvin keeps company memory in an encrypted desktop workspace. A model running on your device processes the question and retrieved text there. Account services and connected apps communicate with their own services. A hosted model receives relevant content if you choose it. Read the privacy details.

Run a source citation test

Download these three fictional records and add them to a fresh test workspace. Use the same files and questions in each tool. Record the app version, model and selected mode. Open a fresh chat for each question and search only the three files.

  1. What was the approved customer launch date, and why does another document give a different date? Cite the sources.
  2. Who owns the customer update, and had it been sent as of the latest record? Cite the sources.
  3. What time did the customer acknowledge the new launch date? Cite the evidence if it exists.
Open the answer key after testing
  1. The approved date is 20 May 2026. The 4 May proposal suggested 18 May 2026 under a condition and the 7 May decision supersedes it. Check for both sources.
  2. Lena owns the update according to the 7 May decision. The 8 May handoff says her draft was awaiting final review and had not been sent as of that record. Check for both sources.
  3. The available records give no acknowledgment time. The last handoff records an unsent draft. A reliable answer states the evidence gap.

Record a pass for each question when the answer gets its key facts right and the cited records support them. Check whether you can open the right record in one action. If a fact is missing, first see whether the relevant record was retrieved. Then see whether the answer used it correctly.

This is a small test you can run yourself. See the published Yuvin app capture for an example from a larger synthetic dataset using a hosted model.

Which setup fits your team?

Yuvin
A desktop workspace for company memory, searchable records and source-backed answers. The local server setup above applies when you want generation on the same computer. Yuvin product guide.
AnythingLLM Desktop
A desktop document chat app with built-in local model support. Check its storage and model options before configuring a workspace. Desktop storage · Local model guide.
Open WebUI
A self-hosted interface with configurable retrieval for documents and knowledge collections. Its documentation shows how to open a cited file and inspect the relevant passage. Document retrieval and citations.
Onyx
A self-hosted enterprise search option for teams that need a shared deployment, company connectors and access controls. Its documented deployment options include locally hosted models. Self-hosted search and deployment.

After the three-file test, repeat it with a permission-approved sample from your team. Use the company memory pilot checklist to compare citation quality, coverage and time to verify.