Update SpeechmaticsSTTService to use the python voice SDK

This commit is contained in:
Sam Sykes
2025-12-20 01:59:18 +01:00
committed by GitHub
parent 5c779abad2
commit 76bae6e699
7 changed files with 715 additions and 880 deletions

View File

@@ -68,7 +68,6 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
api_key=os.getenv("SPEECHMATICS_API_KEY"),
params=SpeechmaticsSTTService.InputParams(
language=Language.EN,
enable_diarization=True,
speaker_active_format="<{speaker_id}>{text}</{speaker_id}>",
),
)