Improve image analysis prompt - be more explicit about extracting all visible business info

This commit is contained in:
John Mizerek 2026-02-13 10:54:11 -08:00
parent abf6965614
commit 26e5d92a03

View file

@ -550,7 +550,7 @@
})> })>
<cfset arrayAppend(imgMsgContent, { <cfset arrayAppend(imgMsgContent, {
"type": "text", "type": "text",
"text": "Extract business information from this image. Return JSON with: name, addressLine1, city, state, zip, phone, hours, brandColor (6-digit hex without ##). Only include fields you can see. Return ONLY valid JSON, no markdown." "text": "Extract ALL business information visible in this image. Look carefully for: 1) Business NAME (the restaurant/store name), 2) PHONE number (format: xxx-xxx-xxxx), 3) Full ADDRESS (street, city, state, zip), 4) HOURS of operation (all days shown). Return JSON: {""name"":"""",""addressLine1"":"""",""city"":"""",""state"":"""",""zip"":"""",""phone"":"""",""hours"":"""",""brandColor"":""""}. For hours, format as single string like 'Mon-Thu 7am-10pm, Fri-Sat 7am-11pm'. Return ONLY valid JSON."
})> })>
<cfset imgRequest = { <cfset imgRequest = {