How do I train Almond? I’d like to start with “throw dice”, which should return random number between 1 and 6.
I tried on Gnome desktop app. There’s a Train command in menu, which inserts prompt “Retrain the last command” which always returns answer “Sorry, I did not understand that. Can you rephrase it?”.
What went wrong here?
I also tried to train it online, where I can enter training prompt and ThingTalk expression. I read about ThingTalk and found where in code the random integer functions is, but I could not construct ThingTalk expression which would be accepted by online tool. This is as far as I got:
now => @org.thingpedia.builtin.thingengine.builtin.get_random_between(low=1, high=6) => notify;
This throws error Cannot find entity 6 of type NUMBER, have {}. What am I missing?
Extra, question - if I train Almond online, will the connected Gnome app also be trained? Would I be able to use online training with Gnome skills?