diff --git a/src/Infrastructure/AI/PromptTemplateService.php b/src/Infrastructure/AI/PromptTemplateService.php index a4dfb7e..d054670 100644 --- a/src/Infrastructure/AI/PromptTemplateService.php +++ b/src/Infrastructure/AI/PromptTemplateService.php @@ -43,14 +43,14 @@ PROMPT, 'vision_analyze' => <<<'PROMPT' Look at this nameplate/label photo of IT hardware. -Extract the manufacturer, model name, model number, and serial number visible on the label. -- MODEL_NAME is the human-readable product name (e.g. "ThinkPad T490s", "EliteBook 840 G6", "Galaxy S24 Ultra"). -- MODEL_NUMBER is the part/product code or designation (e.g. "20NXS0BA00", "5SS67UC", "SM-S928B"). Often printed as "Model No.", "Part No.", "Type", or "P/N". +Extract the manufacturer, any model identifier (name or number), and serial number visible on the label. +If the label shows both a product name (e.g. "ThinkPad T490s") and a part/product code (e.g. "20NXS0BA00"), put the product name in MODEL_NAME and the code in MODEL_NUMBER. +If only one model field is visible (regardless of whether it looks like a name or a code), put it in MODEL_NAME and leave MODEL_NUMBER empty. Do not guess or add information not visible on the label. Respond in exactly this format (use empty string if not visible): MANUFACTURER: -MODEL_NAME: -MODEL_NUMBER: +MODEL_NAME: +MODEL_NUMBER: SERIAL: PROMPT,