Skip to content

JacobS703/Charles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Chatbot

This is a chatbot that uses ChatterBot for basic conversation and GPT-2 for more advanced responses.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/my-chatbot-repo.git
    cd my-chatbot-repo
  2. Ensure you have Python 3.8.19 installed. You can use pyenv to manage Python versions on Unix-like systems, or follow the instructions to set up Python on Windows.

  3. On Unix-like systems, you can use the provided setup script to create a virtual environment:

    ./setup.sh
    source venv/bin/activate
  4. On Windows, you can use the provided setup script to create a virtual environment:

    setup.bat
    venv\Scripts\activate
  5. Install the required libraries:

    pip install -r requirements.txt
  6. Alternatively, you can install dependencies using poetry:

    poetry install
  7. Run the chatbot:

    python chatbot.py

Usage

Start the conversation by typing a message and pressing Enter. The bot will respond to your input. You can provide feedback on the bot's responses and help it learn by suggesting better responses.

Type 'bye', 'exit', or 'quit' to end the conversation.

About

A Simple Python Based Chatbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published