Skip to content

Commit 5793969

Browse files
committed
Add background music handling instructions to Realtime prompting guide
1 parent 1ea3d59 commit 5793969

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

examples/Realtime_prompting_guide.ipynb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,32 @@
993993
"In this example, the model asks for clarification after my *(very)* loud cough and unclear audio."
994994
]
995995
},
996+
{
997+
"cell_type": "markdown",
998+
"id": "e0ce8f30",
999+
"metadata": {},
1000+
"source": [
1001+
"## Background Music or Sounds\n",
1002+
"Occasionally, the model may generate unintended background music, humming, rhythmic noises, or sound-like artifacts during speech generation. These artifacts can diminish clarity, distract users, or make the assistant feel less professional. The following instructions helps prevent or significantly reduce these occurrences.\n",
1003+
"\n",
1004+
"- **When to use**: Use when you observe unintended musical elements or sound effects in Realtime audio responses.\n",
1005+
"- **What it does**: Steers the model to avoid generating these unwanted audio artifacts.s\n",
1006+
"- **How to adapt**: Adjust the instruction to try to explicitly suppress the specific sound patterns you are encountering."
1007+
]
1008+
},
1009+
{
1010+
"cell_type": "markdown",
1011+
"id": "c22c1c32",
1012+
"metadata": {},
1013+
"source": [
1014+
"### Example\n",
1015+
"```\n",
1016+
"# Instructions/Rules\n",
1017+
"...\n",
1018+
"- Do not include any sound effects or onomatopoeic expressions in your responses.\n",
1019+
"```"
1020+
]
1021+
},
9961022
{
9971023
"cell_type": "markdown",
9981024
"id": "ea96cb72",

0 commit comments

Comments
 (0)