Files
slogan/styleagent/agent/scoring_rules.go
T

25 lines
657 B
Go

package agent
// WardrobeItem 评分用服装条目(从衣橱 entity 转换)
type WardrobeItem struct {
Category string // 上衣/下装/鞋/配饰
Season string // 春/夏/秋/冬/四季
ColorInfo string // 如 #RRGGBB
StyleTags string
}
// CandidateOutfit 候选组合
type CandidateOutfit struct {
Items []WardrobeItem
HasOuterwear bool
}
// ScoreContext 评分上下文
type ScoreContext struct {
TempAvg int // 日期范围平均温度℃
Season string // 春/夏/秋/冬
Occasion string // 通勤/约会/聚会/运动
Weekday string // workday/weekend/holiday
StyleTags []string // 用户偏好标签
}