Skip to content

Validate Entities with Regular Expressions in Dialogflow's Fulfillment

License

Notifications You must be signed in to change notification settings

onigetoc/fulfillment-regex-nodejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regular Expression Matching Sample

This sample demonstrates how to implement regular expressions to validate entities with fulfillment in Dialogflow.

Setup

Select only one of the options below.

Option 1: Add to Dialogflow (Recommended)

To create this agent from our template:

Option 2: Firebase CLI

  1. Create a Dialogflow Agent.
  2. Go to Settings ⚙ > Export and Import > Restore from zip using the dialogflow-agent.zip in this directory.
  3. cd to the functions directory
  4. Run npm install.
  5. Install the Firebase CLI by running npm install -g firebase-tools
  6. Login with your Google account, firebase login
  7. Add your project to the sample with firebase use <project ID>
  • In Dialogflow console under Settings ⚙ > General tab > copy Project ID.
  1. Run firebase deploy --only functions:dialogflowFulfillment
  2. Back in Dialogflow Console > Fulfullment > Enable Webhook.
  3. Paste the URL from the Firebase Console’s events column into the URL field > Save.

Samples

For all Dialogflow-Fulfillment samples on Github, available in Node.js and Python.

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.

About

Validate Entities with Regular Expressions in Dialogflow's Fulfillment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%