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

31 Oct. 2024 - - Total Reads 2,253

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: 2.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 184 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

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

Testimonials

I wanted to thank you and your teams for the responsiveness and quality of the work you have done for the french version of the site. We had a very good feedback on the quality of the site from our French network. Vincent Berlinet

More Testimonials
AndMine-Google-Partner-Signature