dialogflow / dialogflow-nodejs-client

Node.js SDK for Dialogflow
Apache License 2.0
659 stars 287 forks source link

Problem to connect to the chat in the website #83

Open csgofatwin opened 7 years ago

csgofatwin commented 7 years ago

Hi everyone. Im working with API.AI and i have created everything, and I have already install the npm install apiai. When i Run the program with node main.js, appears:

{ id: '8d5e26cb-cceb-4c30-8b98-30a35fbba8e8', timestamp: '2017-08-31T22:52:38.808Z', lang: 'en', result: { source: 'agent', resolvedQuery: 'Hi', action: '', actionIncomplete: false, parameters: { 'geo-city': '' }, contexts: [], metadata: { intentId: 'af1c44d8-2695-4ea1-a8be-bedbe5c3ade7', webhookUsed: 'false', webhookForSlotFillingUsed: 'false', intentName: 'weather-intent' }, fulfillment: { speech: 'the weather sure looks great', messages: [Array] } score: 1 }, status: { code: 200, errorType: 'success' }, sessionId: '88b3bf56-91e8-467c-8d49-4762396e5102' }

But nothing happens in the chat in the website :(