Giter VIP home page Giter VIP logo

ai-chatbot-framework's Introduction

IKY

An AI Chatbot framework built in Python

IKY is an AI based conversational dialog interface built in Python. It can be used to create Natural language conversation scenarios with zero coding effort.The simple web UI makes it very easy to create and train your conversations. Iky's API can be used to integrate with any channel of your choice such as Messenger,Slack etc. This is a very basic project so you can start building on it.It may contain lots of bugs,please free to contribute via pull requests.

Installation

  • 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

Docker

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

OR

docker-compose build
docker-compose up -d

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

That's it.

Creating and Training your stories

Navigate to http://localhost:8001

Tutorial

Checkout this basic tutorial on youtube,

IMAGE ALT TEXT HERE

Please visit my website to see my personal chatbot in action

NLTK

See NLTK documentation

SKlearn

See SKLearn documentation

CRFsuite

See CRFsuite documentation

See python CRfSuite

Todos

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

License

MIT

Free Software, Hell Yeah!


Made with ❤️ at God's Own Country.

ai-chatbot-framework's People

Contributors

alfredfrancis avatar khaledmohammed000 avatar michaelluk avatar noorafarooqi 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.