For the complete documentation index, see llms.txt. This page is also available as Markdown.
PDF/UAPDF/AOfficeWebViewer ServerExtraction

Document Classification Showcase Demo Code Sample

Requirements

These packages are required to use these features in production. Trial keys have unlimited access to all features

Web SDKServer SDKPackage: Smart Data ExtractionLive demo

Classify documents with custom-trained AI. This feature uses a specialized AI model to analyze documents and return a JSON output that identifies the document type. It supports multipage documents and is trained on 19 categories, primarily in English:

  • "advertisement"

  • "budget"

  • "email"

  • "file_folder"

  • "form"

  • "handwritten"

  • "id"

  • "invoice"

  • "letter"

  • "memo"

  • "news_article"

  • "passport"

  • "presentation"

  • "questionnaire"

  • "receipt"

  • "resume"

  • "scientific_publication"

  • "scientific_report"

  • "specification"

This demo allows you to:

  • Upload your own PDF file

  • Perform classification of the document

  • Produce a JSON report

Implementation steps To add Document Classification capability in WebViewer:

Step 1: Choose your preferred web stack. Step 2: Add the ES6 JavaScript sample code provided in this guide.

Once you generate your license key, it will automatically be included in your sample code below.

spinner