GithubHelp home page GithubHelp logo

aau-chatbot's Introduction

AAU Chatbot

AAU Chatbot (Abebech) is a chatbot application powered by natural language processing and machine learning. It provides a simple and intuitive interface for users to interact with a chatbot that can understand and respond to their queries.

Overview

This project consists of two main components:

  1. Chatbot Engine (engine/): This part of the project contains the backend logic responsible for understanding user messages and generating appropriate responses. It uses machine learning models and natural language processing techniques to achieve this.

  2. Web Interface (web/): The web interface provides users with a platform to interact with the chatbot. It includes the frontend components built with HTML, CSS, and JavaScript.

Getting Started

Follow these steps to get the project up and running on your local machine:

Prerequisites

Before you begin, ensure you have the following dependencies installed:

  • TensorFlow: You can install TensorFlow using pip with the following command:

    pip install tensorflow
    
  • NLTK (Natural Language Toolkit): NLTK is used for natural language processing tasks. You can install it with:

    pip install nltk
    
  • Flask-RESTful: Flask-RESTful is used to create the API. Install it with:

    pip install flask-restful
    
  • Flask-CORS: Flask-CORS is used for enabling cross-origin resource sharing. Install it with:

    pip install flask-cors
    
  • OpenAI Python: OpenAI Python is used to communicate with the GPT-3 model. You can install it with:

    pip install openai
    
  • python-dotenv: The python-dotenv library is used for managing environment variables. Install it with:

    pip install dotenv
    

Project Structure

The project is structured as follows:

  • engine/: Contains the backend logic for the chatbot engine.

    • data/: Intents and other data files are stored here.
    • models/: Saved models, class and word pickle files are stored here.
    • server.py: Flask RESTful API for the chatbot.
    • chatbot.py: Response generation for the API.
    • train.ipynb: Jupyter Notebook for training and saving the model (optional).
  • web/: Contains the web interface for user interaction.

    • HTML, CSS, JS, and other frontend files are located here.

Usage

To use the AAU Chatbot, follow these steps:

  1. Install the required dependencies as mentioned in the Prerequisites section.

  2. Start the Flask server for the chatbot engine:

    cd engine
    python server.py
    
  3. Open the web interface by accessing the HTML files in the web/ directory using a web browser.

  4. Interact with the chatbot by typing your queries and receiving responses.

Contributing

Contributions to this project are welcome. If you have any ideas or improvements to suggest, please open an issue or create a pull request.

Acknowledgments

  • Special thanks to the open-source community :D

Screenshots

GIF

aau-chatbot's People

Contributors

abdulmunimjemal 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.