Project

AI Chatbot

About

Summary

Meet Alfred, the AI chatbot that learns and answers questions about anything. Just give him a piece of text and watch him learn!

Installation & Usage

Github Repo

# You will need to have Python 3 and Pip installed

$ git clone https://github.com/ianramzy/ai-chatbot.git

$ cd ai-chatbot

$ pip install -r requirements.txt

# Paste desired text into alfred-knowledge-base.txt

$ python3 alfred.py

Inspiration

With an estimated 30% of all online interactions through chatbots, automated interactions are the future. I wanted to build a bot that could take in any piece of text and then answer questions about it.

What It Does

Alfred will train and learn from any text file you provide and then let your query him about the text. When you ask a question he will search for similar concepts in the text and then look for a statement structure to extract and return. In essence he learns a text and lets you ask questions about it!

Technologies

The application is built in python using NLTK.

Future Ideas & What's Next

I would like to refine the capabilities of Alfred as well as develop a web application surrounding the technology. Specifically I would like to make improvements on the current level of entity linking present.

Another project by Ian Ramzy