Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ async def entrypoint(ctx: JobContext):
# any combination of STT, LLM, TTS, or realtime API can be used
# this example shows LiveKit Inference, a unified API to access different models via LiveKit Cloud
# to use model provider keys directly, replace with the following:
# from livekit.plugins import assemblyai, openai, cartesia
# stt=assemblyai.STT(),
# from livekit.plugins import deepgram, openai, cartesia
# stt=deepgram.STT(model="nova-3"),
# llm=openai.LLM(model="gpt-4.1-mini"),
# tts=cartesia.TTS(model="sonic-3", voice="9626c31c-bec5-4cca-baa8-f8ba9e84c8bc"),
stt=inference.STT("assemblyai/universal-streaming"),
stt=inference.STT("deepgram/nova-3", language="multi"),
llm=inference.LLM("openai/gpt-4.1-mini"),
tts=inference.TTS("cartesia/sonic-3", voice="9626c31c-bec5-4cca-baa8-f8ba9e84c8bc"),
)
Expand Down Expand Up @@ -188,8 +188,8 @@ async def entrypoint(ctx: JobContext):
session = AgentSession[StoryData](
vad=silero.VAD.load(),
stt="deepgram/nova-3",
llm="openai/gpt-4o",
tts="cartesia/sonic-2:9626c31c-bec5-4cca-baa8-f8ba9e84c8bc",
llm="openai/gpt-4.1-mini",
tts="cartesia/sonic-3:9626c31c-bec5-4cca-baa8-f8ba9e84c8bc",
userdata=userdata,
)

Expand Down
4 changes: 2 additions & 2 deletions examples/voice_agents/flush_llm_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ async def entrypoint(ctx: JobContext):
session = AgentSession(
vad=silero.VAD.load(),
llm="openai/gpt-4.1-mini",
stt="assemblyai/universal-streaming",
tts="cartesia",
stt="deepgram/nova-3:en",
tts="cartesia/sonic-3:9626c31c-bec5-4cca-baa8-f8ba9e84c8bc",
)

@session.on("metrics_collected")
Expand Down
4 changes: 2 additions & 2 deletions examples/voice_agents/session_close_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ class MyAgent(Agent):
def __init__(self):
super().__init__(
instructions="You are a helpful assistant.",
stt="assemblyai/universal-streaming",
stt="deepgram/nova-3:en",
llm="openai/gpt-4.1-mini",
tts="cartesia/sonic-3",
tts="cartesia/sonic-3:9626c31c-bec5-4cca-baa8-f8ba9e84c8bc",
# llm=google.realtime.RealtimeModel(),
tools=[
EndCallTool(
Expand Down
4 changes: 2 additions & 2 deletions examples/warm-transfer/warm_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ async def entrypoint(ctx: JobContext):
session = AgentSession(
vad=silero.VAD.load(),
llm="openai/gpt-4.1-mini",
stt="assemblyai/universal-streaming",
tts="cartesia/sonic-3",
stt="deepgram/nova-3:en",
tts="cartesia/sonic-3:9626c31c-bec5-4cca-baa8-f8ba9e84c8bc",
turn_detection=MultilingualModel(),
)

Expand Down