Description
Interpreting a freshness index (e.g., 78%) is not intuitive for everyday consumers. This issue proposes a Smart Recommendation Engine to translate freshness scores into actionable culinary and storage guidelines.
Based on the fused freshness score, the app will output specific consumption recommendations:
- Score >= 90: "Sushi grade. Suitable for raw consumption. Excellent flavor profile."
- Score >= 75: "A Grade. Ideal for pan-frying or baking. Consume within 24 hours."
- Score >= 60: "B Grade. Best for curries/slow-cooking. Ensure thorough cooking. Consume within 12 hours."
- Score < 60: "Spoiled. Not recommended for consumption. Discard immediately."
It will also provide storage advice (e.g., ideal temperature, ice packaging) in a clean cards-based UI.
Technical Implementation Details
- Rules Definition: Code the recommendation mappings on both the backend payload builder and the frontend.
- Storage advice: Include dynamic hours values and safe temperature targets.
- UI Integration: Present recommendations inside
AnalysisDashboard.tsx using cards with icons.
Description
Interpreting a freshness index (e.g., 78%) is not intuitive for everyday consumers. This issue proposes a Smart Recommendation Engine to translate freshness scores into actionable culinary and storage guidelines.
Based on the fused freshness score, the app will output specific consumption recommendations:
It will also provide storage advice (e.g., ideal temperature, ice packaging) in a clean cards-based UI.
Technical Implementation Details
AnalysisDashboard.tsxusing cards with icons.