Merge pull request #3928 from zkleb-aai/simplify-assemblyai-examples

Update AssemblyAI turn detection example to use keyterms_prompt
This commit is contained in:
Mark Backman
2026-03-05 16:11:08 -05:00
committed by GitHub
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,
),