Pensa Bot is a Discord chat bot powered by the GPT-2 model from Hugging Face. Start a conversation with it using the command !ask
followed by your query. This bot is designed to facilitate engaging and interactive discussions on your Discord server.
To start a conversation with Pensa Bot, use the command:
!ask What do you want to talk about?
Follow these instructions to set up and run Pensa Bot on your local machine for development and testing purposes.
Ensure you have the following installed:
- Python 3.8+
- pip
- Clone the repo:
git clone repo-url
- Navigate to the project directory:
cd pensa-bot
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the dependencies:
pip install -r requirements.txt
- Create a
.env
file in the root directory and add the required environment variables:DISCORD_BOT_TOKEN=your_discord_bot_token
Start the bot by running:
python bot.py
If you have any feedback, please reach out to me mail.
Use the command !ask
followed by your question or topic. For example:
!ask How's the weather today?
Pensa Bot uses the GPT-2 model from Hugging Face to generate responses.