I am working on the LLM → TTS → Audio output using Google plugin:
the llm generates text by chunks and then this gives to TTS right:
is the LLM has some Numbers like 9808, TTS sounds like nine thousand eight hundred and eight. but I want nine eight oh eight using ssml.
def _build_ssml(self) -> str:
ssml = "<speak>"
ssml += self._input_text
ssml += "</speak>"
return ssml
could you please provide the way to change this function in my env. it is very helpful