The Bot is a simple Telegram Bot written in Python. It uses the pyTelegramBotAPI to communicate with the Telegram API. The Bot also uses OpenAi's GPT-3 API to generate answers for the questions.
- Clone the repository
git clone https://github.com/prajjwalkumarpanzade/TelegramBot.git
- Install the requirements
pip install -r requirements.txt
- Create a Telegram Bot and get the API Token @BotFather
- Create Bot Commands
/start - Start the Bot
/ai - Ask the Bot a Question
/stream - Stream the Answer
/help - Get Help
- Create a OpenAi API Key OpenAi
- Create a .env file and add the API Token and the API Key
- Run the Bot
python run.py