Before you dive in
What you’ll find in the original
- Install Poppler so PDF pages can be converted into the line input expected by the classifier.
- Keep form knowledge in the criteria JSON and pass it with page lines to `classifyPage` instead of training or hosting a custom model.
- Retain the returned probability distribution and evaluate uncertain pages rather than reducing every result to an unchecked top label.
Worth knowing
Requires Poppler, Node.js, and TypeSafe credentials. The project's 34× cost and 6× speed comparisons refer to its prior internal pipeline and are not independently reproduced or universal.