Improve image analysis prompt - be more explicit about extracting all visible business info
This commit is contained in:
parent
abf6965614
commit
26e5d92a03
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Reference in a new issue