An automated document analyzer for Paperless-ngx using OpenAI API, Ollama and all OpenAI API compatible Services to automatically analyze and tag your documents.
It features: Automode, Manual Mode, Ollama and OpenAI, a Chat function to query your documents with AI, a modern and intuitive Webinterface.
Following Services and OpenAI API compatible services have been successfully tested:
- Ollama
- OpenAI
- DeepSeek.ai
- OpenRouter.ai
- Perplexity.ai
- Together.ai
- VLLM
- LiteLLM
- Fastchat
- Gemini (Google)
- ... and there are possibly many more
- Automatic Scanning: Identifies and processes new documents within Paperless-ngx.
- AI-Powered Analysis: Leverages OpenAI API and Ollama (Mistral, Llama, Phi 3, Gemma 2) for precise document analysis.
- Metadata Assignment: Automatically assigns titles, tags, document_type and correspondent details.
- Predefined Processing Rules: Specify which documents to process based on existing tags. (Optional) π
- Selective Tag Assignment: Use only selected tags for processing. (Disables the prompt dialog) π
- Custom Tagging: Assign a specific tag (of your choice) to AI-processed documents for easy identification. π
- AI-Assisted Analysis: Manually analyze documents with AI support in a modern web interface. (Accessible via the
/manual
endpoint) π
- Document Querying: Ask questions about your documents and receive accurate, AI-generated answers. π
Visit the Wiki for installation:
Click here for Installation
The application comes with full Docker support:
- Automatic container restart on failure
- Health monitoring
- Volume persistence for database
- Resource management
- Graceful shutdown handling
To run the application locally without Docker:
- Install dependencies:
npm install
- Start the development server:
npm run test
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Paperless-ngx for the amazing document management system
- OpenAI API
- The Express.js and Node.js communities for their excellent tools
If you encounter any issues or have questions:
- Check the Issues section
- Create a new issue if yours isn't already listed
- Provide detailed information about your setup and the problem
- Support for custom AI models
- Support for multiple language analysis
- Advanced tag matching algorithms
- Custom rules for document processing
- Enhanced web interface with statistics