Kütüphane / Sohbet Botları ve Mesajlaşma Botları
Sohbet Botları ve Mesajlaşma Botları
Gemini ile Telegram Metin ve Sesli Mesajlarını Yanıtlama
Bir Telegram metin veya sesli mesajı geldiğinde, ses OpenAI tarafından yazıya dökülür ve bir Gemini aracısı yanıtı yazar.
Ne yapar
## Processing Telegram Messages: This section handles incoming messages from Telegram. It first checks if the message contains text. 1. Text Message: If the message includes text, it's directly routed to the analysis switch node. 2. Audio Message: If the message is an audio file: * The audio file is downloaded. * The audio is transcribed into text. * The transcribed text is then sent to the analysis switch node. Finally, the analyzed text (whether directly from a text message or transcribed from audio) is forwarded for further processing based on the analysis results.
Adımlar
- AI Agent
- Google Gemini Chat Model
- Recieve Telegram Message
- Check For Text or Voice Message
- Download Audio File
- Transcribe Audio File
- If Voice Message
- Code to remove unwanted characters from LLM response
- Code to split output into chunks under 4000 characters
- Respond to Telegram Message
- Wipe Conversation Memory
- Store Conversation Memory
- Set prompt to start a new speech
- Set prompt to generate a speech based on the feedback
Toplam 16 adım.
Benzer otomasyonlar
Sohbet Botları ve Mesajlaşma BotlarıTelegram Sorularını Gemini ve OpenAI Ajanıyla Yanıtlama17 adımSohbet Botları ve Mesajlaşma BotlarıGive AI astrology readings via chat and Telegram with RoxyAPI, Gemini, OpenAI and Claude58 adımSohbet Botları ve Mesajlaşma BotlarıGemini ile Telegram Ajanı Üzerinden Kort Rezervasyonu Yap9 adımSohbet Botları ve Mesajlaşma BotlarıGemini ile Telegram'da üniversite takvimi ve SSS botu53 adım