Is creating a custom action for retrieval intents possible?


My use case has around 220 sub-intents. It is primarily in FAQ format. There are other intents as well which are used to continue the story/give a humane feel to the person on the other side. I wish to fetch the responses for the sub-intents from a CSV or DB.

However, Rasa automatically creates utter_faq response and even if I try to define it as a custom action, it is shows me that utter_faq response is not defined and doesn’t detect it in the file. I would rather have a single response action and fetch items from DB than put in 220 individual responses in the domain/nlu file.

Is there a way to define a custom action for retrieval intents?