Update AssemblyAI turn detection example to use keyterms_prompt

Change the commented example from prompt string format to keyterms_prompt
list format for better clarity and consistency with API best practices.
This commit is contained in:
zack
2026-03-05 15:47:54 -05:00
parent f4dfeb0f8b
commit 380726cfd3
2 changed files with 2 additions and 1 deletions

1
changelog/3929.other.md Normal file
View File

@@ -0,0 +1 @@
- Updated AssemblyAI turn detection example to use `keyterms_prompt` list format instead of `prompt` string for improved clarity.

View File

@@ -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,
),