Posts

Multilingual Chatbots with Oracle Digital Assistant

Image
Introduction: 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 prefere

Accessing HTTP Response Header Using JavaScript

Image
We were working on an application which has been built using JavaScript framework. It is a very common scenario now a days to have a JavaScript based UI application which interacts with REST  services, and our application was not much different from them.  Like most of the cases, we also had a requirement of security implementation for the application. We decided to use Oracle Access Manager (OAM) in a Detached Credential Collector (DCC) setup. To learn more about DCC setup, you can always refer to Oracle Docs . Below image shows you a very high-level overview about the setup, but excluding the REST resource part. Flow can be described as below: 1. Browser makes a request to the app and it hits the WebGate. 2. WebGate checks if the user is authenticated. If not, then a request goes to OAM and user gets a login screen of OAM to authenticate. 3. Post authentication, request goes back to OHS along with a response header parameter . (There is a bit of configuration associated to

Chatbot Common Terminology

Chatbot or intelligent bots or just bots, you may call them whatever you wish to. Gradually, they are becoming an integral part of our daily life. Because of its capabilities to get integrated with almost any messaging service say it WhatsApp, Facebook messenger, Snapchat, etc. they are becoming more and more known to us.  As many of us want to learn about chatbots and the way they function, I thought it would be good to share the common terminology used in chatbot development. So, here we go. Intent : It's a unit of work you intend to perform using the bot. It could be ordering pizza, checking your bank account balance, reserving a seat in your favourite restaurant, etc. Utterance : Example phrases, to understand the Intent, is called utterance. Bot will then use AI to able to understand the phrase.  For each Intent we generally train the bots with 10 to 15 Utterances. Bot should still detect phrases which are not part of Utterances and respond to them as it is unknown to th

Working with JMeter for Load Testing Oracle ADF UI Application

Image
In this post, I would like to share my recent experience on how we can setup Apache JMeter™ 4.0 to test Oracle ADF 12c application. This blog mainly focuses on setting-up JMeter, creating test plan for UI application and executing the plan. Setting-up JMeter Download latest version of JMeter and install, by just unzipping, on your system. Navigate to the bin folder of your installed location (Ex: C:\apache-jmeter-4.0\bin) Locate jmeter.bat and start it. P.S.: If you get any error while starting jmeter.bat complaining about missing JAR file, try to download it again using some different mirror. Creating Test Plan Start jmeter.bat. You should get a new screen with an existing Test Plan as below. In this case, I renamed it to MyTestPlan. Click on Templates. JMeter gives us a lot of options when it comes to predefined templates. As we are going to test UI application in our case, we will select "Building a Web Test Plan" from the drop-down a