community-automations/telegram-supabase-memory

Kinh doanh & CRM

PublicSubagent Claude

Telegram + Bộ nhớ Supabase

Hầu hết chatbot đều quên sạch mọi thứ ngay khi bạn cuộn qua đoạn chat cũ, khiến người dùng cứ phải nhắc đi nhắc lại. Lớp bộ nhớ này giúp bot Telegram của bạn ghi nhớ lâu dài bằng cách nhúng từng tin nhắn và lưu vào Supabase với pgvector.

sonnet4 ngàyTelegram Bot APISupabasepgvectorClaude
ClaudeClaude
ROI for
README.md

Tại sao chọn subagent này

Hầu hết chatbot đều quên sạch mọi thứ ngay khi bạn cuộn qua đoạn chat cũ, khiến người dùng cứ phải nhắc đi nhắc lại. Lớp bộ nhớ này giúp bot Telegram của bạn ghi nhớ lâu dài bằng cách nhúng từng tin nhắn và lưu vào Supabase với pgvector.

Khi ai đó đặt câu hỏi mới, hệ thống sẽ truy xuất những tin nhắn cũ liên quan nhất và đưa vào làm ngữ cảnh. Bot nhớ được những gì bạn đã nói từ tuần trước, và bộ nhớ cứ lớn dần theo từng cuộc trò chuyện thay vì bị xoá trắng.

Cách vận hành

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

Ví dụ đầu ra

json
// Sample output
// (generated when the pipeline finishes)

Answer using the retrieved memories below; if a memory conflicts with the new message, trust the newest one.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.