Fail to connect the sql database from phpmyadmin to my university chatbot rasa in flask

i have some difficulties to connect mysql database from phpmyadmin to my rasa chatbot for university in flask for more details , in the database im storing the responses of my chatbot and the questions of the users are the intents , so im suufering to connect my databse to my chatbot to be able to fetch the databse and display the content of the database as responses of my chatbot i need help please and thanks

You could use a custom importer to pull your data from the mysql database.

1 Like

thanks for help , but i have another question is it necessary to make some modification in the credintials file or not

No, the Rasa credentials.yml would not need to change to use the custom importer.

1 Like

in which file should i add the training data importer , for more details of the structure of my rasa project = app.py = which contain the flask app of my rasa chatbot , and other files nlu.yaml , domain,yaml ,config.yaml , if it necceary i will send to you the files to understand me more , and i want to connect the sql database from phpmyadmin with my rasa chatbot and this database contain the responses of our chatbot , how to define the intents to be as the questions of users to fetch the content of the database
and thanks a lot for this help