İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Sohbet Botları ve Mesajlaşma Botları

Sohbet Botları ve Mesajlaşma Botları

OpenAI ile Telegram mesajlarını yanıtla ve Supabase'de bağlamı hatırla

Gelen Telegram mesajlarını OpenAI kullanarak yanıtlar; bot konuşma bağlamını koruyabilsin diye kullanıcı geçmişini Supabase'e kaydeder ve oradan alır. Her Telegram mesajı geldiğinde çalışır.

Ne yapar

, allowing the bot to maintain continuity and context in conversations, leading to a more human-like and engaging experience. This Telegram bot template connects with OpenAI to answer user queries while storing and retrieving user information from a Supabase database. The memory component ensures that the bot can reference past interactions, making it suitable for use cases such as customer support, virtual assistants, or any application where context retention is crucial.

Adımlar

  1. Get New Message
  2. OPENAI - Create thread
  3. Create User
  4. Merge
  5. OPENAI - Send message
  6. OPENAI - Run assistant
  7. OPENAI - Get messages
  8. Send Message to User
  9. If User exists
  10. Find User

Benzer otomasyonlar