v110-v112 自定义模式完善 + 模板导出增强 + 多模态兼容优化
- 自定义模式:分析模型输出 delta 唯一改动指令,生图模板 custom_image_prompt.md({delta} 占位符),不再使用负向提示词;generate_design 按 custom_mode 分支,Pinterest 模式保留原创化指令,两模式互不影响
- 多模态分析 response_format 三级回退(json_schema → json_object → none),兼容 DeepSeek
- 模板导出:details 扩展列(细节1/2/3)、target_audience 扩展列(适用人群1)、固定值风格1=休闲/风格2=运动
- 童装特征库更新 + 标题模板外部化 + 图源映射增强
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- 以 style_codes_by_country.csv 中『男士卫衣』品类的 21 个款号为准,
|
||||
-- 更新对应 SPU 的 details / collar_style / target_audience / season / sleeve_length_type。
|
||||
|
||||
UPDATE spu
|
||||
SET details = '抽绳',
|
||||
collar_style = '连帽',
|
||||
target_audience = '男士',
|
||||
season = '秋/冬',
|
||||
sleeve_length_type = '长袖'
|
||||
WHERE UPPER(TRIM(code)) IN ('CAHM002', 'DEHM003', 'DF009', 'DF010', 'ESHM003', 'ESHM004', 'GBHM002', 'GBHM003', 'HM01', 'JPHM009', 'JPHM010', 'JPPX012', 'JPPX013', 'JSB001', 'JSB002', 'JSB003', 'KRHM002', 'KRHM003', 'PLHM002', 'PLHM003', 'SAHM003');
|
||||
|
||||
-- 校验
|
||||
SELECT details, collar_style, target_audience, season, sleeve_length_type, COUNT(*)
|
||||
FROM spu
|
||||
WHERE UPPER(TRIM(code)) IN ('CAHM002', 'DEHM003', 'DF009', 'DF010', 'ESHM003', 'ESHM004', 'GBHM002', 'GBHM003', 'HM01', 'JPHM009', 'JPHM010', 'JPPX012', 'JPPX013', 'JSB001', 'JSB002', 'JSB003', 'KRHM002', 'KRHM003', 'PLHM002', 'PLHM003', 'SAHM003')
|
||||
GROUP BY details, collar_style, target_audience, season, sleeve_length_type;
|
||||
Reference in New Issue
Block a user