Why it matters

Short-term memory enables coherent multi-turn. Bounded to fit context.

Advertisement

The architecture

Store per-session history.

Bound by tokens or turns.

Include in prompt.

Short-term memoryStoresession historyBoundtokens or turnsIncludein each promptSession in Redis or in-memory; bounded to fit context window
Short-term memory.
Advertisement

How it works end to end

Redis or in-mem.

Bounded by turn count.

Summarize when full.