Docs/Chat

User Guide · 2.4.1 Release

Document parsing and OCR

Parse PDFs, PPTX files, scans, and image text

Read Markdown
On this page

Where to parse PDFs#

In chat, tap a pending or sent PDF attachment to open its text preview, then select Change parsing method; Preview original file inside the text preview lets you compare against the source PDF. Once a sent PDF adopts a new result, AI uses the updated text on future reads without rewriting earlier replies (wait for an active reply to finish first). Knowledge Base import previews and documents that kept their original PDF can also open the Document parsing page. Legacy documents that saved only extracted text need the PDF provided again before re-recognizing.

Each of the three methods appears as a card; the method used for the current text is labeled Current, and the next stronger tier is selected by default:

  • Re-extract text: Best for digital PDFs; extracts the embedded text layer locally without going online.
  • On-device OCR: Best for scanned or photographed PDFs; renders pages and recognizes text offline on device for free.
  • Parsing service: Choose a configured MinerU, PaddleOCR, or DeepSeek OCR official cloud service, or a compatible service/vision model, for better accuracy on tables, formulas, and complex layouts.

Configure document parsing services#

DeepSeek OCR: Select DeepSeek OCR and enter your open-platform API key — no chat model needs to be added. This version supports full PDFs up to 100 MiB and 1,000 pages per file. Review results page by page after recognition finishes; layout control markers are not written directly into the body text, and any truncated page displays an incomplete notice. Stopping the wait or losing connection does not guarantee server billing stops, unsaved results cannot be queried later, and the app does not re-upload automatically.

MinerU or PaddleOCR#

Open Settings → Models & usage → Default Models → Document parsing, enter service management, and tap Add document service. Choose an official service (MinerU and PaddleOCR official cloud services primarily serve Mainland China; compatible APIs or your own vision models work anywhere), enter your API Token or AI Studio Access Token, pick a model, tap Save service, and set it as default if desired. You can also select Parsing service on the Document parsing page and tap Manage services or Add service.

Selecting or saving a service does not upload documents. Once a service is selected, the line below clearly states where files will be uploaded, whether the entire PDF or page images are sent, and whether charges may apply; tapping Start parsing starts immediately with no extra confirmation screen. Official cloud services accept the original PDF directly — even if you select only certain pages, the entire original file is uploaded. Unencrypted (HTTP) endpoints are flagged in red. Cloud services may incur charges, with quotas and availability determined by the provider.

Review and adopt results#

After new text is generated, check page counts, content, and completeness notices — comparing against the original if needed — before tapping Use this result. Partial extraction does not guarantee full coverage; failures or cancellations never automatically overwrite old text. After adopting updated text in a Knowledge Base, rebuild the document's semantic index.

Switch parsing methods#

Tap Switch method on the result page to pick Re-extract text, On-device OCR, or Parsing service again. The new job replaces the old job only after preparing successfully; if preparation fails, the old job and results remain intact. Replacement validates post-replacement job counts and PDF capacity so the old job is not double-counted against your quota.

If the previous job is still running, stop it first; if the prompt says it is stopping and releasing resources, wait until released before tapping Start parsing. Check the upload notice underneath after switching parsing services, as a new request may incur fresh charges.

Manage parsing jobs#

  • Tap Parsing jobs in the top-right corner of the Document parsing page to view jobs for this document and jump back to results. Navigating back does not stop or discard running jobs.
  • You can also open Task Center from the top-right corner of Settings; enabling Task Center entry in Settings → Appearance → Interface also adds shortcuts on the Assistants, Chats, and Knowledge tabs. View jobs under the Document parsing group: Active shows jobs still needing attention, Recent shows adopted or cleaned-up records, and All shows both.
  • Tap a job row to inspect status, error details, and any extracted text preview; tap More actions on the right to Stop job or Discard job. If a job still holds resources, stop it and wait for release before discarding.
  • Pending confirmation means results are saved but not yet adopted. How to confirm results in Task Center explains where to return: open the original PDF attachment in chat → Change parsing method, or return to the original Knowledge Base document's parsing entry. The page restores saved results — review them and tap the pinned bottom button Use this result (partial results ask for a second confirmation). Opening and adopting saved results never triggers a new parsing request, so there is no need to re-upload or switch methods. Navigating back merely leaves the page without adopting.
  • If you started parsing via Add document in a Knowledge Base and left preview before saving, the Knowledge Base may still show 0 documents. Find that document's Pending confirmation job in Task Center, tap Resume import & save, inspect the saved text, pick the target Knowledge Base, and tap Save to Knowledge Base. Resuming and saving does not re-call the parsing service; once saved, the job is marked adopted and the original PDF is saved along with it. Closing the recovery page or failing to save keeps the job intact for later retries — do not discard it first.
  • Discard job deletes unadopted results and the parsing copy while preserving the original document, after confirmation. To recognize again or adopt later, return to Document parsing from the original chat attachment or Knowledge Base document. Restarting the app never automatically resumes paid cloud requests.

What if you hit local job limits?#

  • This document already has a running or queued job: Tap View current document job to check progress or stop the old job; retry shortly if it is still preparing files, cleaning up originals, or releasing resources after stopping.
  • 4 running and queued jobs reached: Wait for jobs to finish, or stop unneeded ones in Manage parsing jobs / Task Center.
  • 16 pending jobs reached: Discard unneeded jobs or return to original documents to adopt results. Failed, stopped, and pending-confirmation jobs still count — closing the panel does not release slots.
  • Retained parsing PDFs plus this file exceed 400 MiB: Discard unneeded parsing jobs and retry. This counts parsing copies only and does not indicate your device storage is full.
  • Parsing jobs have not loaded yet: Tap Reload parsing jobs; if loading the job list failed, tap Reload.

Interruptions, retries, and errors#

Retrying an existing remote job continues polling that original job or fetching its results without automatically creating a new job. If submission outcome is uncertain, the app alerts you and does not assume the provider never received the file. Stopping the wait does not guarantee the provider cancels the job or stops billing; background execution is constrained by the OS.

Retry later if the service is busy or rate-limited; check your provider account if quota is low; verify the chosen service and token if authentication fails. PaddleOCR error 10010 means the submission queue is full, which is separate from your remaining daily page quota.

Other documents and images#

Chat and Knowledge Bases also support DOCX, XLS/XLSX, OFD, PPT/PPTX, EPUB, and similar documents; parsing, preview, and model context each enforce their own limits, so saving an original file does not guarantee every method can process it completely. Standalone image OCR settings remain managed under Default Models → OCR, independent of document parsing services.