Not every person who uses a chatbot, is a native English speaker. As the popularity of chatbots is increasing day by day, a very common scenario in chatbot implementation is to provide support for users in their native languages. Oracle Digital Assistant provides you a platform to design your enterprise grade chatbots quickly and efficiently. Though the NLP (Natural Language Processing) engine of Oracle Digital Assistant is based on English language, it still allows you to make your multi-lingual chatbots. To do so, you use translation services in Oracle Digital Assistant. In this article, you will become familiar with translation service in Oracle Digital Assistant and how to use them to create native language chatbots.
Out of the box, Oracle Digital Assistant provide support for Google and Microsoft translation services. In order to use either of these services, you will first need to register with Google or Microsoft translation API services based on your preference. After registration, you will get a base URL and an authorization token from your translation service provider. You will need them to configure translation service for your Oracle Digital Assistant.
Your approach towards localizing your chatbot will completely depend on your use case. For instance, it could be that you want your chatbot to support any specific language like Dutch, Spanish, French, etc. Or it could also be a case that you want your chatbot to detect the language in which user provides the input and then based on that your language, your chatbot responds back. Built-in components which are used to receive user input or provide output to user (fall under “User Interface” component type), in addition to System.Intent, have a boolean “translate” property. It is this property using which you specify whether the specific component needs to be translated or not. By default, it’s value is set as false. It is also same i.e. false, when you don’t explicitly set it for any component. Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.