Examples and guides for using the OpenAI API
Update prompt-optimization-cookbook.ipynb with formatting improvements (#2027)
rajpathak-openaief470b52ff36
diff --git a/examples/gpt-5/prompt-optimization-cookbook.ipynb b/examples/gpt-5/prompt-optimization-cookbook.ipynbindex 4709740e..d64a5ce5 100644--- a/examples/gpt-5/prompt-optimization-cookbook.ipynb+++ b/examples/gpt-5/prompt-optimization-cookbook.ipynb@@ -25,7 +25,7 @@"id": "f066a2db","metadata": {},"source": [- "## Migrating and Optimizing Prompts\n",+ "### Migrating and Optimizing Prompts\n","\n","Crafting effective prompts is a critical skill when working with LLMs. The goal of the Prompt Optimizer is to give your prompt the best practices and formatting most effective for our models. The Optimizer also removes common prompting failure modes such as: \n","\n",@@ -845,7 +845,7 @@},{"cell_type": "code",- "execution_count": 11,+ "execution_count": 1,"id": "c20097e6","metadata": {},"outputs": [@@ -959,7 +959,7 @@"id": "ebd5453b","metadata": {},"source": [- "## Conclusion\n",+ "### Conclusion\n","\n","We’re excited for everyone to try **Prompt Optimization for GPT-5** in the OpenAI Playground. GPT-5 brings state-of-the-art intelligence, and a strong prompt helps it reason more reliably, follow constraints, and produce cleaner, higher quality results.\n","\n",@@ -970,9 +970,9 @@],"metadata": {"kernelspec": {- "display_name": "Python 3.12 (jupyter)",+ "display_name": "Python 3","language": "python",- "name": "jupyter-py312"+ "name": "python3"},"language_info": {"codemirror_mode": {@@ -984,7 +984,7 @@"name": "python","nbconvert_exporter": "python","pygments_lexer": "ipython3",- "version": "3.12.10"+ "version": "3.11.13"}},"nbformat": 4,