项目作者: dialogflow

项目描述 :
Slot Filling with Dialogflow Fulfillment
高级语言: JavaScript
项目地址: git://github.com/dialogflow/fulfillment-slot-filling-nodejs.git
创建时间: 2018-08-20T20:12:59Z
项目社区:https://github.com/dialogflow/fulfillment-slot-filling-nodejs

开源协议:Apache License 2.0

下载


Dialogflow Fulfillment Basic Slot Filling Sample

Slot filling simplifies your agent by letting you obtain multiple, required parameters within a single intent. If any parameters are missing from a user utterance, your agent will automatically prompt users for the required parameters.

Setup

Select only one of the options below.

To create this agent from our template:



Option 2: Firebase CLI

  1. Create a Dialogflow Agent.
  2. git clone https://github.com/dialogflow/fulfillment-slot-filling-nodejs.git
  3. Go to Settings ⚙ > Export and Import > Restore from zip using the dialogflow-agent.zip in this directory.
  4. cd to the functions directory
  5. Run npm install.
  6. Install the Firebase CLI by running npm install -g firebase-tools
  7. Login with your Google account, firebase login
  8. Add your project to the sample with firebase use <project ID>
    • In Dialogflow console under Settings ⚙ > General tab > copy Project ID.
  9. Run firebase deploy --only functions:dialogflowFulfillment
  10. Back in Dialogflow Console > Fulfullment > Enable Webhook.
  11. Paste the URL from the Firebase Console’s events column into the URL field > Save.
Name Language
Fulfillment & Regex Validation Node.js
Weather: Fulfillment & WWO API Node.js
Bike Shop: Fulfillment & Google Calendar API Node.js
Temperature Trivia: Fulfillment & Actions on Google Node.js
Fulfillment & Actions on Google Node.js
Fulfillment & Firestore Database Node.js
Multi-language/locale Node.js
Basic Slot Filling Node.js
Alexa Importer Node.js

For Fulfillment Webhook JSON Requests & Responses.

References & Issues

Make Contributions

Please read and follow the steps in the CONTRIBUTING.md

License

See LICENSE.md

Terms

Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service and Dialogflow’s Terms of Use and Privacy Policy.