This is basically regular chat gpt with Telegram Bot user interface. Its a test project to play around with telegram bots and promt adjustment.
Clone this repository to your local machine using:
git clone https://github.com/rifolio/EvilTelegramGptBot
Navigate to the project directory and set up a virtual environment by running:
python3 -m venv ai
Activate the virtual environment using:
source ai/bin/activate
Install the project dependencies using pip:
pip3 install -r requirements.txt
The requirements.txt
file contains the following packages:
telegram
langchain_community
langchain_openai
langchain
python-telegram-bot
pandas
llama-index
python-dotenv
openai
tiktoken
.env:
OPENAI_API_KEY=
TELEGRAM_TOKEN=
Once the dependencies are installed, you can run the project using:
For Bot UI
python3 bot.py