wooden-smartphone-55787
09/11/2025, 5:53 AMtall-airline-16756
09/11/2025, 5:53 AMtall-airline-16756
09/11/2025, 5:53 AMtall-airline-16756
09/11/2025, 5:53 AMwooden-smartphone-55787
09/11/2025, 5:55 AMtall-airline-16756
09/11/2025, 5:56 AMspoken_punctuation
parameter needs to be set to True
for this to work properly. Just let me know, and I’ll be happy to guide you through the next steps!
Sources: Workflows | LiveKit Docs | livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/stt.pywooden-smartphone-55787
09/11/2025, 5:57 AMtall-airline-16756
09/11/2025, 5:58 AMtall-airline-16756
09/11/2025, 5:58 AMwooden-smartphone-55787
09/11/2025, 5:59 AMtall-airline-16756
09/11/2025, 6:01 AMasync def adjust_pronunciation(input_text: AsyncIterable[str]) -> AsyncIterable[str]:
replacements = {
".": " dot ", # or " period " in certain contexts
"...": " dot dot dot ",
}
async for chunk in input_text:
for old, new in replacements.items():
chunk = chunk.replace(old, new)
yield chunk
This approach lets you preprocess the text so that dots come through exactly how you want them to sound. You can apply this by overriding the tts_node
in your agent. If you’d like to dive deeper into how to override nodes, the Pipeline nodes and hooks documentation is a great resource.
If you’d like a hand setting this up or have any other questions, just let me know—I’m here to help!
Sources: Agent speech and audio | LiveKit Docs | Deepgram TTS integration guide | LiveKit Docs | Deepgram TTS integration guide | LiveKit Docs | Pipeline nodes and hooks | LiveKit Docs | Pipeline nodes and hooks | LiveKit Docs