tweak prompt

This commit is contained in:
2025-11-03 09:32:45 -05:00
parent 307d029648
commit 8c33e2b182

View File

@@ -29,16 +29,16 @@ SYSTEM_PROMPT = textwrap.dedent('''
Item: "Aveeno Daily Moisturizing Body Lotion, Gentle Lotion Nourishes Dry Skin with Moisture, Sooth-ing Prebiotic Oat, Fragrance-Free, Non-Comedogenic, Travel-Size, 2.5 fl. oz, 3 Pack"
Good description: lotion
Acceptable description: body lotion
Bad description: Moisturizing loation (all lotion is moisturizing)
Bad description: Aveeno lotion (brand is unnecessary)
Bad description: moisturizing lotion (all lotion is moisturizing)
Bad description: aveeno lotion (brand is unnecessary)
Prefer more specific elements from the item title for descriptions, when available. Especially applicable to broad categories like books or music. For example:
Item: "Zazzee Myo-Inositol Powder, 6 Month Supply, 183 Servings, 2000 mg per Serving, Free Scoop for Exact Dosage, 12.91 Ounces, 100% Pure, All-Natural Fertility and Reproductive Support, Vegan, Non-GMO"
Good description: myo-inositol
Acceptable description: myo-inositol powder
Bad description: Fertility supplement
Bad description: Supplement powder
Bad description: fertility supplement
Bad description: supplement powder
Item: "The Chronicles of Prydain Boxed Set"
Good description: chronicles of prydain
@@ -48,8 +48,8 @@ SYSTEM_PROMPT = textwrap.dedent('''
Item: "Debussy -- 12 Selected Piano Works: Book & Online Audio (Alfred Masterwork Audio Edition)"
Good description: debussy book
Good description: debussy piano works
Bad description: Piano book
Bad description: Piano music
Bad description: piano book
Bad description: piano music
Do NOT include categories that do not appear in the provided list.