Hi Guys. Im trying to use my slot value as a variable that I want to retrieve from my database. To elaborate a variable location is declared. It is set to tracker.getSlot(“location”). So basically I want a query to be executed which used the value of location in my sql query. I am attaching pictures below.
Thank you @JiteshGaikwad. Fixing my story to your pattern has fixed my errors. I have one more question at the moment. Some of my synonym are not working. For instance I have a location called “defence” (this word is in a different language in my nlu file. I have stated a synonym against this value but it does not work with my slot. Any ideas?