Can RASA be connected to DB2 table present in mainframe.
I don’t think you are connecting Rasa anywhere,
basically from the Rasa package, you determine an action that needs to be taken
an Action could be an API call , i am not sure about Python and DB2 drivers if it exists or not but you could write a middleware for your DB in SOAP/REST and use custom action(python class) to call the middleware service.
Can we have a dummy API which can be useful here. I need it to connect between RASA and DB2
I am not sure what you mean? what is a dummy API?