Category: Chatbots

  • Natural Language Understanding and Government Chatbots

    Natural Language Understanding and Government Chatbots

    Using Natural Language Processing for government chatbots.

    Chatbots are increasingly used across industry for customer service and support. The government sector is also beginning to adopt this technology to improve citizen engagement and provide 24/7 assistance.

    One of the key components of a chatbot is natural language processing (NLP). NLP consists of both natural language understanding (NLU) and natural language generation (NLG).

    The launch of generative text assistants like OpenAI's Chat GPT and Google's Bard, provide new opportunities but also some new problems for government agencies looking to improve citizen service.

    In this blog post, I look at the advantages of using NLU to process citizen inquiries and the challenges that arise when using NLG to provide definitive answers.

    Advantages of NLU in Government Chatbots

    1. Improved Citizen Engagement: NLU allows chatbots to understand and interpret citizen inquiries accurately. By doing so, it improves the overall citizen experience by providing relevant and accurate information in real-time.
    2. Cost Savings: Chatbots powered by NLU can automate the handling of frequently asked questions, freeing up government resources and reducing costs.
    3. Improved Service Delivery: With NLU, chatbots can provide personalized and contextualized responses to citizens, enhancing service delivery and responsiveness.
    4. Often, NLU is available across multiple languages so that more citizens can be served in their chosen language without the additional cost of translation or in the production of printed material.

    Challenges of NLG in Government Chatbots

    1. Legal and Regulatory Compliance: Often, the response that the government assistant provides will need to be definitive. NLG poses a challenge in this area as it can generate responses that do not provide the correct information or even fail to comply with regulations.
    2. Ambiguity in Citizen Inquiries: Citizens often ask open-ended or ambiguous questions, making it difficult for chatbots to provide definitive answers.
    3. Limited Data Availability: NLG relies heavily on data availability. The government sector may have limited data, making it challenging to generate accurate responses to citizen inquiries.
    4. Timeliness: Amendments to legislation can be introduced that need to be reflected in the assistant from day zero. Most NLG systems are based on models that require a period of training and during this period the information may be out of date.

    Most of the intelligent assistants that I have created for our public sector customers have contained legal advice or at least guidance for how people interact with public services.

    This advice and guidance needs to be specific and accurate, something that has always been best handled through curated messaging created by working hand-in-hand with the departmental experts who have those discussions with citizens every day.

    David Patterson
    Portrait of David Patterson

    Conclusion

    As ever, any government AI assistant needs to be designed from a citizen-first perspective. It needs to be designed to make things easier, automating back-end processes that would otherwise be time-consuming or confusing.

    Using NLU to understand the citizen prompt helps us to achieve these aims. At the moment, however, it is probably fair to say that Natural Language Generation is not suitable for government purposes. Current systems are challenged when it comes to providing accurate, timely and definitive responses to citizen inquiries.

    The best option in most situations will therefore be to use a service that understands the citizen but uses curated text responses to provide accurate information to the citizen.

    You can read more on this topic in David's previous articles

    https://www.linkedin.com/pulse/how-hollywood-would-build-chatbot-meet-conversation-david-patterson/

  • How I built a Watson chatbot during work experience

    How I built a Watson chatbot during work experience

    I built an IBM Watson chatbot during the four weeks I spent with KnowNow Information. From scratch… Everything! Want to know how?

    Building a Watson chatbot

    My name is Solly Welch. Today is my last day at KnowNow and safe to say that I am leaving with a lot more knowledge and understanding of IBM's Watson, Cloud Functions, and IoT than I did when I started.

    The main projects I have worked on are adding human-like interactions and functions to the Consentua chatbot, The local government landing page Chatbot as well as a chatbot for a council's accounts team. I also managed to build a few chatbots from scratch including the Entelligently FAQ chatbot and also Entelligently's Comfort Bot.

    The Entelligently Comfort Bot has been my main project and definitely my favourite. This project is almost complete and the plan is to deploy across many locations in the future.

    This bot is designed to collect users' comfort levels and store them as variables. It later sends these variables to Entelligently. The bot works the same way as Entelligently's app and website, however, the chatbot interface is presented in a conversational format allowing more flexible answers. It also allows users to talk to the bot as If it was a human. This helps the user express naturally how they feel.

    Slack output from a Watson chatbot

    Improving Chatbots with Tone Analyzer

    Another project I tried was IBM Watson's Tone Analyser. This was able to detect the tone that the user was typing in and then determine appropriate answers. For example, the sentence "Working for KnowNow is awesome", Watson would return saying it is 94.144% positive that the tone of the message is Joy!

    In the future, this can be incredibly powerful in understanding how users and people really feel when speaking to your chatbot. As well as why the chatbot selects its responses.

    I look forward to experimenting with this further!

    A Screenshot of Tone Analyzer Running Using IBM Cloud
    A Screenshot of Tone Analyzer Running Using IBM Cloud

    Chatbots in Multiple Languages

    Another IBM Service I used was the Language Translator. This enables translation from one language to another in real-time. I was very lucky to have Fatima and Tiziana in the office who both speak Italian fluently so we were all able to put the language translator to the test and see exactly how accurate it was. We were very surprised with its accuracy and its ability to understand tenses. This would be useful to deploy in a Chatbot that is available around the world.

    It was difficult to set up both the language translator and tone analyser at first but once setup It was very simple to use and manipulate.

    The final results…

    When I started four weeks ago, I had a very weak understanding of IBM's Cloud Services. However, four weeks on I feel confident and I cannot wait to put everything I learned into practice and continue creating cool chatbots and use IBM's Cloud Functions. I really enjoyed working with everyone and learning from people who are more experienced than I am. My favourite part of these four weeks was problem-solving. When things didn't go the way I wanted I enjoyed working out effective, long-term solutions.

    Lastly, I would like to thank Chris, David, and everyone else in the KnowNow team for helping me learn and understand more about IBM's Cloud and the Watson chatbot. I can't wait to come back soon and learn even more and expand my knowledge.

    – Solly Welch

    If you want to know more about IBM Cloud services or to talk to someone about getting your own Watson chatbot then send an email to contact@kn-i.com.