Çoğu chatbot, pencere kaydığı an her şeyi unutur; bu yüzden kullanıcılar sürekli kendini tekrar eder. Bu katman, her mesajı gömerek ve pgvector ile Supabase'te saklayarak Telegram botunuza kalıcı bellek kazandırır.
sonnet4 günTelegram Bot APISupabasepgvectorClaude
Claude
84ROI
73Scale
$3.6k92Saved
ROI for
README.md
Bu otomasyon neden işinize yarar
Çoğu chatbot, pencere kaydığı an her şeyi unutur; bu yüzden kullanıcılar sürekli kendini tekrar eder. Bu katman, her mesajı gömerek ve pgvector ile Supabase'te saklayarak Telegram botunuza kalıcı bellek kazandırır.
Biri yeni bir soru sorduğunda en ilgili geçmiş mesajları çeker ve bağlam olarak geri besler. Bot geçen hafta söylediğinizi hatırlar ve bellek sıfırlanmak yerine her sohbetle büyümeye devam eder.
Nasıl çalışır
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.
Yeni bir soruda, benzerlik aramasıyla en ilgili geçmiş mesajları getirir.
pending
Getirilen anıları ve son turları bağlam olarak modele besler.
pending
Belleğin her konuşmayla büyümesi için yeni alışverişi kaydeder.
pending
Örnek çıktı
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.