Skip to content

Commit 6006e5d

Browse files
committed
notes formatting
1 parent 10eacd5 commit 6006e5d

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

examples/gpt-5/prompt-optimization-cookbook.ipynb

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"\n",
3636
"Along with tuning the prompt for the target model, the Optimizer is cognizant of the specific task you are trying to accomplish and can apply crucial practices to boost performance in Agentic Workflows, Coding and Multi-Modality. Let's walk through some before-and-afters to see where prompt optimization shines. \n",
3737
"\n",
38-
"> [!NOTE]\n",
3938
"> Remember that prompting is not a one-size-fits-all experience, so we recommend running thorough experiments and iterating to find the best solution for your problem."
4039
]
4140
},
@@ -44,16 +43,24 @@
4443
"id": "8fcbc964",
4544
"metadata": {},
4645
"source": [
47-
"> [!IMPORTANT]\n",
46+
"\n",
4847
"> Ensure you have set up your OpenAI API Key set as `OPENAI_API_KEY` and have access to GPT-5\n"
4948
]
5049
},
5150
{
5251
"cell_type": "code",
53-
"execution_count": null,
52+
"execution_count": 1,
5453
"id": "5a0d077c",
5554
"metadata": {},
56-
"outputs": [],
55+
"outputs": [
56+
{
57+
"name": "stdout",
58+
"output_type": "stream",
59+
"text": [
60+
"OPENAI_API_KEY is set!\n"
61+
]
62+
}
63+
],
5764
"source": [
5865
"import os\n",
5966
"\n",
@@ -111,7 +118,7 @@
111118
},
112119
{
113120
"cell_type": "code",
114-
"execution_count": null,
121+
"execution_count": 4,
115122
"id": "377cc6f4",
116123
"metadata": {},
117124
"outputs": [],
@@ -130,12 +137,6 @@
130137
"\"\"\"\n"
131138
]
132139
},
133-
{
134-
"cell_type": "markdown",
135-
"id": "66ae7a26",
136-
"metadata": {},
137-
"source": []
138-
},
139140
{
140141
"cell_type": "markdown",
141142
"id": "01b0e8b3",
@@ -969,9 +970,9 @@
969970
],
970971
"metadata": {
971972
"kernelspec": {
972-
"display_name": "Python 3",
973+
"display_name": "Python 3.12 (jupyter)",
973974
"language": "python",
974-
"name": "python3"
975+
"name": "jupyter-py312"
975976
},
976977
"language_info": {
977978
"codemirror_mode": {
@@ -983,7 +984,7 @@
983984
"name": "python",
984985
"nbconvert_exporter": "python",
985986
"pygments_lexer": "ipython3",
986-
"version": "3.11.13"
987+
"version": "3.12.10"
987988
}
988989
},
989990
"nbformat": 4,

0 commit comments

Comments
 (0)