Bot should read the data from Mongo DB conversation

Hi,

Can anyone help me with an example where Rasa is connected to Mongo Db for reading Data . Suppose we have an student table with all the details, we need the Bot to read the data from there and utter to the user

Thanks in advance.

You’ll need to create a custom action for this.

The custom action will take the inputs from slots or sender_id and use that in the database query. The results returned can be formatted and sent via dispatcher.utter_message

Dear Karthi,

Could you please elaborate, how the process is, like how to fetch the sender id from Mongo DB and to use in rasa. could you please share some documents if you have.

Thanks in advance.