Data extraction from database

How can we extract data from a database to be used in a chatbot?

Do you want to query the database or use it to train the chatbot?

i am making a chatbot which helps in finding a university according to input given by the user, so i am a bit confuse on this part but i want by bot to take the data from the database which is the information about the universities and show the data to the user.

You can use custom actions.

In your custom action, you can connect to a database like in any other Python code. If you want to connect to a MySQL database, you can use the mysql-connector-python module. Here are its docs.

Hey everyone! I hope you all are fine and doing great, Is there anyone who about .htaccess how can I apply redirects by using .htaccess command?