Giter VIP home page Giter VIP logo

chatbot's Introduction

ChatBot

A Simple ChatBot Widget

forthebadge a a a forthebadge forthebadge forthebadge a

Check out the Demo

Kindly create an api.ai account and train the bot and integrate it in js/script.js file by using api.ai client key.

Also based on getting the required fields (like name, email) , you can call your json backend to send email/integrate in slack etc. Parameter to check if all fields are entered is actionIncomplete.(I have written comments in the JS file)

You can use webhooks directly from api.ai or call json api from js file based on actionIncomplete parameter = false.

Also this ChatBot is built in the form of widget, every logic happens in js file including dynamic html content addition. You also could put the html content in index.html.

Remember to change the api.ai key in js/script.js file

There can be mistakes in the code :P

Do Let me know your thoughts on this :) !

chatbot's People

Contributors

ashwinkshenoy 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.