Giter Site home page Giter Site logo

yhjohn163 / ai-chatbot-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfredfrancis/ai-chatbot-framework

0.0 2.0 0.0 12.54 MB

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

License: MIT License

Makefile 0.44% Python 48.82% Dockerfile 0.58% TypeScript 27.90% JavaScript 5.86% HTML 10.62% CSS 5.77%

ai-chatbot-framework's Introduction

IKY

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

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

Using docker-compose (Recommended)

docker-compose build
docker-compose up -d
docker-compose exec iky_backend python manage.py init

Using Docker

# build docker images
docker build -t iky_backend:2.0.0 .
docker build -t iky_gateway:2.0.0 frontend/.

# start a mongodb server
docker run --name mongodb -d mongo:3.6

# start iky backend
docker run --name=iky_backend --link mongodb:mongodb -e="APPLICATION_ENV=Production" iky_backend:2.0.0

# setup default intents
docker exec -it iky_backend python manage.py init

# start iky gateway with frontend
docker run --name=iky_gateway --link iky_backend:iky_backend -p 8080:80 iky_gateway:2.0.0

without docker

backend

  • Setup Virtualenv and install python requirements
make setup

make run_dev

source venv/bin/activate && python manage.py init
  • Production
make run_prod

frontend

  • Development
cd frontend
npm install
ng serve
  • Production
cd frontend
ng build --prod --environment=python

serve files in dist/ folder using nginx or any webserver

Heroku

Deploy

  • add your dev/production configurations in config.py

DB

Restore

You can import some default intents using follwing steps

Screenshots

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

Todos

  • Write Unit Tests
  • PEP-8 compliance
  • Word2Vec Integration
  • NLTK to Spacy migration
  • PyCRFSuite to sklearn-crfsuite migration
  • Support follow up conversations

Dependencies documentations

Free Software, Hell Yeah!


Made with ❤️ at God's Own Country.

ai-chatbot-framework's People

Contributors

adnanmuhib avatar albertpaulp avatar alfredfrancis avatar brianray avatar contextualist avatar georgepadayatti avatar gitter-badger avatar hadifar avatar jondekerh avatar khaledmohammed000 avatar lesyk avatar marcoswca avatar michaelluk avatar noorafarooqi avatar tnodine avatar walkerp07 avatar

Watchers

 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.