Nodejs-dialogflow: Main readme file should use const dialogflow = require('@google-cloud/dialogflow').v2;

Created on 17 May 2020  路  3Comments  路  Source: googleapis/nodejs-dialogflow

The main readme file states to use the lib like this:
const dialogflow = require('dialogflow');

This should be chaned to, like the samples use:
const dialogflow = require('@google-cloud/dialogflow').v2;

p2 bug dialogflow

Most helpful comment

Plus this needs updating too, right: "npm install dialogflow" ???

All 3 comments

Plus this needs updating too, right: "npm install dialogflow" ???

@avallone-google From my understanding, this issue may be already fixed. Could you confirm it is fixed ?

if there is anything missing, I would like to make small changes for you.

LGTM

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daaru00 picture daaru00  路  3Comments

mwoop picture mwoop  路  3Comments

jdelman picture jdelman  路  5Comments

patrick-zimmermann picture patrick-zimmermann  路  6Comments

chroth7 picture chroth7  路  4Comments