Home Knowledge Base Rasa

Rasa

Overview Rasa is an open-source framework for building contextual assistants and chatbots. Unlike visual flow builders (like Botpress), Rasa is "code-first" and uses machine learning to manage dialogue, allowing for more flexible, non-linear conversations.

Architecture

1. Rasa NLU Turning text into structure.

2. Rasa Core (Dialogue Management) Deciding what to do next. Rather than if/else flowcharts, Rasa uses "Stories" (training data) to teach a machine learning model how to respond. It can handle interruptions and context switching naturally.

Files

Action Server Rasa communicates with an external "Action Server" (usually Python) to execute custom code (API calls, DB lookups).

class ActionCheckWeather(Action):
    def run(self, dispatcher, tracker, domain):
        city = tracker.get_slot("city")
        temp = get_weather(city)
        dispatcher.utter_message(text=f"It is {temp} in {city}")
        return []

Privacy Rasa is self-hosted (no data leaves your server), making it popular in healthcare and banking.

rasaconversationalopen

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.