From 6629dd94729e72bb568349c13a2496fb5c9aaae0 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Tue, 11 Aug 2026 15:54:28 +0200 Subject: [PATCH] Details in prompt --- cloud/safety_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/safety_checker.py b/cloud/safety_checker.py index c32fdf2..4c4688c 100644 --- a/cloud/safety_checker.py +++ b/cloud/safety_checker.py @@ -19,7 +19,7 @@ class DishSafetyResult(BaseModel): def check_dish_safety(image_path: str) -> dict: prompt = ( "Analyze this top-down photo of a dish prepared for microwave cooking. " - "Inspect the area for metal utensils, aluminum foil, metallic dish patterns, or unvented plastic wraps that could be dangerous for the cooking process or pose a safety risk." + "Inspect the area for metal utensils, aluminum foil, metallic dish patterns, or unvented plastic wraps that could be dangerous for the dish microwave cooking process or pose a safety risk." ) # 2. Pass the Pydantic class directly to generate()