Giter Site home page Giter Site logo

ares2013 / fulfillment-temperature-converter-nodejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dialogflow/fulfillment-temperature-converter-nodejs

0.0 3.0 0.0 20 KB

Sample demonstrating how to make a Dialogflow agent compatible with 9 platforms

License: Apache License 2.0

JavaScript 100.00%

fulfillment-temperature-converter-nodejs's Introduction

Temperature Trivia

Setup

Select only one of three options below.

Option 1: Add to Dialogflow (recommended)

Select Temperature Trivia to create a new agent.

Option 2: Dialogflow Inline Editor

  1. Create a Dialogflow Agent.
  2. git clone https://github.com/dialogflow/fulfillment-temperature-converter-nodejs.git
  3. Go to Settings ⚙ > Export and Import > Restore from zip using the dialogflow-agent.zip in this directory.A.
  4. Fulfillment > Enable the Inline EditorB.
  5. Under Fulfillment > Inline Editor > copy the code from this repo in functions/index.js and paste into the index.js file.
  6. Under Fulfillment > Inline Editor > add "dialogflow-fulfillment": "^0.5.0" to the package.json file's dependencies object.
  7. Select Deploy.

Option 3: Firebase CLI

  1. Create a Dialogflow Agent.
  2. git clone https://github.com/dialogflow/fulfillment-temperature-converter-nodejs.git
  3. Go to Settings ⚙ > Export and Import > Restore from zip using the dialogflow-agent.zip in this directory.A.
  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.
  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.

A.In general, Restore from Zip will overwrite any existing agent.

B.Powered by Cloud Functions for Firebase.

Samples

Name Language
Fulfillment Webhook JSON JSON
Dialogflow Console Template Node.js
Bike Shop-Google Calendar API Node.js
WWO Weather API Node.js
Alexa Importer Node.js
Temperature Trivia Node.js
Human-Agent Node.js
Google Translation API Python
WWO Weather API Python

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.

fulfillment-temperature-converter-nodejs's People

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.