GithubHelp home page GithubHelp logo

liyaas007 / dialogflow-fulfillment-nodejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dialogflow/dialogflow-fulfillment-nodejs

0.0 1.0 0.0 1.23 MB

Dialogflow agent fulfillment library supporting v1&v2, 8 platforms, and text, card, image, suggestion, custom responses

License: Apache License 2.0

JavaScript 100.00%

dialogflow-fulfillment-nodejs's Introduction

Dialogflow Fulfillment Library

The Dialogflow Fulfillment Library makes creating fulfillment for Dialogflow v1 and v2 agents for 8 chat and voice platforms on Node.js easy and simple. Cross-platform text, card, image, suggestion are supported for Actions on Google, Facebook, Slack, Telegram, Kik, Skype, Line, Viber and Dialogflow's simulator with custom payload support for all platforms.

fulfillment library works with 8 platforms

Dialogflow fulfillment allows you to connect Dialogflow's natural language understanding and processing to your own systems, APIs and databases. Using fulfillment, you can surface commands and information from your services to your users through a natural conversational interface. More about Dialogflow fulfillment: https://dialogflow.com/docs/fulfillment

When to use this library

This library is intended to be help building Node.js Dialogflow fulfillment for multiple integrations (such as the Google Assistant and Slack) or when you aren't sure what integration you plan on using. If you are only interested in building Dialogflow fulfillment for the Google Assistant and don't plan on using other integrations, please use the Actions on Google NPM module (actions-on-google) which supports all Actions on Google features.

Quick Start

  1. Sign up for or sign into Dialogflow
  2. Create a Dialogflow agent
  3. Enable the Cloud Function for Firebase inline editor
  4. Copy this code in samples/quick-start/functions/index.js the index.js file in the Dialogflow Cloud Function for Firebase inline editor.
  5. Add "dialogflow-fulfillment": "^1.0.0" to the package.json file's dependencies object in the Dialogflow Cloud Function for Firebase inline editor.
  6. Click Deploy

Setup Instructions

  1. Import the appropriate class:
const { WebhookClient } = require('dialogflow-fulfillment');
  1. Create an instance:
const agent = new WebhookClient({request: request, response: response});

Reference

Issues and Questions

  • If you find any issues, please open a bug on GitHub.
  • Questions are answered on StackOverflow.
  • Known Issues/Limitations
    • No verification for platforms-specific incompatible response combinations (i.e. multiple cards are not supported in a single Actions on Google response)

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.

dialogflow-fulfillment-nodejs's People

Contributors

aviv-ebates avatar brianrosamilia avatar denisvcode avatar flatfisher avatar liyaas007 avatar

Watchers

 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.