How to give memory to Large Language Models?

Опубликовано: 27 Июль 2026
на канале: Vizuara
1,476
46

============================================================

Our live courses starting from January 2025 (taught by IITians and MIT PhDs): https://vizuara.ai/spit/

============================================================

In this video, we learn how to give memory to LLMs using LangChain

In particular, we learn about 3 techniques:

(1) Using a Conversation Buffer
(2) Using a Conversation Buffer Window
(3) Using Conversation Summary (my favorite)

LangChain links:

https://python.langchain.com/v0.1/doc...
https://python.langchain.com/v0.1/doc...
https://python.langchain.com/v0.1/doc...

Code link: https://colab.research.google.com/git...

============================================================

(1) Hands on LLM playlist link (this video belongs to this playlist):    • Hands on Large Language Models  

(2) LLM from scratch playlist link:    • Building LLMs from scratch  

(3) Build Neural Networks from scratch playlist link:    • Building Neural Networks from Scratch  

(4) ML Teach by Doing playlist link:
   • Machine Learning: Teach by Doing  

Register for our live course starting from January 2025: https://vizuara.ai/spit/

============================================================

✉️ Join our FREE Newsletter: https://vizuara.ai/our-newsletter/