Files
myWiki/concepts/prompt-migration-workflow.md
2026-07-20 14:14:55 +08:00

48 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Prompt 迁移工作流 (Prompt Migration Workflow)"
created: 2026-07-13
updated: 2026-07-13
type: concept
tags: [prompt-engineering, migration, workflow]
sources:
- https://developers.openai.com/api/docs/guides/prompt-guidance-gpt-5p6
- openai-gpt5p6-prompt-guide-2026
---
# Prompt 迁移工作流
## 定义
GPT-5.6 官方推荐的从旧 Prompt 迁移到新模型的**增量迭代方法**。核心思想:不做一次性大改,而是一小步一小步地删减和验证。
## 流程
```
当前可工作的 Prompt基线
删除一组:重复指令 / 无效示例 / 无关工具
同一批评测验证
判断效果 → 保留改动 / 回滚
重复,直到只保留确实影响模型行为的信息
```
## 关键原则
- **增量**:每次只删一组,控制改动范围
- **可归因**:知道是哪项修改影响了表现
- **可回滚**:评测不通过时恢复
- **基线对比**:始终与原始版本比较
## 适用场景
- 模型版本升级(如 GPT-4 → GPT-5.6
- System Prompt 长期积累了大量 Always/Never/固定流程
- 需要量化 Prompt 改动对 Agent 性能的影响
## 参考
- [[openai-gpt5p6-prompt-guide-2026|GPT-5.6 Prompt 指南]]
- [[prompt-simplification|Prompt 做减法]]