A telegram chatbot built with Chatterbot Python library. The bot trains itself with a pre-computed data set from ChatterBot Corpus to engage in a converstaion. The bot stores the chat sqlite3 database named db.sqlite3 and uses this to train/imporve itself.
- chatterbot==1.0.0
- chatterbot-corpus
- pyTelegramBotApi
Step 1
root@pc:~# git clone https://github.com/Tropes-Ot/Telegram-ChatBot.git
root@pc:~# pip3 install requirements.txt #listed above
Step 2
- Create Telegram Bot
- Disable Group Privacy
- Get the bot API key and set in the init.py
Step 3
root@pc:~# python3 __init__.py
- Start converstion with bot