feat(viral-video): VLM提速(lite+并行) + 商品描述增强(6维度+summary) + 爆款结构19选注入 #2133
Reference in New Issue
Block a user
Delete Branch "feat/viral-vlm-speed-and-rich-analysis"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
v7 E2E 测试反馈三个问题:
问题4:图片分析提速
doubao_vision_lite_model(默认doubao-1-5-vision-lite-250915)+doubao_vision_use_lite(默认 true)配置项call_vision支持 model/max_tokens/temperature/timeout/system_prompt 参数覆盖_step_image_analysis改为ThreadPoolExecutor并行调用 VLM(max_workers=min(4,n_images)),lite 模型 timeout=30s,max_tokens=1024问题5:VLM 商品描述增强
_IMAGE_ANALYSIS_SYSTEM_PROMPT要求输出 16 字段:name/brand/category/spec/appearance(80-150字)/packaging(80-150字)/text_on_package(数组)/colors/material_or_texture/key_features/visual_style/scene/suitable_scenes/target_audience/selling_points/summary(150-250字)_build_products_summary优先用 VLM 的 summary 段(自然段落给编导模型),兜底再拼结构化字段_analyze_single_image独立函数,所有新字段都有 setdefault 防御,兼容旧字段名问题6:爆款结构注入
_SCRIPT_GENERATION_PROMPT其它
验收目标
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #2133 已关闭或合并,对应的预览环境已被清理。