Need help with ai-chatbot-framework?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

alfredfrancis
1.5K Stars 624 Forks MIT License 378 Commits 18 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

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 (Recommended)

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

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 migrate

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

  • Setup Virtualenv and install python requirements ```sh make setup

make run_dev

source venv/bin/activate && python manage.py migrate

* Production
sh make run_prod ``` * Open http://localhost:8080/

Update Frontend Dist

  • Run Development mode
    sh
    cd frontend
    npm install
    ng serve
    
  • Take Production build
    sh
    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 follwing steps

  • goto http://localhost:8080/agent/default/settings
  • click 'choose file'
  • choose 'examples/default_intents.json file'
  • click import

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
  • Multilingual Intent Classifier
  • PyCRFSuite to sklearn-crfsuite migration
  • Support follow up conversations

### Dependencies documentations * SKLearn documentation * CRFsuite documentation * python CRfSuite

Contributors

Free Software, Hell Yeah!


Made with :heart: at God's Own Country.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.