livekit-plugins-rumik,
our official livekit tts plugin. it drops rumik straight into an AgentSession
with streaming audio and interruption handling already wired up.
add it to an agent
theTTS class plugs into a livekit AgentSession next to your stt and llm:
constructor options
it also accepts the shared sampling params (
temperature, top_p, top_k,
repetition_penalty, max_new_tokens).
muga aggregates the full tagged reply before speaking (
full_response_aggregation
is True by default), so it never tries to synthesize a half-tagged sentence.
see prompting muga for why.which model?
- muga for short, expressive reactions you steer with
[tone]tags. see prompting muga. - mulberry for low-latency conversational agents you steer with a
description. see prompting mulberry.
migrating from livekit-plugins-rumik-ai
livekit-plugins-rumik continues livekit-plugins-rumik-ai from 0.2.3 on. the
TTS class and its options are the same; only the package and module names
changed.
swap the package in your environment, and in your requirements.txt or
pyproject.toml:
livekit.plugins.rumik.
beyond the rename, 0.2.3 keeps the connection alive between replies, so a pause
no longer ends in Connection error., and it opens replacement connections in
the background. when a connection does fail, the error now names the cause. see
the changelog.