Develop a OpenAI powered Telegram Bot using Python.
We use python-telegram-bot package to build a bot.
It can be installed by executing following command on terminal.
pip install python-telegram-bot
Official openai package is used to connect with OpenAI API.
It can be installed by executing following command on terminal.
pip install openai
We can get a API key for OpenAI from following link: https://platform.openai.com/account/api-keys
You can learn more about python-telegram-bot and openai api with examples from following links.
https://github.com/python-telegram-bot/python-telegram-bot/wiki