1
hereには、特定の要求でスキルを呼び出すことができます。特定のリクエストを持つスキルの呼び出しは、newSessionハンドラでどのように機能しますか?
しかし、私のスキルには新しいセッション用のハンドラがあり、特定のリクエストで自分のスキルを起動しようとすると、まだこの新しいセッション機能で終了します。
const handlers = {
'NewSession': function() {
this.attributes.speechOutput = this.t('WELCOME_MESSAGE', this.t('SKILL_NAME'));
this.attributes.repromptSpeech = this.t('WELCOME_REPROMT');
this.emit(':ask', this.attributes.speechOutput, this.attributes.repromptSpeech);
},
'RankIntent': function() {
const rank1raw = this.event.request.intent.slots.RankOne;
const rank2raw = this.event.request.intent.slots.RankTwo;
...
}
}
正しい意図を取得する方法はありますか私はnewSession機能の句がで来ているかを確認するために、いくつかの場合には行う必要がありますし、どの機能が対応すべき?