AI Service refactor
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m19s

This commit is contained in:
2025-12-06 16:46:03 -08:00
parent 4732aef75c
commit 16e8f6efb9
4 changed files with 284 additions and 382 deletions

View File

@@ -146,7 +146,7 @@ export const flyerWorker = new Worker<FlyerJobData>(
// 2. Call AI Service
const masterItems = await db.getAllMasterItems(); // Fetch master items for the AI
const extractedData = await aiService.extractCoreDataFromFlyerImage(
const extractedData = await aiService.aiService.extractCoreDataFromFlyerImage(
imagePaths,
masterItems,
submitterIp,