Reference
ParseOptions
@moss-dev/moss / ParseOptions
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Property | Type | Description |
|---|---|---|
ocrMode? | "auto_ocr" | "full_ocr" | "full_ocr" forces OCR on every page, which is what scanned documents with no text layer need. "auto_ocr" runs it only where it looks necessary. |
useHighResolution? | boolean | Slower, higher fidelity extraction. Useful for dense tables. |
segmentationMethod? | "smart_layout_detection" | "page_by_page" | How the document is segmented before extraction. |
mergeTables? | boolean | Merge a table split across a page break into a single segment. |