From 0d2634e6c4b927c854db2eeb462bb1496eb3dc21 Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Thu, 15 Jan 2026 15:25:23 -0800 Subject: [PATCH] Update AI prompts to intelligently assign modifiers to items - Instructs Claude to look for modifiers in specific menu locations: category headers, item descriptions, asterisk notes, headers/footers - Assigns modifiers to items when confident about relationships - Only links obvious modifier-to-item connections - Leaves uncertain relationships unlinked for manual assignment Co-Authored-By: Claude Sonnet 4.5 --- api/setup/analyzeMenuImages.cfm | 510 ++++++++++++++++---------------- 1 file changed, 258 insertions(+), 252 deletions(-) diff --git a/api/setup/analyzeMenuImages.cfm b/api/setup/analyzeMenuImages.cfm index 29d816c..7a0525c 100644 --- a/api/setup/analyzeMenuImages.cfm +++ b/api/setup/analyzeMenuImages.cfm @@ -1,67 +1,28 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #serializeJSON(response)# - - - - - + + + + + + + + + - + + + + + + @@ -73,82 +34,57 @@ - + - - - - + - + - - - - - - - - + + + - - + - + - - - + - - - - - - - - - - + + + + - + + + + + + - - - - - - - - - - - - + + - @@ -157,184 +93,254 @@ - - + + - + + - - + + - - + + - - - - - - + + + + - - - - + + + - - - - - - + + + + + + + - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - + + + - - - - - - - + + + + + + + + + + + - - - - - - + - - + + + + + + + + + + + + + - - - + + + - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + #serializeJSON(response)#