场景定位
把应用迁移到最新 OpenAI API 模型和接口实践。 本页把官方 use case 的章节、工具、起步提示词和检查点整理成中文执行流程,便于直接对照落地。
- 难度
- 高级
- 时间跨度
- 约 15-30 分钟
适合用于
- 需要把「把应用迁移到最新 OpenAI API 模型和接口实践。」做成可复用流程的团队,且来源分散在 OpenAI Docs 等工具中
- 希望 ChatGPT 或 Codex 保留来源、检查点和可审阅输出的使用者
- 需要把「升级 API 集成」从一次性对话变成可复查工作流的场景
Skills & Plugins
相关工具
Starter Prompt
起步提示词
Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
Specifically, look for the latest model and prompt guidance for this specific model.
Requirements:
- Start by inventorying the current models, endpoints, and tool assumptions in the repo.
- Identify the smallest migration plan that gets us onto the latest supported path.
- Preserve behavior unless a change is required by the new API or model.
- Update prompts using the latest model prompt guidance.
- Call out any prompt, tool, or response-shape changes we need to review manually. 在 ChatGPT 中尝试 介绍
这一节对应官方流程中的「Introduction」。落地时围绕「升级 API 集成」把目标、输入、执行步骤和验证证据保持在同一条工作流里。
操作要点:运行最小可信验证并保存证据,让后续审查能看到命令、结果和失败处理方式。
操作要点:围绕「Introduction」推进「升级 API 集成」时,保持目标、输入、执行步骤和验证结果一致。
操作要点:围绕「Introduction」推进「升级 API 集成」时,保持目标、输入、执行步骤和验证结果一致。
利用 the OpenAI Docs skill
这一节对应官方流程中的「Leverage the OpenAI Docs skill」。落地时围绕「升级 API 集成」把目标、输入、执行步骤和验证证据保持在同一条工作流里。
操作要点:围绕「Leverage the OpenAI Docs skill」推进「升级 API 集成」时,保持目标、输入、执行步骤和验证结果一致。
操作要点:先把本节需要的来源材料、权限和上下文补齐;缺失内容要明确标记,不要让 ChatGPT 或 Codex 隐式猜测。
操作要点:先把本节需要的来源材料、权限和上下文补齐,并关注 Codex 等相关来源或工具;缺失内容要明确标记,不要让 ChatGPT 或 Codex 隐式猜测。
构建 a robust evals pipeline
产出阶段应把「把应用迁移到最新 OpenAI API 模型和接口实践。」转成可编辑、可审阅的交付物,并保留结构、来源和后续修改入口。
操作要点:运行最小可信验证并保存证据,并关注 Codex 等相关来源或工具,让后续审查能看到命令、结果和失败处理方式。
操作要点:把已确认的上下文转成「升级 API 集成」所需的可审阅草稿或交付物,并保留后续修改入口。
操作要点:围绕「Build a robust evals pipeline」推进「升级 API 集成」时,保持目标、输入、执行步骤和验证结果一致。
Prompt Library
建议提示词
先界定范围
For Upgrade your API integration, first inspect the available sources and propose the smallest useful scope. Name the inputs, outputs, validation steps, permissions, and anything that needs approval before action. 交付前复核
Review the result for Upgrade your API integration. Check source coverage, assumptions, unresolved questions, and the evidence that proves the output is ready to use.