c
hi
t
Thanks for reaching out, Arun. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi — welcome! How can I help you today? • Are you setting up LiveKit, troubleshooting a bug, or looking for guidance on SDKs or deployment? • If you have an error, paste the error message, SDK/language, and steps to reproduce.
c
super().__init__( instructions=agent_info.get("system_prompt", DEFAULT_SYSTEM_PROMPT), stt=deepgram.STT(), llm=groq.LLM(model="llama-3.1-8b-instant"), tts=groq, vad=silero.VAD.load() ) i wna tise
Copy code
model="playai-tts-arabic",
  voice="Nasser-PlayAI",
this stt
super().__init__( instructions=agent_info.get("system_prompt", DEFAULT_SYSTEM_PROMPT), stt=deepgram.STT(), llm=groq.LLM(model="llama-3.1-8b-instant"), tts=groq, vad=silero.VAD.load() ) i wna tise
Copy code
model="playai-tts-arabic",
  voice="Nasser-PlayAI",
this tts
t
You're close — use
groq.TTS
with model
playai-tts
and set the Arabic voice. Example (Python):
Copy code
from livekit.plugins import groq, silero, deepgram

super().__init__(
    instructions=agent_info.get("system_prompt", DEFAULT_SYSTEM_PROMPT),
    stt=deepgram.STT(),
    llm=groq.LLM(model="llama-3.1-8b-instant"),
    tts=groq.TTS(
        model="playai-tts",
        voice="Nasser-PlayAI",
    ),
    vad=silero.VAD.load()
)
Notes: • The model name is
playai-tts
(there is no
playai-tts-arabic
). • Install the Groq plugin:
uv add "livekit-agents[groq]~=1.2"
• Set
GROQ_API_KEY
in your environment. Do you want the Node.js equivalent, or are you seeing any error when you try this?