November 2018
Beginner
472 pages
13h 5m
English
We also want to define the phrases Mycroft will say back to you. We have three that our intent requires so far. These go into a my-robot-skill/dialog/en-us folder. It's the same as the vocabulary files mostly. The first is the common word robot in my-robot-skill/dialog/en-us/Robot.dialog:
The RobotRobot
Then, we can define my-robot-skill/dialog/en-us/UnableToReach.dialog as follows:
Sorry I cannot reach the robot.The robot is unreachable.Have you turned the robot on?Is the menu server running on the robot?
By defining multiple possible dialogs, Mycroft will randomly pick one to make itself less repetitive. We need my-robot-skill/dialog/en-us/Starting.dialog:
Startingis Startingwill Start
Read now
Unlock full access