Configure optional local AI capabilities
mainThe AI components (Paperless-AI and Paperless-GPT) are optional. To enable them, follow these steps:
- Pull required models: Open Open WebUI at
http://localhost:3001and download:llama3.2:3b(for metadata suggestions and reasoning)minicpm-v:8b(vision model for improved OCR) Note: These model names must match the entries in./paperless-ai/.envand./paperless-gpt/.env.
- Generate Paperless API Token: In the Paperless web interface, go to Profile → API Tokens → Generate. Copy the resulting token.
- Update AI configurations:
- Add the token to
./paperless-ai/.envand./paperless-gpt/.env. - Add your Paperless username to
./paperless-ai/.env.
- Add the token to
- Restart the stack to apply changes:
docker compose down && docker compose up -d
docker compose down && docker compose up -d