Skip to content

DialogFlow V2beta1

Compare
Choose a tag to compare
@phanxuanquang phanxuanquang released this 16 Dec 10:07
· 46 commits to main since this release
75dc709

1. Set up project:

1.1. Install Node.js and npm (skip if you had it already):

1.2. Install required packages:

nmp install @google-cloud/dialogflow express

1.3. Create GCP service account and export it as a .JSON file:

  • Detailed guidance can be found HERE.

1.4. Paste the content of your service account .JSON file into service-account.json file.

2. Usage Guidance:

2.1. Start Node.js server:

node DialogFlow.js

2.2. API Usage:

POST http://localhost:5000/dialogflow

With request body (example):

{
    "question" : "Hello!"
}

3. Documentaion:

  • Can be found HERE.