Home / use case

Auto-tagging documents in Paperless-ngx with Ollama

What they built

Paperless-ngx 3.0 added optional LLM features: suggested title, sender, document type and keywords for new documents, plus a document chat.

Invoices, contracts and official notices contain personal data, so the article recommends running the model locally via Ollama so documents never leave the premises. The AI complements the rule-based classification; it doesn't replace review.

Setup

  • Paperless-ngx 3.0 or newer
  • Ollama on your own hardware (or a model service in Germany)

Gotchas

  • Reliable for clear documents, less so for unusual correspondence, so keep a review inbox
“The AI complements the classic rule-based and learned classification, but does not replace review.”— bettersorted.de

Do it yourself

  1. Run Ollama and pull a model
  2. Enable the AI features via PAPERLESS_AI_* settings with the ollama backend
  3. Keep your list of senders, document types and tags manageable
  4. Review suggestions for the first weeks and always for tax documents
  5. Use rules for clear cases and AI for unclear ones; measure how often suggestions are right
PAPERLESS_AI_ENABLED=true
PAPERLESS_AI_LLM_BACKEND=ollama
PAPERLESS_AI_LLM_MODEL=<your-ollama-model>
PAPERLESS_AI_LLM_ENDPOINT=http://ollama:11434
Source: bettersorted.de · 2026-10-01 · Added 2026-10-18. This write-up summarizes the original source; see it for full details.

Related

Paperless AI on an 8 GB RTX 3060 Ti shared with Frigate

Gemma 3 4B with embeddinggemma answers over 1,318 documents in about 5 seconds, on a GPU that's also running Frigate and Plex.

Reddit r/Paperlessngx · 2026-07-27

Home Assistant Voice PE with a local LLM instead of Echo

A $60 Voice Preview Edition, an N100 box and an optional RTX 3060 replace every Echo and Nest in the house. It keeps working with the internet unplugged.

jpk.io · 2026-06-10

A private ChatGPT for a family of four on a Mac mini

One always-on M4 Mac mini serves Open WebUI to every phone and laptop in the house. Kids get a tutor preset, and three AI subscriptions are gone.

Think Different · 2026-06-07

Fully local Home Assistant voice assistant on a GPU

Wake word to spoken answer in 2-3 seconds, with zero audio leaving the house. Built from faster-whisper, Piper and Ollama, with a cloud fallback.

joekarlsson.com · 2026-04-13