All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 3m1s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 31s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m19s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 7s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
Implement async PDF processing for owner's manuals with maintenance schedule extraction: - Add PDF preprocessor with PyMuPDF for text/scanned PDF handling - Add maintenance pattern matching (mileage, time, fluid specs) - Add service name mapping to maintenance subtypes - Add table detection and parsing for schedule tables - Add manual extractor orchestrating the complete pipeline - Add POST /extract/manual endpoint for async job submission - Add Redis job queue support for manual extraction jobs - Add progress tracking during processing Processing pipeline: 1. Analyze PDF structure (text layer vs scanned) 2. Find maintenance schedule sections 3. Extract text or OCR scanned pages at 300 DPI 4. Detect and parse maintenance tables 5. Normalize service names and extract intervals 6. Return structured maintenance schedules with confidence scores Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
728 B
Python
20 lines
728 B
Python
"""Pattern matching modules for receipt and manual field extraction."""
|
|
from app.patterns.date_patterns import DatePatternMatcher, date_matcher
|
|
from app.patterns.currency_patterns import CurrencyPatternMatcher, currency_matcher
|
|
from app.patterns.fuel_patterns import FuelPatternMatcher, fuel_matcher
|
|
from app.patterns.maintenance_patterns import MaintenancePatternMatcher, maintenance_matcher
|
|
from app.patterns.service_mapping import ServiceMapper, service_mapper
|
|
|
|
__all__ = [
|
|
"DatePatternMatcher",
|
|
"date_matcher",
|
|
"CurrencyPatternMatcher",
|
|
"currency_matcher",
|
|
"FuelPatternMatcher",
|
|
"fuel_matcher",
|
|
"MaintenancePatternMatcher",
|
|
"maintenance_matcher",
|
|
"ServiceMapper",
|
|
"service_mapper",
|
|
]
|