Skip to content

Examples and guides for using the OpenAI API

Replace static image with video in prompt-optimization-cookbook.ipynb… (#2054)

rajpathak-openai30d1d6d7456a
diff --git a/examples/gpt-5/prompt-optimization-cookbook.ipynb b/examples/gpt-5/prompt-optimization-cookbook.ipynb
index 80a901f7..59689074 100644
--- a/examples/gpt-5/prompt-optimization-cookbook.ipynb
+++ b/examples/gpt-5/prompt-optimization-cookbook.ipynb
@@ -17,7 +17,10 @@
"\n",
"GPT-5 will benefit from all the traditional [prompting best practices](https://cookbook.openai.com/examples/gpt-5/gpt-5_prompting_guide), but to make optimizations and migrations easier, we are introducing the **[GPT-5 Prompt Optimizer](https://platform.openai.com/chat/edit?optimize=true) in our Playground to help users get started on **improving existing prompts** and **migrating prompts** for GPT-5 and other OpenAI models.**\n",
"\n",
- "![optimize_image](../../images/image_optimize_landing_2.png)\n",
+ "<video controls width=\"720\" preload=\"metadata\" autoplay loop muted playsinline>\n",
+ " <source src=\"../../images/prompt-optimizer-3-22s.mp4\" type=\"video/mp4\">\n",
+ " Your browser does not support the video tag.\n",
+ "</video>\n",
"\n",
"In this cookbook we will show you how to use the Prompt Optimzer to get spun up quickly to solve your tasks with GPT-5, while demonstrating how prompt optimize can have measurable improvements. "
]
diff --git a/images/prompt-optimizer-3-22s.mp4 b/images/prompt-optimizer-3-22s.mp4
new file mode 100644
index 00000000..5c89e0aa
Binary files /dev/null and b/images/prompt-optimizer-3-22s.mp4 differ