From 68315b8525d7d5395acf651e9631f8064321afd0 Mon Sep 17 00:00:00 2001 From: minh-hoque Date: Thu, 9 Oct 2025 10:14:53 -0400 Subject: [PATCH 1/2] Enhance Realtime prompting guide with additional context on common tools --- examples/Realtime_prompting_guide.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/Realtime_prompting_guide.ipynb b/examples/Realtime_prompting_guide.ipynb index 553d7db1d2..fdbb9d4418 100644 --- a/examples/Realtime_prompting_guide.ipynb +++ b/examples/Realtime_prompting_guide.ipynb @@ -1376,7 +1376,9 @@ "metadata": {}, "source": [ "## Common Tools\n", - "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." + "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", + "\n", + "Below are some of the important common tools that the model has been trained on:" ] }, { From 42c857458dd80f68a1c402eae571f6b5d941ce06 Mon Sep 17 00:00:00 2001 From: minh-hoque Date: Thu, 9 Oct 2025 10:19:24 -0400 Subject: [PATCH 2/2] added truncation parameter --- examples/Context_summarization_with_realtime_api.ipynb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/Context_summarization_with_realtime_api.ipynb b/examples/Context_summarization_with_realtime_api.ipynb index 837eda3b77..fce69482bd 100644 --- a/examples/Context_summarization_with_realtime_api.ipynb +++ b/examples/Context_summarization_with_realtime_api.ipynb @@ -33,7 +33,10 @@ "> 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", "> 2. Token window = all tokens (words and audio tokens) the model currently keeps in memory for the session.x\n", "\n", - "### One‑liner install (run in a fresh cell)" + "### One‑liner install (run in a fresh cell)\n", + "\n", + "*New API Parameters:*\n", + "> 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." ] }, {