UPDATE; fullfill LC request for lacking layering of Evening/workwear occasions

This commit is contained in:
pangkaicheng
2026-01-14 11:42:32 +08:00
parent 077ceea219
commit a7b101253b
2 changed files with 5 additions and 1 deletions

View File

@@ -362,7 +362,7 @@ if __name__ == "__main__":
request_data = json.load(f)
tasks_with_metadata = []
for test_content in request_data[9:10]:
for test_content in request_data[6:7]:
occasions = test_content['occasions']
request_summary = test_content['request_summary']
for stylist_name in ["crystal", "mini", "vera", "edi"]:

View File

@@ -251,6 +251,10 @@ class AsyncStylistAgent:
# Insert the style_guide content into the template
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."
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."
sys_template = template.format(
gender=self.gender,
current_category=current_category.upper(),