Skip to content

Examples and guides for using the OpenAI API

docs: Format literal quotes in the prompt migration guide (#3108)

Marcus Wood02bf6c21a7f9
diff --git a/examples/Prompt_migration_guide.ipynb b/examples/Prompt_migration_guide.ipynb
index 1d441d19..6d68ef90 100644
--- a/examples/Prompt_migration_guide.ipynb
+++ b/examples/Prompt_migration_guide.ipynb
@@ -16,7 +16,7 @@
"\n",
"- Ambiguous:\n",
"\n",
- "> \"\"Do not include irrelevant information.\"\"\n",
+ "> \"Do not include irrelevant information.\"\n",
"\n",
"Issue: GPT-4.1 might struggle to determine what is \"irrelevant\" if not explicitly defined. This could cause it to omit essential details due to overly cautious interpretation or include too much detail inadvertently..\n",
"\n",
@@ -205,7 +205,7 @@
"metadata": {},
"source": [
"## Step 1. Input Your Original Prompt\n",
- "Begin by providing your existing prompt clearly between triple quotes (\"\"\"). This prompt will serve as the baseline for improvement.\n",
+ "Begin by providing your existing prompt clearly between triple quotes (`\"\"\"`). This prompt will serve as the baseline for improvement.\n",
"\n",
"For this example, we will be using the system prompt for LLM-as-a-Judge provided in the following [paper](https://arxiv.org/pdf/2306.05685)."
]