community-automations/telegram-supabase-memory

銷售與 CRM

PublicClaude 子代理

Telegram + Supabase 記憶

大多數聊天機器人一關視窗就把一切忘得精光,使用者只好反覆重講。這個功能透過將每則訊息轉為向量並儲存到 Supabase 的 pgvector,為你的 Telegram 機器人帶來持久的記憶。

sonnet4 天Telegram Bot APISupabasepgvectorClaude
ClaudeClaude
ROI for
README.md

為什麼選擇此子代理

大多數聊天機器人一關視窗就把一切忘得精光,使用者只好反覆重講。這個功能透過將每則訊息轉為向量並儲存到 Supabase 的 pgvector,為你的 Telegram 機器人帶來持久的記憶。

當有人提出新問題時,它會找出最相關的過往訊息,作為上下文回傳。機器人能記得你上週說過的話,記憶也會隨著每次對話不斷累積,而不是每次歸零。

運作方式

    • 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.

輸出範例

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.