Do you have a website in any language other than English? In this article, I will show you how to add a ChatGPT-like AI chatbot that responds in the language of your choice.
The steps are pretty easy and you don’t need any technical knowledge to add a chatbot to your website. Before we begin this tutorial make sure you have created an account at OpenAI and activated the Sage AI Writer plugin.
Steps to Add Chatbot in any Language on the WordPress Website
Login into your WordPress website and under Sage AI Writer click on the Chatbot menu link.
Now under Chatbot Settings expand the Main Settings accordion. Here under the context field, you can change the text to ‘Respond as if you’re a friendly and creative assistant, creating a delightful interaction. The response must be in French.’. This will instruct the chatbot to respond in French language.
Now under Personalized Text change the AI name, User name, welcome message, placeholder, send, and clear button text in French language. This will encourage the user to post his query in that language.
By setting the context and personalized text in a particular language we are requesting OpenAI to not generate responses in English.
Once you have done the settings then copy the shortcode for the chatbot and add it on any page or post where you want to show it. The shortcode will work in any theme or page builder like Divi, Elementor, Beaver Builder, Gutenberg, and Classic Editor.
In the above article, I have demonstrated how to use a French AI chatbot however the same process can be followed for any language be it Spanish, Japanese, Chinese, etc. OpenAI API is trained on multi-lingual data and it also can translate data into any other languages.
If you have any queries or questions then leave a comment below and I will get back to you with a solution.