AI engineering glossary · Prompt context engineering

What is rolling summary?

Rolling summary (also called Conversation summarisation): A running short summary of earlier conversation that the model updates as new turns arrive and sends along with recent messages. It keeps key facts alive while using far fewer tokens than the full history.

Level: intermediateTopic: Prompt context engineering

Rolling summary: an example

After 30 turns, the prompt holds a 150-word summary plus the last 4 messages.

Related terms

More Prompt context engineering terms

Where you learn it

Rolling summary is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.