Change Language
When we refer to the language of the Nyra-Agent, we are addressing the following aspects:
STT Language: The language in which the agent understands the user's audio input (Speech-to-Text language).
TTS Language: The language in which the agent responds to the user (Text-to-Speech language).
You will need to configure the appropriate properties of these extensions based on your specific requirements.
Change STT language for STT + LLM + TTS agents
To change the language in which the Nyra-Agent understands the user's audio input, you need to modify the properties of the STT extension. Follow these steps:
Open the Playground: Navigate to
localhost:3000to access the Nyra-Agent playground.Select Graph Type: Choose the
voice_assistantgraph type.Open Property Configuration: Click the button next to the graph selection to open the properties configuration.
Choose STT Extension: From the dropdown list, select the STT extension.
Change Language Property: Update the language property to the desired language.
Save Changes: Click Save Changes to apply the new language to the STT extension.
Note: The available language options for the STT extension depend on the STT service provider. Please refer to the service provider's documentation for a list of supported languages.
Change STT language for STT + LLM + TTS agents (Use RTC Integrated Azure STT)
Open the Playground: Navigate to
localhost:3000to access the Nyra-Agent playground.Select Graph Type: Choose the
voice_assistant_stt_integratedgraph type.Open Property Configuration: Click the button next to the graph selection to access the properties configuration.
Select RTC Extension: From the dropdown list, choose the RTC extension.
Modify Language Property: Update the language property to the desired language. For example, in Azure,
en-USrepresents English. For a full list of supported languages, refer to the Azure documentation.Apply Changes: Click Save Changes to apply the language configuration to the RTC extension.
To modify the language in which the Nyra-Agent understands the user's audio input, you need to adjust the properties of the RTC extension, as the STT extension is integrated within it. Follow these steps to configure the language:
Change language that the agent speaks
Note: The language support for TTS is typically determined by the available voices within the TTS service. Some TTS providers offer multilingual voices, while others may only support specific languages.
To change the language in which the Nyra-Agent responds to the user, you will need to modify the properties of the TTS extension. Follow these steps:
Open the Playground: Navigate to
localhost:3000to access the Nyra-Agent playground.Select Graph Type: Choose the
voice_assistantgraph type.Open Property Configuration: Click the button next to the graph selection to open the properties configuration.
Choose TTS Extension: From the dropdown list, select the TTS extension.
Change Voice Property: Modify the voice property to the desired language and voice.
Apply Changes: Click Save Changes to apply the new language and voice to the TTS extension.
Note: The available voice options for the TTS extension depend on the TTS service provider. Please refer to the provider’s documentation for a list of supported voices and languages.
Last updated