Files
slide/decks/gen2D/pages/prompt-agent.md
T
2026-05-30 22:14:23 +08:00

20 lines
724 B
Markdown

# 提示词优化 Agent
Eino Chain 驱动的智能提示词生成
<Item title="① 风格合并">
`finalStyle = merge(projectStyle, taskStyle)` — 工程风格为基底,任务风格逐键覆盖。自定义标签自动提取。
</Item>
<Item title="② 三段式提示词组装">
**主体描述**(用户输入)+ **风格约束**(美术风格、色调、线条)+ **技术规格**(尺寸、格式、透明背景)
</Item>
<Item title="③ LLM 优化 + 回退机制">
调用 Eino Chain 发给 DeepSeek 润色。**无 API Key 自动回退模板**,失败时注入重试上下文。
</Item>
<div class="flex justify-center">
<img src="/prompt-agent.svg" class="w-full max-h-[160px] object-contain" />
</div>