Roll your own chatbot with Rasa

Causal Chat

Article from Issue 283/2024

Many websites offer an automated feature that responds to visitor questions. If you're ready to build your own web chatbot, but don't have time to become an AI expert, Rasa Open Source can help.

You can imagine a chatbot as a kind of robot that talks to you. Underpinning the chatbot experience is software that can analyze language in text form and find an appropriate response. The technical term for this process is Natural Language Processing (NLP). In the past, NLP systems were completely rule-based. To be more precise, state machines were used to conduct the conversations.

However, rule-based chatbots were extremely limited. They were only suitable for processing simple standard tasks. A chatbot could provide information about a specific item in an online store or the opening hours of a museum. However, recent AI techniques allow for a much greater range of expression. Modern AI-based chatbots are very capable of conducting complex conversations.

Modern chatbots start by analyzing the request and trying to understand what it means. This step is known as Natural Language Understanding (NLU). The result is machine-readable information, such as keywords or specific email addresses.


Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • TensorFlow AI on the Pi

    You don't need a powerful computer system to use AI. We show what it takes to benefit from AI on the Raspberry Pi and what tasks the small computer can handle.

  • LineageOS

    Breathe new life into your old smartphone: The TWRP recovery image and the free Android offshoot LineageOS let you install the latest security updates every week.

  • Machine Language

    The electronic brain behind ChatGPT from OpenAI is amazingly capable when it comes to chatting with human partners. Mike Schilli picked up an API token and has set about coding some small practical applications.

  • Disinformation Detector

    Fake information is experiencing a boom, but given the right tools, you can reliably separate the wheat from the chaff.

  • Welcome

    Books, academic journals, tech blogs, and social media posts have been trumpeting dire warnings about super-intelligent AI systems snuffing out civilization.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More