Roll your own chatbot with Rasa

Causal Chat

Article from Issue 283/2024
Author(s):

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

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • 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.

  • 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.

  • 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.

  • Alternative Office Suites

    The majority of Linux distributions ship with LibreOffice as the default office software, but some interesting alternatives are out there right now if you're ready to taste a different suite.

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

News