Converting Natural language to DSL

I am working on a product. There is a domain specific language for queries in that product. Is there any way so that I can link natural language and domain specific language with RASA? What I mean is when user types query in natural language like English it should convert it into corresponding query in DSL. Here in my case the requirement is not to create any chat bot. The user will enter queries in a search bar like google search. I am new to Rasa, so can someone help me?

If you don’t need to create a chatbot or use the Rasa interfaces, try NLPCraft.