I am new to IBM Watson Assistant and have just run through and also modified the GitHub simple (bankbot) example. The functionality is fine as far as it goes but I would like to run a local node function and make its results available to the conversation.
An example of this might be:
A home watson node server will be started on an internet accessible ip/port.
I will chat with watson on the above ip/port and ask: "which of my home computers are up".
Somehow Watson will build an option list of all lan hosts that respond to a ping from my local node server and present them to me in the conversation.
I will choose one of them and the chosen host could be the argument of another local function.
So questions: Is there an ordained methodology to have local / cloud functions/ (variables|entities) and call/pass state back and forth between a local server and watson-assistant (Read: Not just parsing the human readable conversation JSON)
Is there an API ordained way of using the return data of local functions within the watson-conversation as options?
So far my biggest problem with Watson its naming schemes. If the above is possible and you could provide an example or api name, I can research the rest.