Giter Site home page Giter Site logo

0xdaksh / ai-chatbot-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfredfrancis/ai-chatbot-framework

0.0 0.0 0.0 12.2 MB

A python chatbot framework with Natural Language Understanding and Artificial Intelligence.

License: MIT License

Python 44.66% HTML 14.69% CSS 3.89% JavaScript 36.76%

ai-chatbot-framework's Introduction

IKY

Join the chat at https://gitter.im/ai-chatbot-framework/Lobby

An AI Chatbot framework built in Python

Building a chatbot can sound daunting, but it’s totally doable. IKY is an AI powered conversational dialog interface built in Python. With IKY it’s easy to create Natural Language conversational scenarios with no coding efforts whatsoever. The smooth UI makes it effortless to create and train conversations to the bot and it continuously gets smarter as it learns from conversations it has with people. IKY can live on any channel of your choice (such as Messenger, Slack etc.) by integrating it’s API with that platform.

You don’t need to be an expert at artificial intelligence to create an awesome chatbot that has artificial intelligence. With this basic project you can create an artificial intelligence powered chatting machine in no time.There may be scores of bugs. So feel free to contribute via pull requests.

Installation

After any of next methods, you will need to import db, and navigate to http://localhost:8001.

Docker Compose

docker-compose build
docker-compose up

Docker

docker build -t "ai-chat-bot" .
docker run --name=chabot-node-1  -e="APPLICATION_ENV=Production" -v ./:/usr/src/app -p 8001:8080 -it ai-chat-bot gunicorn --bind 0.0.0.0:8080 run:app
docker exec -it chabot-node-1 python /usr/src/app/setup.py

without docker

  • Then use pip to install all required python packages
pip install -r requirements.txt
  • Run setup script for setting up some default intents
$ python setup.py
  • Development
$ python run.py
  • Production
$ APPLICATION_ENV="Production" gunicorn -k gevent --bind 0.0.0.0:8001 run:app

Heroku

Deploy

  • add your dev/production configurations in config.py
class Production(Config):
    # MongoDB Database Details
    DB_HOST = "mongodb://127.0.0.1:27017/"
    DB_USERNAME = ""
    DB_PASSWORD = ""

    # Web Server details
    WEB_SERVER_PORT = 80

class Development(Config):
    DEBUG = True

DB

Backup

docker-compose exec mongodb bash
cd data/
mongodump
exit
docker cp aichatbotframework_mongodb_1:/data/dump .

Restore

docker cp dump aichatbotframework_mongodb_1:/data/
docker-compose exec mongodb bash
cd data
mongorestore --drop --db=iky-ai --dir=dump/iky-ai/
exit

Tutorial

Checkout this basic tutorial on youtube,

IMAGE ALT TEXT HERE

Watch tutorial on Fullfilling your Chatbot Intent with an API Call - Recipe Search Bot

Please visit my website to see my personal chatbot in action

Dependencies documentations

Todos

  • Write Unit Tests
  • Improve intent classification accuracy
  • Add parameter types
  • Migrate UI to React JS

Free Software, Hell Yeah!


Made with ❤️ at God's Own Country.

ai-chatbot-framework's People

Contributors

albertpaulp avatar alfredfrancis avatar gitter-badger avatar khaledmohammed000 avatar lesyk avatar michaelluk avatar noorafarooqi 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.