fix:更新occasion映射服装类别
This commit is contained in:
@@ -250,9 +250,20 @@ class AsyncStylistAgent:
|
||||
if occasion == "Bridal / Wedding":
|
||||
request_summary += "IMPORTANT: Strictly only recommend colorful or white items (clothing, shoes, and bags)."
|
||||
elif occasion == "Evening":
|
||||
request_summary += " **EVENING STYLE MANDATE:** Prioritize high textural contrast. Avoid flat/matte monochrome or total black looks. Ensure visual depth through layering (e.g., varying lengths or sheer panels). Use statement accessories to break simple silhouettes."
|
||||
request_summary += (" **EVENING STYLE MANDATE:** Prioritize high textural contrast. Avoid flat/matte monochrome or total black looks. Ensure visual depth through layering "
|
||||
"(e.g., varying lengths or sheer panels). Use statement accessories to break simple silhouettes.")
|
||||
elif occasion == "Business / workwear":
|
||||
request_summary += " **WORKWEAR STYLE MANDATE:** Focus on 'Power Dressing' silhouettes—prioritize sharp, oversized blazers paired with floor-length wide-leg trousers. Use tonal dressing (different shades of the same color) to create a sophisticated, elongated look. Balance masculine tailoring with polished, feminine textures. Select structured, architectural bags and pointed-toe or sleek loafers to maintain professional sharpness."
|
||||
request_summary += (" **WORKWEAR STYLE MANDATE:** Focus on 'Power Dressing' silhouettes—prioritize sharp, oversized blazers paired with floor-length wide-leg trousers. "
|
||||
"Use tonal dressing to create a sophisticated, elongated look. Balance masculine tailoring with polished, feminine textures. "
|
||||
"Select structured, architectural bags and pointed-toe or sleek loafers. MANDATORY: Include a complete gold or silver jewelry set "
|
||||
"(earrings, necklaces, bracelets, and rings).")
|
||||
elif occasion == "Outdoor":
|
||||
request_summary += " **OUTDOOR STYLE MANDATE:** No jeans allowed. Focus on functional yet polished alternatives like chinos, technical fabrics, or tailored shorts."
|
||||
elif occasion == "Festival / Concert":
|
||||
request_summary += " **FESTIVAL STYLE MANDATE:** No maxi dresses or maxi skirts. Prioritize shorter hemlines, sets, or trousers to ensure ease of movement."
|
||||
elif occasion == "Beach / Swim":
|
||||
request_summary += " **BEACH STYLE MANDATE:** No denim allowed. Focus on breathable, lightweight fabrics like linen, silk, or crochet."
|
||||
|
||||
sys_template = template.format(
|
||||
gender=self.gender,
|
||||
current_category=current_category.upper(),
|
||||
|
||||
@@ -163,7 +163,7 @@ OCCASION_CATEGORY_MAP = {
|
||||
"accessories": ["earrings", "necklaces", "bracelets", "rings"]
|
||||
},
|
||||
"Outdoor": {
|
||||
"clothing": ["jackets", "jeans", "sweaters"],
|
||||
"clothing": ["jackets", "sweaters", "pants", "joggers", "leggings", "shorts"],
|
||||
"shoes": ["boots"],
|
||||
"bags": ["backpacks", "travel bags"],
|
||||
"accessories": []
|
||||
|
||||
Reference in New Issue
Block a user