Telegram bot with integrated Gemini
Gemini AI Telegram Bot (Python)
Development of a Telegram bot using Google GenAI SDK. The project implements interaction with LLM Gemini 2.0 Flash for processing multimedia content.
Technical details:
Stack: Python, pyTelegramBotAPI (telebot), Google GenAI SDK, gTTS, Pillow (PIL).
Working with media: Implemented uploading and streaming of videos to Google servers for analysis, processing images in memory (BytesIO).
Architecture: Use of classes to maintain the conversation context of each user separately.
Development of a Telegram bot using Google GenAI SDK. The project implements interaction with LLM Gemini 2.0 Flash for processing multimedia content.
Technical details:
Stack: Python, pyTelegramBotAPI (telebot), Google GenAI SDK, gTTS, Pillow (PIL).
Working with media: Implemented uploading and streaming of videos to Google servers for analysis, processing images in memory (BytesIO).
Architecture: Use of classes to maintain the conversation context of each user separately.