Giter Club home page Giter Club logo

wagzai's Introduction

<img src="assets/images/wagzai.webp" width="400" height="400" ="center"/>

Pet Chatbot

This is a simple chatbot for providing information about pets. The application is built using Flask and leverages a simple natural language processing (NLP) function to generate responses.

Features

  • Simple web interface to interact with the chatbot.
  • Provides information about various pets.
  • Built with Flask and a custom NLP processing module.

Requirements

  • Python 3.9+
  • Flask
  • Transformers (for NLP processing)

Installation

  1. Clone the repository:

    git clone https://github.com/gconcepcion/wagzai.git
    cd wagzai
  2. Set up the virtual environment and install dependencies:

    Using Poetry:

    poetry install

    If you are using venv and pip:

    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt

Running the Application

  1. Run the Flask application:

    If you're using Poetry:

    poetry run python wagzai/wagz.py

    If you're using a virtual environment:

    source venv/bin/activate
    python pet_chatbot/app.py
  2. Open your web browser and navigate to:

    http://127.0.0.1:5000
    

You should see the home page of the pet chatbot application.

Testing

To run the tests, you can use:

Using Poetry:

poetry run pytest

Using a virtual environment:

source venv/bin/activate
pytest

Project Structure

wagzai/
├── wagzai/
│   ├── __init__.py
│   ├── wagz.py
│   ├── nlp.py
│   ├── wagzai/
│   │   ├── __init__.py
│   │   └── wagz.py
│   ├── data/
│   │   └── pet_info.json
│   └── templates/
│       └── index.html
├── tests/
│   ├── __init__.py
│   ├── test_app.py
│   └── test_nlp.py
├── pyproject.toml
├── README.md
└── requirements.txt

License This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Contributing Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.

Contact For any questions or issues, please contact [email protected]

wagzai's People

Contributors

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