The Interview with a ChatBot Developer
Artificial intelligence is something we are used to seeing in movies about the future but it has changed all our lives already. Did you ever have a chat with a machine (chatbot)? Well, in any case, chatbots are very popular and we know why exactly. Today, we have a little talk and a session of QAs with our dedicated full stack web developer Yurii, who works on a “Zenchef” projects and builds a chatbot for a restaurant.
The Interview with a ChatBot Developer Yurii
What are the most popular companies using chatbots already and why it’s such a HYIP?
Microsoft, NASA, Wall Street Journal, CNN, Hubspot, Skyscanner and a lot of others are on this list.
Many famous persons have their own bots: ’50 Cent’ and Justin Bieber have bots, so do Obama and Elon Musk. Even Pope Francis has a pretty funny Facebook Messenger bot. Also, we became witnesses of specialized solutions like Marriott International’s chatbot designed for purposes of hotel business, Woebot chatbot that is trained in cognitive-behavioral therapy (CBT), one of the most widely known methods of treating depression.
Knowing that you are a full stack developer, what languages and technologies are essential in building a chatbot? Does a developer should be indeed hands-on in backend and frontend tasks?
Have you already done some interesting integrations into your chatbot?
The Second important integration is integration with messaging channel API (FB/Slack) to receive more info about a customer. His name, gender, location, etc. It makes the bot more friendly in communication. In the future, it will allow to personalize offers for customers using visits history, make reminders and collect reviews about the restaurant.
Tell us how your chatbot works, what are the main tasks it solves?
In your opinion, would chatbots replace mobile apps in the future?
What are the challenges of chatbot implementation?
Language mismatch
At the very beginning of the conversation, we do not know the language of the visitor. In solutions for NLU, the main language was English and it still is.
Therefore, the bot is set up and operates well in English. But what happens if someone is talking to him in the language that is unknown for the bot? In most cases, it simply does not understand what is being said and ends the conversation (the so-called give-up phrase).
We were shocked when we discovered that the promising and very convenient, in many senses, service Amazon Lex (on the basis of which we made our decision), does not understand other languages except English. And although a number of languages are in the plans of Amazon, waiting was not tempting for us. Fortunately, other services came to help. Let’s talk about them:
Google Translate API
This was the first spontaneous decision. The advantages are obvious – the bot can determine the language, translates in the process, in many cases, even the context is taken into account. For a specific location, we could set the language we wanted (for example French) and forcefully translate the text from the desired language.
A layer was created in the communication between FB Messenger and Lex, in which the text of the message was corrected. With this step, the common interlanguage barrier was destroyed. But what about typos and unfamiliar words?
Various Spelling APIs (for example Bing Spell Check API)
They are designed to help in the definition of typos and even try to automatically correct them. Unfortunately, the quality of the fixes is not sufficient. In most cases, words are taken out of the context and don’t make sense. Therefore, we can consider another approach, the cumulative base in which incorrectly written phrases were put in correspondence with their correct values in English. This work is still going, so it’s too early to talk about the results. But, at this stage, it should be enough to work with non-English-speaking users of the bot. At least until the full appearance of the necessary languages in the Lex service.
Differences in date/time/number formats
For example, Amazon Lex is a typical American :)
It loves ‘7 pm’ instead of ’19:00′
‘1,000.00’ instead of the European ‘1000,00’
‘Month-Day-Year’ instead of ‘Day-Month-Year’
You should consider these features and determine and transform data in the process for better quality of their recognition.
Non-standard situations with multiple API requests
To create a flexible bot, it is important to “feed” it with fresh data from the API. During the implementation, it became necessary to make another request by adding data from another API to the database received on the first request. We were waiting for an unpleasant surprise: the second request was made, and the void returned while the API fixed the successful data delivery. What was surprising, is that the data somehow magically came on with the next request to the bot, incomprehensibly wedging into the process.
We had to rewrite both the bot and part of the API to provide a linear API request (one request at one request), ensuring the stable operation of the solution.
Save Your Time and Money and Build Your Own ChatBot
During the interview with a ChatBot developer, it is crucial to assess their proficiency in natural language processing and conversational AI techniques, ensuring they possess the necessary skills to create engaging and intelligent chatbot experiences, making web app developers for hire a valuable consideration for your project. Exploring the decision to hire developer in Ukraine, for example a full stack web developer, can provide insights into how integrating chatbot technology with web applications demands a comprehensive skill set for both front-end and back-end development, ensuring seamless user experiences.
Don’t waste your money and time, let the bot do the job! Hire dedicated developers to build you a chatbot now!
All salaries and prices mentioned within the article are approximate NET numbers based on the research done by our in-house Recruitment Team. Please use these numbers as a guide for comparison purposes only and feel free to use the contact form to inquire on the specific cost of the talent according to your vacancy requirements and chosen model of engagement.