Allowing the Pulse chatbot to respond in all languages

Learn how to configure your chatbot to provide answers in the language of the question.

Once you have added knowledge to your chatbot and start testing, you will notice that the chatbot responds in different languages.

However, there may be cases where the chatbot is not yet able to answer questions in the same language they are asked. This can have various causes. One cause may be that there are literal instructions in Dutch in the Instructions, causing the chatbot to generate a Dutch response even if the question is in English. Another cause may be that a significant portion of the added knowledge is in Dutch, making the chatbot more likely to respond in Dutch.

Ensure that your Pulse chatbot always responds in the language of the question

Domain knowledge

To ensure that the chatbot always answers in the language in which the question is asked, you can add (part of) the domain knowledge (personality and/or company information) in another language. If you have written your chatbot's personality entirely in Dutch, translate it into English.

Next, test in the interactive tester whether the chatbot is able to respond to all questions in the language in which they are asked. If this is not yet the case, you can also translate (part of) the company information into English.

Since the AI's database is in English, adding the domain knowledge in English, will lead to better answers in all languages. So not only in English, but also in French, German, Spanish, etc.

Instructions

Certain words are used in multiple languages, such as 'order', 'printer,' and 'plant'. If you have provided the chatbot with many instructions in English that contain these words, it may result in an English response to a Dutch question that includes any of these words.

In this case, it is important to add examples to the instructions to help the chatbot understand how to respond.

Here is an example of such an instruction:

For questions regarding the status of an order, refer to the track and trace code in the email with the order confirmation.

 

Example:

User: What is the status of my order?

Assistant: You can find the status of your order in the track and trace code in the email with the confirmation of your order.

 

User: Wat is de status van mijn order?

Assistant: Je kunt de status van je order vinden in de track en trace code in de e-mail met de orderbevestiging.