In this tutorial I explain how to add external memory to the Telegram AI bot using FlowiseAI and Zep. With memory sessions you’re able to run multiple conversations with the same FlowiseAI chatflow and keep separate conversation histories.
Download the Telegram AI bot memory sessions workflow for n8n here: https://github.com/workfloows/workflo...
🤖 Other tutorials about building Telegram AI bot:
1. How to build Telegram AI bot with n8n and 🦜🔗 LangChain (FlowiseAI): • How to build Telegram AI bot with n8n...
2. How to build voice Telegram AI bot with n8n, Whisper and ElevenLabs: https://workfloows.gumroad.com/l/tele...
In this tutorial I cover:
1. Installing Zep on VPS
2. Adjusting FlowiseAI chatflow to use Zep memory
3. Setting firewall rules to avoid connection errors with Zep
4. Using „sessionId” parameter of Zep memory in n8n
5. Advantages of using Redis as database for Telegram bots
Resources:
1. Deploying Zep using docker-compose: https://docs.getzep.com/deployment/qu...
2. Commands to add firewall rules: https://pastebin.com/raEwtqgq
3. Redis Cloud: https://redis.com/redis-enterprise-cl...
My other tutorials:
1. Web scraping data with n8n and Puppeteer: • Web scraping data with n8n and Puppeteer
2. Generate PDFs in n8n with Gotenberg (for free!): • Generate PDFs in n8n with Gotenberg (...
3. How to auto-backup n8n workflows to GitHub: • How to auto-backup n8n workflows to G...
4. Using webhooks in n8n (parameters, responses and triggers): • Using webhooks in n8n (parameters, re...
Create your n8n cloud account here (affiliate): https://app.n8n.cloud/register?ref=wo...
Subscribe my newsletter: https://workfloows.com/
Visit my Gumroad profile: https://workfloows.gumroad.com/
Follow me on Twitter/X: / workfloows
Follow Workfloows on LinkedIn: / workfloows
Screen recording software that I use (affiliate): https://www.screen.studio/@jmMwX
0:00 Demo (memory sessions in Telegram)
1:48 Step 1: Install Zep
2:56 Step 2: Configure FlowiseAI chatflow
4:37 Step 3: Configure firewall rules
5:30 Step 4: Test memory sessions
8:08 Step 5: Add Telegram credentials
8:49 Step 6: Add Redis credentials
11:07 Database speed comparison
12:25 Step 7: Configure n8n workflow
17:34 Final result
18:32 Build voice chatbot
Смотрите видео Adding memory sessions to Telegram AI bot with FlowiseAI and Zep онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Oskar 27 Июль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,50 раз и оно понравилось 13 людям.