diff --git a/changelog/3929.other.md b/changelog/3929.other.md new file mode 100644 index 000000000..c1d9f8dda --- /dev/null +++ b/changelog/3929.other.md @@ -0,0 +1 @@ +- Updated AssemblyAI turn detection example to use `keyterms_prompt` list format instead of `prompt` string for improved clarity. diff --git a/examples/foundational/07o-interruptible-assemblyai-turn-detection.py b/examples/foundational/07o-interruptible-assemblyai-turn-detection.py index 13f596136..7a0226277 100644 --- a/examples/foundational/07o-interruptible-assemblyai-turn-detection.py +++ b/examples/foundational/07o-interruptible-assemblyai-turn-detection.py @@ -100,7 +100,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): # min_turn_silence=100, # Default # max_turn_silence=1000, # Default # Optional: Boost accuracy for specific names/terms - # prompt="Names: Xiomara, Saoirse, Krzystof. Technical terms: API, OAuth.", + # keyterms_prompt=["Xiomara", "Saoirse", "Krzystof", "API", "OAuth"], # Optional: Enable speaker diarization # speaker_labels=True, ),