Coder Social home page Coder Social logo

thiagobmg / 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 13.04 MB

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

License: MIT License

JavaScript 7.00% Python 37.00% TypeScript 33.51% CSS 3.60% HTML 12.94% Smarty 1.47% Dockerfile 1.00% SCSS 3.37% Procfile 0.09%

ai-chatbot-framework's Introduction

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. AI Chatbot Framework is an AI powered conversational dialog interface built in Python. With this tool, 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. AI Chatbot Framework 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 AI capabilities. With this boilerplate project you can create an AI powered chatting machine in no time.There may be scores of bugs. So feel free to contribute via pull requests.

Installation

Using docker-compose

docker-compose up -d

Using Helm

helm dep update helm/ai-chatbot-framework

helm upgrade --install --create-namespace -n ai-chatbot-framework ai-chatbot-framework helm/ai-chatbot-framework

# port forward for local installation
kubectl port-forward --namespace=ai-chatbot-framework service/ingress-nginx-controller 8080:80

Using Docker

# pull docker images
docker pull alfredfrancis/ai-chatbot-framework_backend:latest
docker pull alfredfrancis/ai-chatbot-framework_frontend:latest

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

# start iky backend
docker run -d --name=iky_backend --link mongodb:mongodb -e="APPLICATION_ENV=Production" alfredfrancis/ai-chatbot-framework_backend:latest

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

# start iky gateway with frontend
docker run -d --name=iky_gateway --link iky_backend:iky_backend -p 8080:80 alfredfrancis/ai-chatbot-framework_frontend:latest

without docker

  • Setup Virtualenv and install python requirements
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python run.py
  • Production
APPLICATION_ENV="Production" gunicorn -k gevent --bind 0.0.0.0:8080 run:app

Update Frontend Dist

  • Run Development mode
cd frontend
npm install
ng serve
  • Take Production build
cd frontend
ng build --prod --optimize

Heroku

Deploy

  • add your dev/production configurations in config.py

DB

Restore

You can import some default intents using following 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

Todos

  • Write Unit Tests
  • Multilingual Intent Classifier
  • PyCRFSuite to sklearn-crfsuite migration
  • Support follow up conversations

Dependencies documentations

Free Software, Hell Yeah!


ai-chatbot-framework's People

Contributors

alfredfrancis avatar alfredcogniwide avatar lesyk avatar hadifar avatar walkerp07 avatar abugra avatar albertpaulp avatar brianray avatar contextualist avatar georgepadayatti avatar jondekerh avatar michaelluk avatar khaledmohammed000 avatar adnanmuhib avatar noorafarooqi avatar gitter-badger avatar timgates42 avatar dependabot[bot] avatar marcoswca avatar tnodine avatar varatharaj-digiledge 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.