AutoGPT Telegram Bot is a Python-based chatbot developed for a self-learning project. It leverages the power of OpenAI's GPT language model to answer user questions and maintain conversation history for more accurate responses..
- Seamless integration with Telegram: The bot interacts with users through the Telegram messaging platform, allowing them to ask questions and receive automated responses.
- OpenAI GPT integration: By leveraging the OpenAI GPT API, the bot generates accurate and context-aware responses to a wide range of user queries.
- Conversation history: The bot keeps track of previous messages to maintain context and provide more coherent and relevant replies.
- Data serialization: The program utilizes the pickle module for efficient and secure data serialization, enabling the storage and retrieval of conversation history.
- Simple and beginner-friendly: The project is designed to be straightforward, making it accessible to beginners in Python programming and natural language processing.
Before running the bot, make sure you have the following dependencies installed:
- Python 3.x
- pickle library: Install using pip install 'pickle'
- openai library: Install using pip install 'openai'
- telebot library: Install using pip install 'telebot'
-
Clone the repository to your local machine: git clone https://github.com/NadavIs56/autogpt-telegram-bot.git
-
Navigate to the project directory: cd autogpt-telegram-bot
-
Configure the bot:
- Obtain an API key from the OpenAI GPT API.
- obtain an API key from the BotFater Telegram bot.
-
python autoGPT_Telegram-bot.py
-
Enter the Sudoku puzzle:
- Provide 9 lines of input, each containing 9 digits separated by a space.
- Press enter after each line.
-
Start a conversation with the bot on Telegram and ask your questions. The bot will respond with generated answers based on the OpenAI GPT model, taking into account the conversation history to provide relevant replies.
If you have any ideas, improvements, or bug fixes, please submit a pull request. Your contributions can help enhance the project and make it even more valuable for users.
- The AutoGPT Telegram Bot project utilizes the OpenAI GPT language model, a powerful tool for generating human-like text.
- Special thanks to OpenAI for providing the GPT API and to the developers of the telebot library for simplifying Telegram bot integration.