Blame view

indexer/taxonomy.md 5.74 KB
78cdef1c   tangwang   添加字段enriched_taxo...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
  
  服装大类的taxonomy
  
  ### A. Product Classification
  
  | 一级层级                      | 中文列名 | English Column Name |
  | ------------------------- | ---- | ------------------- |
  | A. Product Classification | 品类   | Product Type        |
  | A. Product Classification | 目标性别 | Target Gender       |
  | A. Product Classification | 年龄段  | Age Group           |
  | A. Product Classification | 适用季节 | Season              |
  
  ### B. Garment Design
  
  | 一级层级              | 中文列名 | English Column Name |
  | ----------------- | ---- | ------------------- |
  | B. Garment Design | 版型   | Fit                 |
  | B. Garment Design | 廓形   | Silhouette          |
  | B. Garment Design | 领型   | Neckline            |
  | B. Garment Design | 袖型   | Sleeve Style        |
  | B. Garment Design | 肩带设计 | Strap Type          |
  | B. Garment Design | 腰型   | Rise / Waistline    |
  | B. Garment Design | 裤型   | Leg Shape           |
  | B. Garment Design | 裙型   | Skirt Shape         |
  | B. Garment Design | 长度   | Length Type         |
  | B. Garment Design | 闭合方式 | Closure Type        |
  | B. Garment Design | 设计细节 | Design Details      |
  
  ### C. Material & Performance
  
  | 一级层级                      | 中文列名        | English Column Name  |
  | ------------------------- | ----------- | -------------------- |
  | C. Material & Performance | 面料          | Fabric               |
  | C. Material & Performance | 成分          | Material Composition |
  | C. Material & Performance | 面料特性        | Fabric Properties    |
  | C. Material & Performance | 服装特征 / 功能细节 | Clothing Features    |
  | C. Material & Performance | 功能          | Functional Benefits  |
  
  ### D. Merchandising Attributes
  
  | 一级层级                        | 中文列名    | English Column Name |
  | --------------------------- | ------- | ------------------- |
  | D. Merchandising Attributes | 主颜色     | Color               |
  | D. Merchandising Attributes | 色系      | Color Family        |
  | D. Merchandising Attributes | 印花 / 图案 | Print / Pattern     |
  | D. Merchandising Attributes | 适用场景    | Occasion / End Use  |
  | D. Merchandising Attributes | 风格      | Style Aesthetic     |
  
  
  
  根据这个产生
  enriched_taxonomy_attributes
  
  ```python
  Product Type
  Target Gender
  Age Group
  Season
  Fit
  Silhouette
  Neckline
  Sleeve Length Type
  Sleeve Style
  Strap Type
  Rise / Waistline
  Leg Shape
  Skirt Shape
  Length Type
  Closure Type
  Design Details
  Fabric
  Material Composition
  Fabric Properties
  Clothing Features
  Functional Benefits
  Color
  Color Family
  Print / Pattern
  Occasion / End Use
  Style Aesthetic
  ```
  
  提示词:
  
  ```python
  SHARED_ANALYSIS_INSTRUCTION = """
  Analyze each input product text and fill the columns below using an apparel attribute taxonomy.
  
  Output columns:
  1. Product Type: concise ecommerce apparel category label, not a full marketing title
  2. Target Gender: intended gender only if clearly implied
  3. Age Group: only if clearly implied, e.g. adults, kids, teens, toddlers, babies
  4. Season: season(s) or all-season suitability only if supported
  5. Fit: body closeness, e.g. slim, regular, relaxed, oversized, fitted
  6. Silhouette: overall garment shape, e.g. straight, A-line, boxy, tapered, bodycon, wide-leg
  7. Neckline: neckline type when applicable, e.g. crew neck, V-neck, hooded, collared, square neck
  8. Sleeve Length Type: sleeve length only, e.g. sleeveless, short sleeve, long sleeve, three-quarter sleeve
  9. Sleeve Style: sleeve design only, e.g. puff sleeve, raglan sleeve, batwing sleeve, bell sleeve
  10. Strap Type: strap design when applicable, e.g. spaghetti strap, wide strap, halter strap, adjustable strap
  11. Rise / Waistline: waist placement when applicable, e.g. high rise, mid rise, low rise, empire waist
  12. Leg Shape: for bottoms only, e.g. straight leg, wide leg, flare leg, tapered leg, skinny leg
  13. Skirt Shape: for skirts only, e.g. A-line, pleated, pencil, mermaid
  14. Length Type: design length only, not size, e.g. cropped, regular, longline, mini, midi, maxi, ankle length, full length
  15. Closure Type: fastening method when applicable, e.g. zipper, button, drawstring, elastic waist, hook-and-loop
  16. Design Details: construction or visual details, e.g. ruched, ruffled, pleated, cut-out, layered, distressed, split hem
  17. Fabric: fabric type only, e.g. denim, knit, chiffon, jersey, fleece, cotton twill
  18. Material Composition: fiber content or blend only if stated, e.g. cotton, polyester, spandex, linen blend, 95% cotton 5% elastane
  19. Fabric Properties: inherent fabric traits, e.g. stretch, breathable, lightweight, soft-touch, water-resistant
  20. Clothing Features: product features, e.g. lined, reversible, hooded, packable, padded, pocketed
  21. Functional Benefits: wearer benefits, e.g. moisture-wicking, thermal insulation, UV protection, easy care, supportive compression
  22. Color: specific color name when available
  23. Color Family: normalized broad retail color group, e.g. black, white, blue, green, red, pink, beige, brown, gray
  24. Print / Pattern: surface pattern when applicable, e.g. solid, striped, plaid, floral, graphic, animal print
  25. Occasion / End Use: likely use occasion only if supported, e.g. office, casual wear, streetwear, lounge, workout, outdoor
  26. Style Aesthetic: overall style only if supported, e.g. minimalist, streetwear, athleisure, smart casual, romantic, playful
  
  Rules:
  - Keep the same row order and row count as input.
  - Infer only from the provided product text.
  - Leave blank if not applicable or not reasonably supported.
  - Use concise, standardized English ecommerce wording.
  - Do not combine different attribute dimensions in one field.
  - If multiple values are needed, use the delimiter required by the localization setting.
  
  Input product list:
  """
  ```