Skip to content

Commit c7dbaf8

Browse files
authored
Enhance Realtime prompting guide with additional context on common tools (#2186)
1 parent 9c80f89 commit c7dbaf8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

examples/Context_summarization_with_realtime_api.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
"> 1. gpt-realtime supports a 32k token context window, though in certain use cases, you may notice performance degrade as you stuff more tokens into the context window.\n",
3434
"> 2. Token window = all tokens (words and audio tokens) the model currently keeps in memory for the session.x\n",
3535
"\n",
36-
"### One‑liner install (run in a fresh cell)"
36+
"### One‑liner install (run in a fresh cell)\n",
37+
"\n",
38+
"*New API Parameters:*\n",
39+
"> 1. The Realtime API GA has releases a new parameter [`truncation`](https://platform.openai.com/docs/api-reference/realtime-client-events/session/update#realtime-client-events/session/update-session-realtime-session-configuration-truncation). This parameter automatically optimizes context truncation, preserving relevant information while maximizing cache hit rates."
3740
]
3841
},
3942
{

examples/Realtime_prompting_guide.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,9 @@
13761376
"metadata": {},
13771377
"source": [
13781378
"## Common Tools\n",
1379-
"The new model snapshot has been trained to effectively use the following common tools. If your use case needs similar behavior, keep the names, signatures, and descriptions close to these to maximize reliability and to be more in-distribution."
1379+
"The new model snapshot has been trained to effectively use the following common tools. If your use case needs similar behavior, keep the names, signatures, and descriptions close to these to maximize reliability and to be more in-distribution.\n",
1380+
"\n",
1381+
"Below are some of the important common tools that the model has been trained on:"
13801382
]
13811383
},
13821384
{

0 commit comments

Comments
 (0)