feat: Replace NHTSA VIN decode with Google Gemini via OCR service (#223) #229

Merged
egullickson merged 9 commits from issue-223-replace-nhtsa-vin-decode-gemini into main 2026-02-20 03:10:48 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 781241966c - Show all commits

View File

@@ -206,7 +206,7 @@ services:
VISION_MONTHLY_LIMIT: "1000" VISION_MONTHLY_LIMIT: "1000"
# Vertex AI / Gemini configuration (maintenance schedule extraction) # Vertex AI / Gemini configuration (maintenance schedule extraction)
VERTEX_AI_PROJECT: motovaultpro VERTEX_AI_PROJECT: motovaultpro
VERTEX_AI_LOCATION: us-central1 VERTEX_AI_LOCATION: global
GEMINI_MODEL: gemini-3-flash-preview GEMINI_MODEL: gemini-3-flash-preview
volumes: volumes:
- /tmp/vin-debug:/tmp/vin-debug - /tmp/vin-debug:/tmp/vin-debug

View File

@@ -32,7 +32,7 @@ class Settings:
# Vertex AI / Gemini configuration # Vertex AI / Gemini configuration
self.vertex_ai_project: str = os.getenv("VERTEX_AI_PROJECT", "") self.vertex_ai_project: str = os.getenv("VERTEX_AI_PROJECT", "")
self.vertex_ai_location: str = os.getenv( self.vertex_ai_location: str = os.getenv(
"VERTEX_AI_LOCATION", "us-central1" "VERTEX_AI_LOCATION", "global"
) )
self.gemini_model: str = os.getenv("GEMINI_MODEL", "gemini-2.5-flash") self.gemini_model: str = os.getenv("GEMINI_MODEL", "gemini-2.5-flash")