0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Alexaスキル開発 8秒待ってもユーザーからの応答がない場合、Alexaはマイクをオフにする

Posted at

教訓

8秒待ってもユーザーからの応答がない場合、Alexaはマイクをオフにする
スキルセッションのライフサイクル

背景

以下のような対話フローを考えていた。

  • ユーザ: Alexa、ジャーナリングを開いて
  • Alexa: 今日の出来事を振り返ってみましょう。ノートや日記に書いてみてください。書き終わったら「書いたよ」と話かけてください
  • (5分応答なし)1
  • ユーザ: 書いたよ

そして、set_should_end_session(bool)というメソッドがあったため、引数をFalseにした。
だが、こちらが無反応でいると、途中でAlexaのランプが消えて会話の受付状態が解除された。
何故かと思い、調べてみると、今回の教訓となるドキュメントを見つけた。

  1. 現在作成中のスキル名が「ジャーナリング 〜自分と向き合う5分間〜」のため

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?