
Learn to build chatbots with Python and open source tools, mastering intents and meaningful responses. Deploy to Facebook, Slack, WhatsApp, and integrate with a Flask web app.
Gain a basic understanding of Python and install Python from python.org, then download PyCharm community edition (free) for this course; note that the professional edition is paid.
Explore conversational AI with Rasa open source, including NLU and dialogue management, to build contextual chatbots and virtual assistants. Access Rasa Pro features like enhanced security, observability, and enterprise scalability.
Explore the open source rassau framework for building chatbots, covering natural language understanding, intent classification, entity recognition, dialogue management with Roscoe, and custom actions via the action server.
Set up your Rasa development environment with Python 3.6+ in a virtual environment using PyCharm, install Rasa via pip, and verify by launching the resource shell for testing.
Create a Rasa project from scratch, choosing interactive or no-prompt initialization, configure pipelines and training data, train the model, and test a basic chatbot powered by Rasa.
Explore the default Rasa project structure, including actions, data, domain, rules, and stories, and learn how intents, training data, and dialogue management connect to build a chatbot.
Create a hello world chatbot project from scratch using Russell, configure intents, domain, and stories, train the model, and troubleshoot common errors during development.
Explore how the rules.yml file defines conditions to control chatbot dialogue by mapping user inputs to actions, enabling fallback handling and overriding behavior, and compare with storage for training data.
Explore how the dot yml nlu file defines intents, entities, synonyms, and regex patterns to train a Rasa chatbot, enabling accurate entity extraction and intent recognition.
Explains the domain file as the central blueprint for intents, entities, responses, actions, slots, forms, and templates, guiding training and pizza order conversations.
Define storage.yml in rasa to map user intents to bot actions, and use stories with domain.yml to train the dialogue model and bot utterances.
Learn how Rasa performs entity extraction through a two-step process: intent recognition and entity extraction with ML models, using examples like food, location, and date.
Add more functionality to a Python and Rasa chatbot by creating order food and inform food intents, training data, extract food entity, and two actions: order food and confirm order.
Create a weather bot with python and rasa by defining intents and entities, wiring the openweathermap API via custom actions, and training with stories and domain configurations.
Explore how a Rasa pipeline processes user messages through tokenizers, featurizers, intent classifiers, entity extractors, response selectors, and fallback classifiers, and how to customize the pipeline in config.yaml.
Define slots in domain.yml and fill them from user inputs or entities to remember key data across conversations. Use slots to enable contextual understanding, personalized interactions, and smooth multi-turn dialogue.
Learn how Rasa policies decide the chatbot's next action from dialogue history and context, using memorization, rule, unexpected intent, and transformer embedding policies.
Discover how Rasa synonyms expand chatbot vocabulary by mapping multiple words to the same entity, boosting understanding and handling of user variations for accurate responses like account balance.
Learn how to extract entities with regex in a Rasa-based chatbot, defining patterns, annotating training data, and configuring a regex entity extractor for precise, fast, and controlled extractions.
Train robust chatbots with Rasa by using a lookup table to define a predefined list of values, map them to a unified representation, and simplify entity recognition, updates, and performance.
Build a movie recommendation chatbot using machine learning based entity extraction with annotated data, feature extraction, and model training (crf, svm, rnn/transformers), then integrate with Rasa for evaluation and deployment.
Extend a movie recommendation bot from dummy data to a real, API-driven system by using a CRF entity extractor and regex featurizer, training with Rasa and testing in the shell.
Choose the right Rasa pipeline by balancing dataset size, intents, entities, multilingual needs, and the mix of tokenizer, featurizer, intent classifier, entity extractor, and dialogue management.
Discover how Rasa forms streamline multi-slot conversations by encapsulating slots and entities in a single form, enabling upfront collection of information for efficient, guided chat bot interactions.
Learn a practical Rasa forms setup to collect user details by defining intents, entities, and slots, then implement domain, actions, and rules to activate and submit the form.
Learn how fallback handles low-confidence user messages with default replies or clarifying questions, and how human handoff transfers to a human agent to improve user experience.
Explore fallbacks in Rasa, including fallback classifier, action fallback, and two-stage fallback, to handle low-confidence inputs and disambiguate intents for robust, user-friendly chatbots.
Explore how the Rasa NLU fallback classifier activates when primary intent confidence falls below a threshold, predicting a fallback intent and triggering a predefined fallback action to handle uncertain inputs.
Learn how to handle low action confidence in a Python and Rasa open source chatbot using the fallback classifier and the rule policy.
Implement two stage fallback in a Rasa open source chatbot to disambiguate uncertain intents by prompting clarifications and looping for user input.
Build a simple Rasa chatbot with a MySQL database, define intents and entities for name and email, collect user details, and save them to the database.
Learn to save user name and email to a MySQL database in a Rasa chatbot by installing MySQL Connector, creating a users table, and implementing an action to insert data.
Demonstrate a chatbot workflow that shows all data by creating an action to show all data, querying the database, fetching and displaying entries, and training the model.
Connect Rasa to Ngrok to expose a local chatbot server for webhook testing and temporary public URLs for external platform integration with Facebook Messenger, WhatsApp, Slack, and Telegram.
Connect your Rasa chatbot to Facebook Messenger by creating a Facebook app, linking a page, configuring webhooks and tokens, and testing message flows that access the database.
Learn to integrate a Rasa chatbot with Slack by creating a Slack app, configuring OAuth permissions, redirect URLs, bot tokens, signing secrets, and event subscriptions.
Learn how to integrate Rasa with Telegram by creating a Telegram bot, configuring access token and webhook, updating training data and domain.yml, and training and running the model.
Connect your Rasa chatbot to WhatsApp with a Twilio sandbox, configure account id and auth token, set the webhook URL with ngrok, and test sending and receiving messages.
Learn to build a simple chat bot with Rasa and integrate it into a Flask project, showcasing a chat box and AI-powered responses.
Build a Flask-based Python web app and a Rasa chatbot, training the model and integrating with a simple web interface using routes, templates, and a chat widget.
Bind a key press on the chat widget input, detect the enter key (13), retrieve the user message, clear the input, and append the message to the chat output.
Learn to send user messages to a Rasa server via a REST API using a defined API URL, webhook route, and Ajax post requests to receive bot responses in JSON.
Welcome to the comprehensive course, "How to Build Chatbot with Python and Rasa Open Source." If you're interested to dive into the exciting world of conversational AI, this course is your gateway to creating powerful, intelligent chatbots from scratch using Python and Rasa Open Source.
Course Description:
In today's digital landscape, chatbots have become an integral part of user engagement and customer support. This course is meticulously designed to equip you with the skills needed to creat sophisticated chatbots using Python and also leverage the capabilities of Rasa Open Source, a leading conversational AI framework.
Key Focus Areas:
Understanding Rasa NLU: Lay the foundation by grasping the core concepts of Rasa NLU (Natural Language Understanding). Learn how to preprocess and extract meaning from user messages, forming the basis for accurate interactions.
Building Weather Chatbot and API Calls: Dive into practical implementation as you build a Weather Chatbot that interacts with external APIs to provide real-time weather information. Understand how to integrate API calls seamlessly into your chatbot flow.
Advanced NLU Techniques: Elevate your chatbot's understanding of user intent and entities. Explore advanced techniques to enhance NLU performance, including entity recognition and synonym handling.
Rasa Forms: Discover the power of Rasa Forms in creating structured conversations. Implement dynamic forms that guide users through complex interactions, ensuring a seamless and user-friendly experience.
Fallback and Human Handoff: Learn how to gracefully handle user queries that fall outside the chatbot's capabilities using fallback mechanisms. Explore strategies for seamless transition to human agents when necessary.
Rasa and MySQL Database: Integrate Rasa with MySQL databases to store and retrieve user-specific data, enabling personalized interactions and a more engaging user experience.
Deploy Rasa Chatbot: Take your chatbot from development to deployment. Explore deployment options and strategies, ensuring your chatbot is accessible to users across various platforms.
Rasa and Flask Integration: Extend the capabilities of your chatbot by integrating it with Flask, a powerful web framework. Learn how to create a user-friendly web interface for your chatbot.
More on Rasa Forms: In this section we are going to learn more about Rasa Forms, and we add more information on Rasa usage.
Creating News Bot: In this section we want to interact with API and create a news Bot
Rasa with OpenAI LLMs: In this section we want to talk about LLMs, and how we can integrate OpenAI (GPT) LLMs with Rasa Open Source
Rasa with Cohere LLMs: In this section we are going to integrate Rasa with Cohere LLMs.
Rasa with Google Gemini: In this section we are going to talk about Google Vertex AI, and how we can integrate Google Gemini with Rasa Open Source.
Rasa with Hugging Face: In this section we want to learn how to integrate Rasa Open Source with Hugging Face Models.
By the end of this course, you'll gain the skills and knowledge to create intelligent chatbots that can understand user intents, retrieve and present information, and provide a delightful conversational experience. Whether you're a developer looking to enter the world of AI-driven chatbots or a professional aiming to enhance customer interactions, this course empowers you to build and deploy sophisticated chatbots with Python and Rasa Open Source. Enroll now and embark on a journey into the exciting realm of conversational AI.