Why your AI forgets what it just said — and how to stop it

31 Oct. 2024 - - Total Reads 1,334

Digital Agency Melbourne

Context Collapse

Why your AI forgets what it just said — and how to stop it

At first, your AI tool seems brilliant. It handles user questions, continues the conversation naturally, and even references earlier parts of the chat. But then… it slips. It repeats itself. It forgets something the user said just two steps ago. Or worse — it contradicts itself entirely. Welcome to one of the most common and frustrating AI limitations: context collapse.

Large language models (LLMs) like GPT-4 or Claude operate within a defined context window — a fixed token limit (i.e., a cap on how much “conversation” they can remember). For GPT-4-turbo, this is currently around 128,000 tokens — which seems large, but that’s the max size of both prompt and response combined. For many real-world use cases, especially in multi-turn conversations or long documents, that space fills up fast.

Once the window is full, older messages get trimmed or dropped. And when that happens, the model forgets — because it literally no longer has access to that part of the conversation. The result? Confused outputs, repeated questions, and broken logic that damages user trust.

Why It Matters

In enterprise settings — where users expect continuity and professionalism — these moments can kill credibility. A legal AI tool forgetting clause 5.2? A sales assistant repeating a price already quoted? That’s not just annoying, it’s a deal-breaker.

How to Fix It

To handle context collapse, you need to build a memory strategy outside the model itself. Here are the common approaches:

1. Summarisation Layer

As the conversation grows, periodically summarise past messages into a concise format and feed that back into the prompt. This maintains continuity without overloading the token window

2. Chunked Context Retrieval (RAG)

Use embeddings (e.g., from OpenAI or Cohere) to convert past interactions into searchable vectors. Retrieve only the most relevant history based on the current query — this is called Retrieval-Augmented Generation (RAG).

3. Token Budgeting

Create a token-budgeting system to include only the most recent or relevant messages. This is especially useful in real-time apps where performance matters.

4. External State Management

Maintain state in your application — know what the user has done, what actions have been triggered, and what should persist across sessions.

Bottom Line

LLMs don’t forget because they’re flawed — they forget because they’re capped. And if you don’t engineer memory into your AI app, that forgetfulness becomes your problem. The good news? With the right architecture, you can maintain conversational continuity and scale with confidence.

Need help building AI that remembers what matters? AndMine has solved this across multiple enterprise platforms — let’s make your AI smarter, longer.

Michael Simonetti, BSc BE MTE
Posted by:

Post Reads: 1.3K

Share this

Go on, see if you can challenge us on "Why your AI forgets what it just said — and how to stop it" - Part of our 183 services at AndMine. We are quick to respond but if you want to go direct, test us during office hours.

Add Your Comment

Trusted by

The Canberra Times
Grainshaker
Australian Physiotherapy Association
Toni&Guy
Viktoria & Woods
Max’s
CB Richard Ellis
Tribe
Movember
Schiavello
Garmin
interact logo
Elucent
Maxine
Palace Cinemas
skillhire logo
Microsoft Certified Azure Fundamentals
University of South Australia
Mamma Lucia
Oracle
Cronos Australia
Naturtint
ACTUATE IP
Federation Square
Tek Ocean
McArthur Skincare
Hairhouse Warehouse
Jalna
Melbourne Sports and Aquatic Centre – MSAC
Xavier
Cell Therapies
Novvi
mas national logo
Ello
Coles
The Royal Melbourne Hospital
Street Kitchen
Hanover
Appstore
SunSense Digital Agency
Watches of Switzerland
Mark Alexander Design
Associated Press
Toy World
Unsw Australia
Magento Solution Specialist
Banki Haddock Fiora
TPP
Australian Government
Castran Gilbert
21st Century Australia Party
High Street Armadale
NMI Insurance
Positive Poster
Tomorrow Stars Basketball
French Tables
ATT logo
Rock Pool Group
MAP
NGS Super
nextgenskills logo
Passage To India
Aqium Gel
Mecca Brands
Heat Holders
DeeWhy Market
Oakdale Meat Co
Macmillan Publishing
Adobe Professional
Telstra
Federation University Australia
Van Egmond Group
Uber
Carlton Football Club
Eway
News
liberal
findstaff logo
Thomson Geer
Passage Foods
Herbert Smith Freehills
Cooper Mills
Bolle Safety
Royal Freemasons
Craft CMS
Vendor Advocacy Australia
BlackMores
Cleanfit
Engineers Without Borders
Globird
Melrose Health
Etihad Stadium
Melbourne Heart
Moov Head Lice
Taylor Rose
Fresh Cheese Company
learning partners logo
Rackspace
National Relay Services
WTFN
National Museum of Australia
White Suede
Tassal
GooglePlay
Crumpler
CAN- Common Wealth Bank
intowork logo
Australian Organic Food CO
GPT Group
Windsorsmith
Melbourne Central
SMH – The Sydney Morning Herald
Engine Swim
James Buyer Advocates
Instant RockStar
Madman Entertainment
intojobs logo
Ebay
The Burger Cheese
Marshall White
King Wood Mallesons
Matchbox Homewares
Drupal
Beaumont
Wild Rhino Shoes
Plants
Atlantic Group of Companies
Parker Lane
Rydges
POSTER Magazine
Melrose MCT
VISSF
One Shift
131 Pizza
Macpherson Kelley
DUSA, Deakin University Student Association
Amino Active
Scrum.org
Sunday Creek
Grow Your Business
Dinosaur Designs
Vitura Health
Google
The University Of Melbourne
Bank of Cyprus
OMS – Order Management System
Kay&Burton
ctc logo
Boston Consulting Group
Gilbert+Tobin
Fit My Car
QV Skincare
ABC
Sports Power
Australian Anthill
Forbes
Shell
CCI
Bostik
Fast.co
Metricon
Fairfax Media
work and training logo
PranaOn
Think & Grow Rich Inc
ISO Certified
help logo
Dial Before You Dig
Magento
itfe logo
Ego Pharmaceuticals
Jetstar
kestrel logo
Bondi Sands
Loan Market
Gadens
ISO CERTIFIED 27001
Inferflora
Paypal
Brisbane Times
Peter Mac
htn logo
ADP Payroll
Kadac
LBG Australia and New Zealand
MyAccount
Green St Juice CO
OpenAI
Chia
Bigcommerce
Bulk Nutrients
Arthur Galan
NextTech
Natralus Australia
Celebrate Health
nara logo
Grays Ecommerce
Bintani Australia
SwinBurne University of Technology
Focus On Furniture
Launtel
RMIT University
Switzer Media+Publishing
The Age
The Fortune Institute
HGG 
Victorian Government
Corrs chambers westgarth
Florsheim Shoes
Ubertas Group
iPrimus
aga logo
Catholic Insurance
Arc One
Smart Company
OJAY
Acquia Certified Site Builder Drupal
AC/DC

Testimonials

Not only is Michael professional but he is also a great friend to have in your court. He is balanced in his advice, fair in his quotes and has the best twitter feed for all things tech - i highly recommend you follow him and also hire him! Clare Smith, GM – Brand & Marketing Communications at Sensis

More Testimonials
AndMine-Google-Partner-Signature