Hamid Sheikh
Hamid Sheikh

Reputation: 11

Where to find Dialogflow javascript function documentation?

I have started learning Dialogflow using the codelabs tutorials provided by Google and am searching for the javascript documentation for dialogflow module.

For example, I have this code:

const {dialogflow} = require('actions-on-google');
const functions = require('firebase-functions');

const app = dialogflow({debug : true});

app.intent('Default Welcome Intent', conv => {
  conv.close('Welcome to my app!');
});

And I want to what functions and stuff the conv object has that is given by the app.intent() handler I created.

I have tried searching on Google's Dialogflow documentation page but am confused, since I am a beginner to all of this.

Any help is appreciated, thank you.

Upvotes: 1

Views: 50

Answers (1)

jacobytes
jacobytes

Reputation: 3261

You are using the Dialogflow integration from Actions on Google which is designed for Google Assistant. This will work fine with Dialogflow, but something might be different compared to the Dialogflow Fullfilment library.

As for the conv object that you are using, you can find it's details in the documentation here.

Upvotes: 1

Related Questions