معظم بوتات الدردشة تنسى كل شيء لحظة انجراف النافذة، فيُكرّر المستخدمون أنفسهم باستمرار. هذه الطبقة تمنح بوت Telegram لديك ذاكرة دائمة عبر تضمين كل رسالة وتخزينها في Supabase مع pgvector.
معظم بوتات الدردشة تنسى كل شيء لحظة انجراف النافذة، فيُكرّر المستخدمون أنفسهم باستمرار. هذه الطبقة تمنح بوت Telegram لديك ذاكرة دائمة عبر تضمين كل رسالة وتخزينها في Supabase مع pgvector.
وحين يسأل أحدهم سؤالاً جديداً، تسحب أكثر الرسائل السابقة صلةً وتُغذّيها كسياق. فيتذكّر البوت ما أخبرته به الأسبوع الماضي، وتظلّ الذاكرة تنمو مع كل دردشة بدل إعادة الضبط.
كيف يعمل
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.
عند سؤال جديد، يسترجع أكثر الرسائل السابقة صلةً عبر بحث التشابه.
pending
يُغذّي الذكريات المسترجَعة إضافةً إلى الأدوار الأخيرة في النموذج كسياق.
pending
يحفظ التبادل الجديد فتنمو الذاكرة مع كل محادثة.
pending
نموذج للمخرجات
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.