Merge pull request #3928 from zkleb-aai/simplify-assemblyai-examples
Update AssemblyAI turn detection example to use keyterms_prompt
This commit is contained in:
1
changelog/3929.other.md
Normal file
1
changelog/3929.other.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
- Updated AssemblyAI turn detection example to use `keyterms_prompt` list format instead of `prompt` string for improved clarity.
|
||||||
@@ -100,7 +100,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
|||||||
# min_turn_silence=100, # Default
|
# min_turn_silence=100, # Default
|
||||||
# max_turn_silence=1000, # Default
|
# max_turn_silence=1000, # Default
|
||||||
# Optional: Boost accuracy for specific names/terms
|
# 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
|
# Optional: Enable speaker diarization
|
||||||
# speaker_labels=True,
|
# speaker_labels=True,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user