Year: 2021

  • I created a chatbot that teaches students JavaScript

    I have been a software engineer for 16 years and was tired of recommending books and long videos to learn to program (I don’t finish either myself). A couple of years back I figured a chatbot might be a better way to teach programming, so I built one. It uses conversations, flashcards and quizzes to reinforce the concepts. Let me know if you have any feedback šŸ™‚

    iOS: https://apps.apple.com/us/app/jax-chat-to-learn-javascript/id1540001384

    Android: https://play.google.com/store/apps/details?id=ai.devbots.jax

    submitted by /u/myspacebardontwork
    [link] [comments]

  • How to create a FB msg chatbot? I just need some direction

    I have been studying and practicing some swift, python and C programming and I am trying to venture into creating a FB messenger bot. I want to create something like a scavenger hunt through fb msg ( similar to urbanhunt.co ). So far I’ve started using the instructions laid out here https://developers.facebook.com/docs/messenger-platform/getting-started/sample-apps/original-coast-clothing but I am having a hard time figuring some of it out like how atom, node.js and heroku all communicate with fb and webhooks etc. etc. Is there anything (e.g. YouTube video(s), write-ups, books etc.) that you would recommend to point me in the right direction? or maybe even something step-by-step? or would anyone be willing to be a mentor to me in this venture?

    TIA!

    submitted by /u/Dirtbk80cc
    [link] [comments]

  • What Is A Telegram Bot? Reasons To use Bot for Telegram

    Telegram is one of the highly-secure messaging applications ever. It can also be used for professional work and help you connect to your customers more quickly. With a slight change in it, you can make it more effective and productive, and that is- implementing a ā€œtelegram bot.ā€ And you are making your telegram profile automated and precise. For more, click here.

    submitted by /u/botpenguin1
    [link] [comments]

  • Question for Dialogflow Developers

    Hi all, I recently posted a question on stack overflow about developing with the Nodejs googleapis package. To summarize, I’m trying to fetch a user’s Dialogflow agents for a specific data region, but I’m receiving an error that "Dialogflow server in 'us' received request for resources located in 'europe-west2'". Apologies if this isn’t the right place, but I haven’t gotten any feedback just yet, and I thought there might be someone here who can help. Any feedback is great!

    Here’s a link to my question:

    https://stackoverflow.com/questions/65709561/error-passing-location-to-dialogflow-projects-agent-search

    submitted by /u/BreakfastMaestro
    [link] [comments]

  • How intelligent and automated conversational systems are driving B2C revenue and growth.

    And how your business can tap into this potential 10X revenue multiplier.

    Accelerate Sales, Retention, Customer Loyalty through Conversations.

    If you thought it was just about chatbots and cognitive virtual assistants, you’ve been holding off a potentially 10X revenue multiplier under theĀ hood.

    Read on to know more about how conversational marketing can massively accelerate your automated conversions.

    So, what is conversational marketing?

    Photo by Headway onĀ Unsplash

    Conversational marketing is the art of giving your users the information they need to buy your product, as relevant and crisp answers to all the questions they may already have about your product.
    When executed well, conversational marketing has been known to deliver upwards of 100% revenue growth from digital channels, making it all the rage among consumer brands vying for market share in their respective categories.

    Conversational marketing has a proven track record across financial products (such as digital personal loans and credit card applications, where the famous ā€˜eligibility calculator’ doubles up as a fantastic lead-generation funnel.

    The leads that your business can receive via automated response systems are qualified, high-intent, and most likely to convert. Irrespective of what market segment you’re catering to, you’re more than likely to develop an intelligent QNA algorithm that successfully answers every consumer query about that category.
    Conversational marketing allows you to turn your industry insights into an applied vantage point, and that’s hard to match with any other conventional marketing protocol.

    How different is ā€˜conversational analytics’ from plain old ā€˜analytics’, and how does it impact your marketing/sales strategy?

    Web 1.0 and Web 2.0 veterans are familiar with the notion of consumer web analytics (and the more savvy populace finds it easy to connect with terms like Google Analytics orĀ GA).

    Trending Bot Articles:

    1. The Messenger Rules for European Facebook Pages Are Changing. Here’s What You Need toĀ Know

    2. This Is Why Chatbot Business AreĀ Dying

    3.Facebook acquires Kustomer: an end for chatbots businesses?

    4. The Five P’s of successful chatbots

    This paradigm is limited to the constructs of page views, unique users, IP clusters, demographic data, and other random data pulled together by cookie-tracking the user’s internet history.
    And while all that data does seem impressive on a spreadsheet that marketing interns can roll around every week as ā€œreportsā€, they hardly ever convey the real truth behind what your users intend to do with your product offering.

    As a concept, conversational analytics is built upon the real-time collection of user insights as they engage in a direct & intelligent conversation with yourĀ brand.

    Consequently, the derivative learnings from such an exercise are always up-to-date and represent your user’s real-time intent. This is a priceless category of information to possess in an age of push notifications and hyperlocal retargeting of digitalĀ ads.

    While plain old analytics can give you a brief glimpse into what your user has been doing all along before stumbling upon your website or app, conversational analytics ups the game by giving you a bird’s eye view of what the user is most likely to do with your digital offer, based on exactly what they’re saying to you, or even aboutĀ you.

    Predictive Intel & Social Listeningā€Šā€”ā€ŠHow Vodafone scaled 300 million+ conversations withĀ ORI.

    Machine learning engine on a computer.
    Photo by Kevin Ku onĀ Unsplash

    Parsing data that gets captured in conversations with chatbots is fairly straightforward. And Fortune 500 companies will never need to sweat it out to hire a couple of good NLP engineers who can convert a stream of automated conversations into readable metadata.

    Social listening tools such as SprinklR and Radian6 make it easy to monitor conversations about specific keywords in real-time.

    But when it came to the real-time application of conversational customer interactions to achieve an unprecedented scale of up-selling services, Vodafone Inc ( now VI) relied on the comprehensive digital intelligence offered by ORI’s fully customisable conversational analytics platform.

    After a simple study of their consumer profile, the ORI platform was able to plan and execute a multilingual assessment of customer interactions across platforms such as mobile, web, social, email, and even WhatsApp. The objective was to generate the targeted intelligence that Vodafone needed to make it worth theirĀ while.

    Move over, Hotjar and heatmapsā€Šā€”ā€ŠEnter, conversational linchpins.

    Photo by Markus Winkler onĀ Unsplash

    The first era of the mobile web saw an explosion in ā€œheatmapā€ tools such as Hotjar, where administrators had access to a graphical waveform of all the digital touch-points left behind by a userā€Šā€”ā€Šwhere they hovered their cursor (for desktop analytics), and where they touched their screens (on mobile platforms). The utility of these heat-maps, however, is limited to basic UI/UX redesign exercises.
    At most, a graphical heat-map of user interaction can be used to identify and eliminate redundant links/images. But when you add this capability to how users look at their own interactions with your chatbot/live agent, it can tell you a lot more, psychologically, about the impact that your conversations have on their purchase decisions.

    This process is deeply integrated into the best practices that make conversational analytics a real game-changer called ā€œUser Traversal Heat Mappingā€.

    It becomes easy to identify and up-sell to raving users about your product with your agents. It is easy to map moments of customer satisfaction and dissatisfaction, much before an actual ā€œreviewā€ is recorded. That kind of intelligence is priceless in a time and age where faster and more efficient customer platforms and eCommerce portals are getting launched by theĀ minute.

    So, do I need a conversational marketing/analytics strategy for myĀ brand?

    Strictly business-facing brands might perhaps find it prudent to ask this question while re-evaluating their marketing strategy.
    However, for consumer-facing businesses, it is an absolute no-brainer. If your brand fulfils the following criteria, you will most definitely benefit from investing in the right conversational analytics platform.

    1. You operate an online consumer aggregator/marketplace.
    2. You run a digital-only storefront with physical fulfilment & logistics.
    3. You manage the digital presence (and cataloguing) of a physical consumerĀ brand.
    4. You’re a banking/BFS/fin-tech product.
    5. Your profitability is tied to your customer-centricity.
    6. NPS & CE/CSAT is your main performance metrics.

    If the answer to any of these arguments is yes, there lies incredible value for your brand to explore ORI’s industry-leading solutions in conversational marketing and analytics. ORI offers a complete suite of automated response management products, as well as a platform that actionably uses the corpus of your customer interactions to train further and strengthen your communications strategy. This directly translates into better NPS scores, enhancing customer satisfaction ratings, and increased customerĀ loyalty.

    All through the power of conversations!

    Don’t forget to give us your šŸ‘Ā !


    How intelligent and automated conversational systems are driving B2C revenue and growth. was originally published in Chatbots Life on Medium, where people are continuing the conversation by highlighting and responding to this story.

  • Hey i need help

    I need help getting a tiktok bot that spams a message in the comment hiw can i do this?

    submitted by /u/Albertglarsen
    [link] [comments]

  • Chatbot deployment from one platform to another – any tool suggestions?

    Hi, we built an MVP chatbot on a chatbot platform and need to extract entities, intents, utterances etc to one of the big providers to put it live as the old vendor is not good enough for the future. Does anyone know any tools or companies that can help migrate quickly and accurately from one platform to another? Looks like we can extract a JSNO file but it is not compatible with Dialogflow or Rasa so we might have to use it manually. Any help or experience or tips really appreciated?

    submitted by /u/Environmental-Big839
    [link] [comments]

  • Can A Local Government Chatbot Help Communication With Constituents?

    If you’ve ever talked to people who work in a 311 call centre for a city or at the city administration office, you’ll probably have heard…

  • IBM Watson Assistant provides better intent classification than other commercial products…

    IBM Watson Assistant provides better intent classification than other commercial products according to published study

    And how the better performances of IBM Watson Assistant tackle the most common pain points in the adoption of a conversational solution

    Photo by Alex Knight onĀ Unsplash

    Introduction

    Today, virtual assistants (or chatbots) represent a globally recognised boomingĀ trend:

    With regards to chatbots, which are in many ways the most recognisable form of AI, 80% of sales and marketing leaders say they already use these in their CX or plan to do so by 2020¹.

    25 percent of customer service operations will use virtual customer assistants by 2020².

    By 2025, customer service organizations that embed AI in their multichannel customer engagement platform will elevate operational efficiency by 25%³.

    It is clear that chatbots are here toĀ stay.

    Their limitless potential in terms of business versatilityā€Šā€”ā€Šis there any business that does not implement customer service operations?ā€Šā€”ā€Š, maturity of technologies, and absolute clarity of matching use cases and expectations, make the virtual assistant one of the most immediately adoptable A.I. solution in anyĀ company.

    Nevertheless, if you have ever used a chatbot, you may have experienced the frustration coming from the reiterated invitations to rephrase even apparently simple questions (ā€œSorry, I do not understand.ā€), and a slight, yet non-negligible, sense of distrust of any virtual assistants’ comprehension abilities matured from firsthand experience.

    In fact, it is also estimated that:

    40% of chatbot/virtual assistant applications launched in 2018 will have been abandoned by 2020³.

    There are several conversational technologies that could be adopted when implementing a virtual assistant. Nowadays, every major Cloud vendor provides a conversational API infused with A.I. capabilities in its service catalogs. To cite aĀ few:

    • IBM Watson Assistant⁓
    • Google Dialogflow⁵
    • Microsoft LUIS⁶
    • Amazon Lex⁷
    • Oracle Digital Assistant⁸
    • .Ā .Ā . andĀ more

    Trending Bot Articles:

    1. The Messenger Rules for European Facebook Pages Are Changing. Here’s What You Need toĀ Know

    2. This Is Why Chatbot Business AreĀ Dying

    3. Facebook acquires Kustomer: an end for chatbots businesses?

    4. The Five P’s of successful chatbots

    It is also possible to adopt open-source conversational services (such as RASA⁹) or even create your own by leveraging publicly available Natural Language Processing (NLP) projects, like BERT¹⁰.

    This post highlights some of the advantages of IBM Watson Assistant in comparison to other commercial tools, based on the evidences reported in the recent technical paper by Qi et al. (2020)¹¹. In doing so, we will start by the most common pain points that occur with the adoption of a virtual assistant, and comment how the study findings address them.

    The chatbot does not perform well in terms of understanding

    Intent detection, the classification of the user’s utterance into a predefined class (or intent), is the solid pillar upon which any task-oriented conversational system isĀ built.

    An example of intent in the banking field may be ā€œCard Lostā€, as shown by Casanueva et al. (2020)¹² :

    Example of intents and utterances. Table from Casanueva et al. (2020)¹²

    The classification of an input sentence as an intent allows the conversational service to identify the reply for the user, through an existing mapping between the intent label and a node in the conversational tree. Therefore, the intent misclassification may lead to either wrong replies or no reply at all (ā€œSorry, I do not understand.ā€). Understandably, intent’s misclassification represent the first point of failure and the nightmare of any conversational solution.

    IBM Watson Assistant provides a new intent detection pipeline that leverages complex Machine Learning algorithms and methodologiesā€Šā€”ā€Šnamely transfer learning, AutoML and Metalearning¹¹.

    The study by Qi et al. (2020)¹¹ shows that IBM Watson Assistant outperforms other commercial solutions in terms of accuracy in the task of intent detection:

    Intent detection accuracy from different technologies on the same data set (HINT3). Image from Qi et al. (2020)¹¹.

    The same benchmark and testing methodology as Arora et al. (2020)¹³ were used. In particular, Arora compared Google Dialogflow⁵, Microsoft LUIS⁶, RASA⁹ and BERT¹⁰ with Haptik¹⁓. As IBM Watson Assistant was not considered in the first place, Qi et al. (2020)¹¹ used the same data sets and experimental setup to add it to the benchmark and obtain comparable results.

    According to the study, IBM Watson Assistant shows higher accuracy than than Google Dialogflow (+5.6%), and Microsoft LUIS (+14.7%), on the same data set and in the same testing conditions.

    How many sentences do I have to add to make the chatbot workĀ well?

    When planning for the adoption of a conversational solution, an important concern is about the effort required to train and maintainĀ it.

    Despite the presence of established approaches to the measurement of fair performances, and the availability of different performance metrics, the fear that no training data set will be ā€œcompleteā€ enough to work reasonably on a real scenario may be blocking.

    Frequent questions involve: ā€œHow many utterances do I need to train the system properly?ā€ or ā€œHow many people should be assigned to the task of manufacturing training samples?ā€

    Qi et al. (2020)¹¹ also tested the technologies on smaller data sets (ā€œSubsetsā€), created by discarding semantically similar sentences from the original data sets (ā€œFullā€), to investigate the behaviour of the models with reduced training setĀ size:

    Average In-scope Accuracy on HINT3 using commercial solutions. Table from Qi et al. (2020)¹¹.

    According to their study, not only IBM Watson Assistant outperforms other commercially available products, but also displays the smallest drop in accuracy when the size of the data sets decreases, possibly making it a better choice in scenarios with a minor amount of inputĀ data.

    Adding new examples/intents and re-training is prohibitive

    On the surface, the implementation of a chatbot may seem mainly a technological matter. But it isĀ not.

    Indeed, the adoption of a virtual assistant requires significant operational adaptations, as periodic trainings must be taken into account. Although this happens for every Machine Learning project, for chatbotsā€Šā€”ā€Šunlike in the case of labeled, clean tabular data— the definition of new intents, relevant training utterances, the segmentation of the knowledge base to manufacture suitable replies, need the infusion of specific business knowledge, the support of a Subject Matter Expert (SME) and, for most cases, is not an automatic process.

    An example: a company launches a new product into the market; as a consequence, users will ask new questions concerning the product to the virtual assistant. The SMEs should be involved to identify the potential questions (they may also overlap with already existing ones) and manufacture adequateĀ replies.

    For these reasons, a company would need a conversational service:

    1. easy to train: user-friendliness fosters business adoption.
    2. that trains rapidly: quicker and simpler training sessions result in smoother enhancements of the knowledge base.

    The lack of one of these conditions may result in the failure to adopt the solution and its abandonment in the longĀ run.

    Both conditions are met by IBM Watson Assistant, that provides an extremely intuitive graphical user interface that does not require technical knowledge to be effectively employed.

    Qi et al. (2020)¹¹ measured the training time required by different Natural Language Understanding (NLU) engines in order to process the same input data set, and IBM Watson Assistant offered the best trade-off between final accuracy and training time:

    Training time (minutes) vs accuracy reached by different NLU engines on the same dataset (CLINC150). In the conditions reported by the study, IBM Watson Assistant completed the training in 1.81 minutes, against the 70 minutes from BERT-base and the 270 minutes from BERT-large. Image from Qi et al. (2020)¹¹.

    Who is going to use theĀ tool?

    The user-friendliness of the tool is not object of investigation in the cited study, but it is important to mention that, as IBM Watson Assistant is easy to use and does not require a strictly technical skillset, it encourages its adoption by businessĀ users.

    Business users alone possess the specific domain knowledge and peculiar jargon to be imbued into the chatbot. Empowering them with a friendly instrument that allows easy modifications is paramount to the success of a conversational solution.

    Conclusions

    In this post, we commented the results of the paper from Qi et al. (2020)¹¹, which, by comparing different conversational services from multiple vendors, shows that IBM Watson Assistant displays generally better performances, in terms of:

    1. Higher intent detection accuracy.
    2. Minor drop in accuracy with less input data (smaller trainingĀ sets).
    3. Best trade-off between accuracy and trainingĀ time.

    We also remarked how these results address the most common pain points that appear with the adoption of virtual assistants, together with the user-friendliness characterizing theĀ tool.

    This post does not intend to provide an exhaustive overview of the differentiating capabilities offered by IBM Watson Assistant, such as its irrelevance detection features¹⁵ or its native integration with search services¹⁶ (namely IBM Watson Discovery¹⁷) to better support navigation through large document corpora within the chat and manage questions in the ā€œlong-tailā€Ā . This goes beyond the scope of thisĀ article.

    References

    [1] Oracle, ā€œCan Virtual Experiences Replace Reality?ā€, link.

    [2] Gartner, ā€œGartner Says 25 Percent of Customer Service Operations Will Use Virtual Customer Assistants by 2020ā€,Ā link.

    [3] Gartner, ā€œMarket Guide for Virtual Customer Assistantsā€, link.

    [4] https://www.ibm.com/cloud/watson-assistant

    [5] https://cloud.google.com/dialogflow

    [6] https://www.luis.ai/

    [7] https://aws.amazon.com/lex/

    [8] https://www.oracle.com/chatbots/digital-assistant-platform/

    [9] https://rasa.com/

    [10] Jacob Devlin, Ming-Wei Chang, Kenton Lee, Kristina Toutanova, ā€œBERT: Pre-training of Deep Bidirectional Transformers for Language Understandingā€, 2019, arXiv:1810.04805, link.

    [11] Haode Qi, Lin Pan, Atin Sood, Abhishek Shah, Ladislav Kunc, Saloni Potdar, ā€œBenchmarking Intent Detection for Task-Oriented Dialog Systemsā€, 2020, arXiv:2012.03929, link.

    [12] IƱigo Casanueva, Tadas Temčinas, Daniela Gerz, Matthew Henderson, Ivan Vulić, ā€œEfficient Intent Detection with Dual Sentence Encodersā€, 2020, arXiv:2003.04807, link.

    [13] Gaurav Arora, Chirag Jain, Manas Chaturvedi, Krupal Modi, ā€œHINT3: Raising the bar for Intent Detection in the Wildā€, 2020,Ā link.

    [14] https://www.haptik.ai/

    [15] https://medium.com/ibm-watson/enhanced-offtopic-90b2dadf0ef1

    [16] https://medium.com/ibm-watson/adding-search-to-watson-assistant-99e4e81839e5

    [17] https://www.ibm.com/cloud/watson-discovery

    Don’t forget to give us your šŸ‘Ā !


    IBM Watson Assistant provides better intent classification than other commercial products… was originally published in Chatbots Life on Medium, where people are continuing the conversation by highlighting and responding to this story.