Answers from database

Hello , please i need your help i want to create a chatbot with rasa and i want to extract the answers from database (mysql or… ) idk how to do that

Hello Salma First you need to download mysql connector if you are using mysql db from following link then use it in your file in your project directory like this MySQL query using slots

Create a custom action. If you are using python then refer this article how to fetch data from mysql and after fetching the data you can just return it back to rasa.