Giter Club home page Giter Club logo

fulfillment-temperature-converter-nodejs's Introduction

Temperature Trivia

Setup

Choose one of the three options listed below for setup. You only need to complete one of the three options below to setup this sample.

Option 1: Add to Dialogflow (recommended)

Click on the Add to Dialogflow button below and follow the prompts to create a new agent:

Temperature Trivia

Option 2: Dialogflow Inline Editor

  1. Sign up for or sign into Dialogflow and create a agent
  2. Go to your agent's settings and Restore from zip using the dialogflow-agent.zip in this directory (Note: this will overwrite your existing agent)
  3. Enable the Cloud Function for Firebase inline editor
  4. Change the name of the function in functions/index.js from dialogflowFulfillmentLibAdvancedSample to dialogflowFirebaseFulfillment
  5. Copy this code in functions/index.js the index.js file in the Dialogflow Cloud Function for Firebase inline editor.
  6. Add "dialogflow-fulfillment": "^0.4.0" to the package.json file's dependencies object in the Dialogflow Cloud Function for Firebase inline editor.
  7. Click Deploy

Setup: Firebase CLI (option 2)

  1. Sign up for or sign into Dialogflow and create a agent
  2. Go to your agent's settings and Restore from zip using the dialogflow-agent.zip in this directory (Note: this will overwrite your existing agent)
  3. cd to the functions directory
  4. Run npm install
  5. Install the Firebase CLI by running npm install -g firebase-tools
  6. Login to your Google account with firebase login
  7. Add your project to the sample with firebase use [project ID] find your project ID here
  8. Run firebase deploy --only functions:dialogflowFulfillmentLibAdvancedSample
  9. Paste the URL into your Dialogflow agent's fulfillment

References and How to report bugs

How to 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

 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.