AI tweaks/fixes + backend api interface updates

This commit is contained in:
2026-01-24 11:58:21 -05:00
parent 1866cbae7e
commit 3831cef234
24 changed files with 458 additions and 252 deletions

View File

@@ -29,6 +29,7 @@ function buildSanityCheckUserPrompt(products, prompts) {
tax_cat: p.tax_cat_name || p.tax_cat,
size_cat: p.size_cat_name || p.size_cat,
themes: p.theme_names || p.themes,
categories: p.category_names || p.categories,
weight: p.weight,
length: p.length,
width: p.width,
@@ -59,7 +60,7 @@ function buildSanityCheckUserPrompt(products, prompts) {
suggestion: 'Suggested fix or verification (optional)'
}
],
summary: '1-2 sentences summarizing the batch quality'
summary: '2-3 sentences summarizing the overall product quality'
}, null, 2));
parts.push('');