diff --git a/backend/inference.py b/backend/inference.py index ebb3cfa..719ed99 100644 --- a/backend/inference.py +++ b/backend/inference.py @@ -106,10 +106,34 @@ CALL1_SEED = ( '"feature_tag_ids": [,...], "feature_tag_confidence": <0-1>}' ) CALL2_SEED = ( - "Write the long product description for the slab from the supplied photos and listing " - "facts. The name and short description are already built, so do not repeat them. Use the " - "brand voice and geo context given. The dimensions in the fact block are exact: use those " - "strings and invent no numbers. Write prose a premium lumber buyer would read." + "Write WooCommerce listing copy for this slab from the photos and listing facts below.\n" + "You write BOTH the short description and the long description.\n" + "\n" + "Rules that always apply:\n" + "- Dimensions in the DIMENSION FACT BLOCK are exact: use those strings; invent no numbers.\n" + "- Use taxonomy names from DECLARED ATTRIBUTES; do not invent species, edge, figure, grade, " + "moisture, or features.\n" + "- Use the Brand voice and Geography sections when provided. If Brand voice is empty, stay " + "neutral. Never invent return, warranty, or shipping policies.\n" + "- The product name may already appear in DECLARED ATTRIBUTES — do not invent a new title.\n" + "\n" + "SHORT DESCRIPTION (~50 words — most important on-page copy; plain text, no HTML):\n" + "1. Lead with the outcome or problem solved (benefit), not material-first.\n" + "2. Add the key differentiator or most important spec.\n" + "3. Close with a trust signal or reason to act.\n" + "Do NOT lead with a species + material list.\n" + "\n" + "LONG DESCRIPTION (HTML for the WooCommerce visual editor — short paragraphs, " + "