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:
2026-09-03 18:28:39 +08:00
parent d68cc3b9e3
commit 5ab5cf6586
40 changed files with 1967 additions and 149 deletions
+15
View File
@@ -0,0 +1,15 @@
-- 以 style_codes_by_country.csv 中『童装T恤』品类的 19 个款号为准,
-- 更新对应 SPU 的 target_audience / season / kids_type / kids_age。
UPDATE spu
SET target_audience = '男童',
season = 'ALL/全球/所有',
kids_type = '上衣',
kids_age = '12岁及以下'
WHERE UPPER(TRIM(code)) IN ('5000B', 'DG012', 'DG014', 'DG301', 'DG503', 'ESTK005', 'GBTK005', 'GBTK008', 'GBTK012', 'ITTK002', 'JPTK015', 'JSA004', 'METN001', 'PLHM012', 'PLHM013', 'PLTK005', 'PLTK015', 'PLTK016', 'SATK004');
-- 校验(应返回被更新行数与取值分布)
SELECT target_audience, season, kids_type, kids_age, COUNT(*)
FROM spu
WHERE UPPER(TRIM(code)) IN ('5000B', 'DG012', 'DG014', 'DG301', 'DG503', 'ESTK005', 'GBTK005', 'GBTK008', 'GBTK012', 'ITTK002', 'JPTK015', 'JSA004', 'METN001', 'PLHM012', 'PLHM013', 'PLTK005', 'PLTK015', 'PLTK016', 'SATK004')
GROUP BY target_audience, season, kids_type, kids_age;