bored-thailand-86490
06/26/2025, 9:47 AMtall-airline-16756
06/26/2025, 9:47 AMtall-airline-16756
06/26/2025, 9:47 AMfrom livekit.plugins import aws
assistant = VoiceAssistant(
vad=silero.VAD.load(),
stt=aws.STT(
session_id="my-session-id",
language="en-US",
# Optional parameters
# vocabulary_name="my-vocabulary",
# vocab_filter_name="my-vocab-filter",
# vocab_filter_method="mask",
),
llm=openai.LLM(model=settings.OPENAI_MODEL),
tts=openai.tts.TTS(
model="gpt-4o-mini-tts",
voice="alloy",
),
chat_ctx=chat_context,
turn_detector=turn_detector.EOUModel(),
min_endpointing_delay=0.8,
)
Additional DependenciesTo ensure compatibility with your existing stack, install the following:
• aioboto3 (>=14.1.0)
• amazon-transcribe (>=0.6.2)
• livekit-agents[aws] (~=1.0)
AWS AuthenticationAdd your AWS credentials to your .env
file:
AWS_ACCESS_KEY_ID=your-aws-access-key-id
AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key
AWS_REGION=your-aws-region
This setup ensures compatibility with the versions of LiveKit plugins and dependencies you provided. Let me know if you need further assistance!
Sources: Amazon Transcribe STT integration guide | LiveKit Docs | AWS AI and LiveKit | LiveKit Docs | GitHub::livekit::agents | uv.lockbored-thailand-86490
06/26/2025, 9:48 AMtall-airline-16756
06/26/2025, 9:49 AMaioboto3 (>=14.1.0)
and amazon-transcribe (>=0.6.2)
play nicely with your current setup. - The tricky part is that the livekit-agents[aws]
plugin needs livekit-agents (>=1.1.2)
, which doesn't quite match your current version livekit-agents==0.12.11
. Right now, adding Amazon STT directly would be a bit challenging without changing things up. But no worries! If you're open to upgrading livekit-agents
to a compatible version, I'd be super happy to walk you through the process. What sounds good to you? I'm here to help make this smooth and easy! 😊 Sources: GitHub::livekit::agents | uv.lock