async def tts_node(self, _text_: AsyncIterable[str...
# ask-ai
c
async def tts_node(self, _text_: AsyncIterable[str], _model_settings_: ModelSettings): # use default implementation, but pre-process the text return Agent.default.tts_node(self, tokenize.utils.replace_words(text), _model_settings_) where do i find the tokenize library in livekit? what do i import?
t
Thanks for reaching out, Faraz. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thank you for mentioning the "tokenize" library! It seems that this library isn’t part of LiveKit’s standard libraries or documentation. Could you please share a bit more about it? For instance, is it a custom library you’re using, or is it related to a specific LiveKit feature or integration? I’m here to help you figure this out together!