Skip to main content
Version: 2.0.0

LLMWhisperer Modes

API Mode Mapping

Each mode below corresponds to a specific value to be passed as the mode parameter in the API:

  • Native Textmode=native_text
  • Low Costmode=low_cost
  • High Qualitymode=high_quality
  • Formmode=form
  • Tablemode=table

💡 Use the mode parameter in your API call to select one of the modes above.

Feature matrix for LLMWhisperer modes

Native TextLow CostHigh QualityFormTable
PDF (not scanned)✓ Yes✓ Yes✓ Yes✓ Yes✓ Yes
PDF (scanned)✗ No✓ Yes✓ Yes✓ Yes✓ Yes
PDF (with forms)✗ No✗ No✗ No✓ Yes✓ Yes
Images✗ No✓ Yes✓ Yes✓ Yes✓ Yes
MS Office Document✗ No✓ Yes✓ Yes✓ Yes✓ Yes
MS Office Excel✗ No✗ No✗ No✓ Yes✗ No
MS Office Powerpoint✗ No✓ Yes✓ Yes✓ Yes✓ Yes
LibreOffice Writer✗ No✓ Yes✓ Yes✓ Yes✓ Yes
LibreOffice Calc✗ No✓ Yes✓ Yes✓ Yes✓ Yes
LibreOffice Impress✗ No✓ Yes✓ Yes✓ Yes✓ Yes
Checkbox and Radio button detection✗ No✗ No✗ No✓ Yes✓ Yes
Lines reproduction in output✗ No✓ Yes✓ Yes✓ Yes✓ Yes
Extraction performanceVery fastMediumFastFastFast
Image preprocessing (median filter and gaussian blur)✗ No✓ Yes✗ No✗ No✗ No
Line splitting strategy choice✓ Yes✓ Yes✓ Yes✓ Yes✓ Yes
Supported languagesAll (unicode)120+300+300+300+
Handwriting recognition✗ NoBasic support✓ Yes✓ Yes✓ Yes
Layout preserving output✓ Yes✓ Yes✓ Yes✓ Yes✓ Yes
AI/ML based enhancement✗ No✗ No✓ Yes✓ Yes✓ Yes
Rotation and skew compensationNA✗ No✓ Yes✓ Yes✓ Yes
Auto repair PDFs✓ Yes✓ Yes✓ Yes✓ Yes✓ Yes
Dense text contentBest performanceVery goodVery goodVery goodVery good
High entropy content (each page contains large variety of text sizes)Best performanceVery goodVery goodVery goodVery good
Native TextLow CostHigh QualityFormTable
Recommended use cases• Low latency requirement
• All documents are PDFs
• PDFs are native text PDFs
• Cost sensitive application
• High quality scanned PDFs
• High quality scanned images
• No handwritten documents
• Medium/low quality scanned PDFs
• Medium/low quality scanned images
• Handwritten documents
• Checkbox and radio button detection
• Medium/low quality scanned PDFs
• Medium/low quality scanned images
• Handwritten documents
• Documents containing structured tables
• Financial statements and reports
• Invoices, bills, spreadsheets
• Table-heavy scanned documents