bmloha.blogg.se

Google translate bot
Google translate bot







google translate bot

const translate = TelegramBot = require('node-telegram-bot-api'), Develop node.js based connector or polling program which will be used as translator between SAP CAI and Human. Create telegram bot by chatting with Godfather and get the access token for your bot keep it with you which we will be using in our Node.js program. Use the deployed application URL with proper path as Webhook of skill in SAP CAI.Ĩ. Deploying the node.js app we created in last step into SAP Cloud Platform CF account.Ħ. Creating node.js app which will be interacting with S/4HANA and provide json response the way SAP CAI understand. Designing the skill of chatbot in SAP Cai.

google translate bot

Exposing the odata service through cloud connector and creating proxy api using SAP Api management. (In this example Purchase Requisition and Purchase order Status will be queried). CDS and Odata service creation for querying order status. Lets break this whole integration into smaller piece, so that it would be easy to make sense.ġ. But in telegram case it is different here it doesn’t make any web hook call here we have to make a polling program which will poll the messages from telegram bot using Telegram sdk. One thing i would like to mention in most of the cases when we build connector normally the hosting platform (Alexa, Slack, Google Assistant etc) where we host the bot make web hook call where it pass the message to SAP CAI. Lets have a look at the technical architecture which will definitely clear many things. We have to rebuild the Telegram connector from scratch and add the translation logic. As you see i have hosted my SAP CAI Bot in telegram many people might started thinking this guy have used standard channel connector available in SAP CAI, but hold on my friends in standard connector you cant add translator 😛

#Google translate bot how to

lets get into the main business How to implement. Well if you are reading this line that means you got interest and you want to continue the reading. I hope you liked the background positive music too 🙂 Look at this two minute coolest demo video i have recorded, Then we will go to Implementation part. Translator is going to manipulate the text it receives from user and translate into English then pass it to SAP CAI and the response from SAP CAI is again translator will translate in the Language user asked question. So we don’t have to train our bot into different languages. In this situation also we will be using google translator engine in between a human and SAP CAI Bot. I am sure number will be pretty high, at least i have used and still using in many situation. To answer this question lets ask question ourselves how many of us have used Google Translate to convert and understand language. At the same time finding developer who knows how to design bot in every languages is a pretty big challenge. SAP CAI is also not an exception, Except English, German, French and Spanish other languages are only standard support available means sentiment analysis, Gold Entities, Enrichment type those are not possible. But its a challenge to build chat bot and train chat bot in these language except English. Now a days Enterprise Chat bot is a game changer stuff for a organization. Except English most of language Indians use as their mother tongue and there are many places in the world where people prefer to do all the business operation in their own language not in English. India have 29 States and in 29 states we have different regional culture and every states have different language and among all the language most common languages are Hindi, English, Telugu, Tamil, Bengali, Kannada, Malayalam, Oriya, Punjabi, Urdu, Sanskrit. Like Russian is most widely speaking language followed by German and french in Europe as per google and people would love to interact with S/4HANA system in Russian Language. For example my mother tongue is Bengali definitely i would be happy to interact with AI based Chat bot in Bengali and get the S/4HANA system insight in Bengali. Welcome to my another blog, In this blog i am going to discuss how language barrier can be removed from Enterprise Chat bot so that people can get system insight by interacting with chat bot in their own language.









Google translate bot