22. invocation name
Skillを特定するためのキーワード
先ほどのデモでは “Pi Home”
以下のものは禁止されている
・Alexa, Amazon, Echoと言った予約されているキーワード
・人権を侵害するようなもの
・人名、地名単体のもの
などなど
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/choosing-the-invocation-name-for-an-alexa-skill
Choosing the Invocation Name for a Custom Skill
23. connection word
invocation nameとactionの区切りに使われるワード
launch phrasesによって、使えるワードが変わってくる
Ask <invocation name> <connecting word> <some action>
→ to, about, for, if, whether
Tell <invocation name> <connecting word> <some action>
→ to, that
などなど
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/supported-phrases-to-begin-a-conversation
Understanding How Users Invoke Custom Skills
31. 発話(Utterances)のサンプル定義
IntentとUtterancesのひも付けを定義します
TurnOnLight lights on
TurnOffLight lights off
ChangeLightMode change lights mode
TurnOnFan fans start
TurnOffFan fans stop
ChangeFanSpeed change fans speed {action}
SpeedUpFan speed up fans
SpeedUpFan fans speed up
SpeedUpFan fans faster
SlowDownFan slow down fans
SlowDownFan fans slow down
SlowDownFan fans slower
ReverseFan fans reverse
AMAZON.HelpIntent help me operation
AMAZON.HelpIntent how do i use
33. 実際の発話
<wake word> <launch phrases> <invocation name> <connecting word> <some word>
Alexa, tell pi home to lights on
→ TurnOnLight
Alexa, tell pi home to lights off
→ TurnOffLight
Alexa, tell pi home to change fans speed fast
→ ChangeFanSpeed action=fast
<connection word>は省略できる
Alexa, tell pi home lights on