Node.js Fulfillment SDK ( https://github.com/dialogflow/dialogflow-fulfillment-nodejs ) を使用しており、ユーザー ストレージにアクセスするために DialogflowConversation を統合したいと考えています。
私はこの単純なコードを使用しようとしています:
let conv = agent.conv();
conv.ask("HEY");
agent.add(conv);
しかし、サーバーは次の例外で失敗しています:
Error: No responses defined for platform: ACTIONS_ON_GOOGLE
at V2Agent.sendResponses_ (/srv/node_modules/dialogflow-fulfillment/src/v2-agent.js:243:13)
at WebhookClient.send_ (/srv/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:505:17)
at promise.then (/srv/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:316:38)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
現在、このライブラリを使用しています:
"dependencies": {
"firebase-admin": "^5.13.1",
"firebase-functions": "^2.0.2",
"dialogflow-fulfillment": "^0.6.1",
"actions-on-google": "^2.5.0",
"i18n": "^0.8.3"
}
私は何を間違っていますか?
ありがとう