Node.js client library

This page provides reference documentation and related resources for the Dialogflow Node.js client library.

Resource Description
Library reference Dialogflow Node.js library reference
Language guide General guide for using Node.js with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Dialogflow and Node.js


To install the client library:

npm install dialogflow

V2Beta1 client library

Dialogflow's V2Beta1 API offers new features that are not yet available with the V2 API. To use the V2Beta1 client library:

  • Enable beta features. See agent general settings.
  • Specify the V2Beta1 API in your code by using the following require statement:

    const dialogflow = require('dialogflow').v2beta1;

Dialogflow fulfillment library

The Dialogflow fulfillment library provides a way for developers to create fulfillment across the various integrations that Dialogflow supports. If you are only interested in building Dialogflow fulfillment for the Google Assistant and don't plan on using other integrations, you should use the Actions on Google fulfillment library which supports all Actions on Google features.

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

Dialogflow Documentation
도움이 필요하시나요? 지원 페이지를 방문하세요.