Skip to content

AI018 add profile aware scan verification#274

Merged
TienNguyen3711 merged 1 commit into
masterfrom
ai018-scan-image-reliability
May 16, 2026
Merged

AI018 add profile aware scan verification#274
TienNguyen3711 merged 1 commit into
masterfrom
ai018-scan-image-reliability

Conversation

@Liam301020
Copy link
Copy Markdown
Collaborator

Summary

  • Added a scan verification endpoint for profile-aware AI review after image classification.
  • Sends scan output, top candidates, nutrition lookup data, quality flags, and the logged-in user profile/preferences into the chatbot service.
  • Uses saved allergies, dietary requirements, disliked ingredients, health conditions, and preferences to generate safer scan advice.
  • Keeps the response concise and user-facing so the frontend can show guidance without overwhelming users.

Testing

  • node --check services/chatbotService.js
  • node --check controller/chatbotController.js

@Liam301020 Liam301020 requested a review from datnq2001 May 16, 2026 00:38
Copy link
Copy Markdown
Collaborator

@TienNguyen3711 TienNguyen3711 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have checked and tested on my device. Approved

@TienNguyen3711 TienNguyen3711 merged commit 0a7cb4a into master May 16, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants