How to use spacy features for NLP along with Rasa

Hey guys, I’m new to both Rasa and Spacy and I’m trying to building a chatbot as a database requester. It goes like this : the user enters his request with natural language like “I want the list of the products in the database” and the chatbot should transform that request to an sql query, execute it on the data base and return the result to the user. To treat complex requests I need to use spacy’s matching feature. But I also want to use Rasa’s lookup tables feature for training. I don’t know how can I work with those two at the same time. Does anybody have an Idea ?