Hi! Does livekit support STT from elevenlabs? I co...
# ask-ai
b
Hi! Does livekit support STT from elevenlabs? I couldnt find it online in the documentation or the developer reference. I found a stt.py in the elevenlabs plugin, but I cant figure out how to define a stt in my agentsession.
t
Thanks for reaching out, Aryan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
LiveKit doesn’t currently support STT (speech-to-text) from ElevenLabs, as ElevenLabs is mainly used for TTS (text-to-speech) within LiveKit. But don’t worry! For STT in an AgentSession, LiveKit offers support for several other great providers like Amazon Transcribe, AssemblyAI, Azure AI Speech, Deepgram, and more. Here’s a friendly example of how you can set up STT in an AgentSession using Deepgram:
Copy code
from livekit.agents import AgentSession
from livekit.plugins import deepgram  # Example using Deepgram

session = AgentSession(
    stt=deepgram.STT(model="nova-2")
)
If you have any questions or need help with something specific, please feel free to reach out—I’m here to help! Sources: ElevenLabs TTS integration guide | LiveKit Docs | Speech-to-text (STT) integrations | LiveKit Docs