Example of a bot connected to Dialogflow (API.ai) through official client https://github.com/dialogflow/dialogflow-javascript-client
From your Dialogflow workplace, go to settings
-> general
Then copy this value
in accessToken: string = '[YOUR_ACCESS_TOKEN]';
(home.ts
)
The Missing index.js.map
error can be solved by adding an empty file index.js.map
in /home/yuri/GitHub/ionic3-dialogflow-client-example/node_modules/api-ai-javascript