Background
I’m a part of team developing a chatbot based on the Pandorabots platform. We are subscribed and are using AIaas(using the PHP module to access the PB API). While the pb-cli and other functions work well, there is small query that I could not find the answer to.
Query
One of the functions of the bot is to fetch information externally : sometimes over the internet, sometimes from a database. In the past(for a personal project) I used Rivescript and by writing small javascript snippets in conjunction with a php script, I was able to fetch data externally. How can I achieve a similar functionality using Pandorabots? The PB blog post linked below presents a similar concept to the one we’re trying to achieve :
Handling Sensitive Data-PB blog
But I cannot figure out how to use the mustache scripting engine within the AIaas. I would really appreciate if someone could explain to me how to use the mustache (or any other scripting language) to access data external from with AIaas.