feat: add VIN decode endpoint to OCR Python service (refs #224)

Add POST /decode/vin endpoint using Gemini 2.5 Flash for VIN string
decoding. Returns structured vehicle data (year, make, model, trim,
body/drive/fuel type, engine, transmission) with confidence score.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
Eric Gullickson
2026-02-18 21:40:10 -06:00
co-authored by Claude Opus 4.6
parent 00aa2a5411
commit a75f7b5583
7 changed files with 403 additions and 5 deletions
+4
View File
@@ -14,6 +14,8 @@ from .schemas import (
ReceiptExtractedField,
ReceiptExtractionResponse,
VinAlternative,
VinDecodeRequest,
VinDecodeResponse,
VinExtractionResponse,
)
@@ -32,5 +34,7 @@ __all__ = [
"ReceiptExtractedField",
"ReceiptExtractionResponse",
"VinAlternative",
"VinDecodeRequest",
"VinDecodeResponse",
"VinExtractionResponse",
]