mute-gold•2y ago
Hi, trying to train the bot in Spanish but the it keeps switching randomly beetween english and span
:vv:
1 Reply
The issue you're experiencing might be due to the language settings in your project. When creating a project in Voiceflow, you have the option to select the primary language for your AI assistant/agent. If you're training your bot in Spanish, ensure that Spanish is selected as the primary language.
To train the NLU, you need to create a project in Voiceflow and add your intents, utterances, and entities. You can add them by importing a .vf file or manually adding via the GUI. Once you've added your data, you can use the endpoint to train the project and then poll the API for the job status to see when the NLU is done training.
If you're using the Knowledge Base, it understands content in most languages. To configure your Knowledge Base response to be in a specific language, you must adjust the 'System' setting in your Configuration with strong language indicating such.
Remember, the NLU supports 30+ languages, including Spanish. However, languages not on the supported list will still function but may not perform consistently with the NLU.
If you're integrating with Telegram, ensure that the bot hears for everything and all the text received is passed directly to Voiceflow. The state of the conversation is then managed, whether it is ended or not yet ended.
Sources:
- Voiceflow NLU
- Languages on Voiceflow
- Voiceflow and Telegram Integration