Skip to content

A basic repository template for Python Development in GitHub CodeSpaces

License

Notifications You must be signed in to change notification settings

benpaddlejones/myAIChatbot

 
 

Repository files navigation

My AI Chatbot

A web-based AI chatbot built with Python Flask and Bootstrap.

Description

An AI-powered chatbot that can have conversations with users. It responds to common questions and provides helpful information. Built as part of the TempeHS Computing Technology course.

Getting Started

Dependencies

  • Python 3.11+
  • Flask
  • ChatterBot
  • spaCy with en_core_web_sm model

Installing

  1. Clone the repository
  2. Create a virtual environment: python -m venv venv
  3. Activate it: source venv/bin/activate
  4. Install dependencies: pip install -r requirements.txt
  5. Download spaCy model: python -m spacy download en_core_web_sm

Executing program

source venv/bin/activate
python app.py

Then open http://localhost:5000 in your browser.

Testing

User Acceptance Testing Results

Tested on: February 2026 Tester: Student Name

Test ID Description Status
TC-001 Normal message response ✅ Pass
TC-002 Empty message handling ✅ Pass
TC-003 Message length validation ✅ Pass
TC-004 Crisis keyword detection ✅ Pass
TC-005 Disclaimer visibility ✅ Pass
TC-006 Message styling ✅ Pass

Summary: All 6 test cases passed. The chatbot meets all functional and non-functional requirements.

Help

Common issues:

  • If ChatterBot fails to load, ensure spaCy model is installed: python -m spacy download en_core_web_sm
  • If port 5000 is in use, the server will show an error. Stop other processes using that port.

Authors

Student Name
@studentusername

Version History

License

This project is licensed under the GNU GPL v3.0 License - see the LICENSE.md file for details

Acknowledgments

Inspiration, code snippets, etc.

About

A basic repository template for Python Development in GitHub CodeSpaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.4%
  • HTML 40.6%