Skip to content

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.

Notifications You must be signed in to change notification settings

NadavIs56/AutoGPT-Telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

🧠💬🤖 AutoGPT-Telegram-bot

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..

Implemented using:


Do remember to star ⭐ the repository if you like what you see!

Star Badge GitHub stars


Features

  • 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.

Prerequisites

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'

How to use

  1. Clone the repository to your local machine: git clone https://github.com/NadavIs56/autogpt-telegram-bot.git

  2. Navigate to the project directory: cd autogpt-telegram-bot

  3. Configure the bot:

    • Obtain an API key from the OpenAI GPT API.
    • obtain an API key from the BotFater Telegram bot.
  4. python autoGPT_Telegram-bot.py

  5. Enter the Sudoku puzzle:

    • Provide 9 lines of input, each containing 9 digits separated by a space.
    • Press enter after each line.
  6. 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.

Contribution

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.

Acknowledgements

  • 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.

Do remember to star ⭐ the repository if you like what you see!


Made with ❤️ by Nadav Ishai

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages