github clusterzx/paperless-ai v4.7.0
4.7.0 | Searchable PDFs & OCR API Server

one hour ago

Highlights

  • Searchable PDFs (opt-in): the OCR text is laid into the PDF as an invisible text layer, right where it was read – search, select and copy work in every PDF viewer. Built-in archive: it becomes the archive PDF (photos become a PDF). Paperless-ngx: it is uploaded as a new version of the document (needs a Paperless-ngx with document versions). Settings → OCR → Make searchable PDFs.
  • OCR API server (opt-in): other apps send files to Paperless-AI and get the text and a searchable PDF back – with Paperless-ngx or the built-in archive, also while OCR of your own documents is off.
    • Paperless-ngx can use it as its remote OCR engine instead of Tesseract (PAPERLESS_REMOTE_OCR_ENGINE=azureai, Azure-compatible – no Azure account, nothing leaves your network).
    • Scripts and other apps: POST /api/ocr/read returns JSON, text or the PDF.
    • Settings → OCR → OCR API server shows the lines for Paperless-ngx and creates the API key.

Changes

  • New API key permission OCR API (can only send files to be read).
  • Built-in archive: Save the OCR text in Paperless is no longer shown – the archive always keeps the better text.

Upgrade notes

  • Both features stay off until you switch them on.
  • Searchable PDFs with Paperless-ngx: keep PAPERLESS_OCR_MODE=skip (the default) – redo or force replace the text layer.
  • With the OCR API server, Paperless-ngx cannot consume scans while Paperless-AI is unreachable.

Full Changelog: v4.6.0...v4.7.0

Don't miss a new paperless-ai release

NewReleases is sending notifications on new releases.