2.2 · Lesson

Short-Term Memory

In the previous lesson, you learned why short-term memory is necessary — without it, every prompt reaches the Go to glossary for large language model (opens in a new tab)A model trained on text to predict the next token, and so to generate language. cold, with no knowledge of what came before.

In this lesson, you will learn how short-term memory is modeled as a graph, what Full definition for property (opens in a new tab)A named value stored on a node or a relationship. each message Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. stores, and what the library does automatically when you add a message.