Skip to content

Perhaps this is the best bot in the world, or not. Who's to say, really? It's all just ones and zeros having a good time!

Notifications You must be signed in to change notification settings

Daniil-Pankieiev/Telegram_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot with OpenAI Integration

This project involves developing a Telegram bot in the Python programming language using the aiogram library and integrating with OpenAI.

The bot's functionality allows users to choose a specific number of available locations and fill out a checklist, which includes uploading photos and adding comments. After completing the checklist, the bot leverages the capabilities of OpenAI to analyze and process the gathered information, resulting in the creation of a detailed report. This report is automatically sent to the user, enabling them to receive structured information about their choices and interactions with the bot.

Features

  • Checklist Completion: Users can fill out checklists, including uploading photos and comments.

  • OpenAI Integration: The bot integrates with OpenAI to analyze and process the collected data.

  • Detailed Reports: The application automatically generates detailed reports based on the analyzed information.

  • Automatic Report Delivery: Reports are automatically sent to the user, streamlining the communication process.

  • Structured Information: Users receive structured information regarding their choices and interactions with the bot.

Getting Started

Prerequisites

  • Python 3.8 or higher
  • Telegram API Token
  • OpenAI API Token

Installation

  1. Clone the repository:
https://github.com/Daniil-Pankieiev/The_Best_Telegram_Bot.git
  1. Create and activate the virtual environment:

On macOS and Linux:

python3 -m venv venv
source venv/bin/activate

On Windows:

python -m venv venv
venv\Scripts\activate
  1. Install the necessary dependencies:
pip install -r requirements.txt
  1. Copy .env.sample to .env and populate it with all required data.

  2. Run the bot:

On macOS and Linux:

python3 main.py

On Windows:

python main.py

Contributing

Feel free to contribute to these enhancements, and let's make our Telegram Bot even better!

Conclusion

Thank you for using the Telegram Bot!

About

Perhaps this is the best bot in the world, or not. Who's to say, really? It's all just ones and zeros having a good time!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages