Skip to content

Commit bf2b1a4

Browse files
authored
Fix formatting in gpt-5 CFG cookbook
1 parent cf19ff4 commit bf2b1a4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/gpt-5/gpt-5_new_params_and_tools.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -968,16 +968,16 @@
968968
"| Rules (lower) | Combine terminals; cannot influence how text is tokenised. |\n",
969969
"| Greedy lexer | Never try to “shape” free text across multiple terminals – you’ll lose control. |\n",
970970
"\n",
971-
"** Correct vs Incorrect Pattern Design\n",
971+
"**Correct vs Incorrect Pattern Design** \n",
972972
"\n",
973973
"✅ **One bounded terminal handles free‑text between anchors** \n",
974-
"start: SENTENCE \n",
974+
"```start: SENTENCE \n",
975975
"SENTENCE: /[A-Za-z, ]*(the hero|a dragon)[A-Za-z, ]*(fought|saved)[A-Za-z, ]*(a treasure|the kingdom)[A-Za-z, ]*\\./ \n",
976-
"\n",
976+
"```\n",
977977
"❌ **Don’t split free‑text across multiple terminals/rules** \n",
978-
"start: sentence \n",
978+
"```start: sentence \n",
979979
"sentence: /[A-Za-z, ]+/ subject /[A-Za-z, ]+/ verb /[A-Za-z, ]+/ object /[A-Za-z, ]+/ \n",
980-
"\n",
980+
"```\n",
981981
"\n",
982982
"### 3.3 Example - SQL Dialect — MS SQL vs PostgreSQL\n",
983983
"\n",

0 commit comments

Comments
 (0)