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

31 Oct. 2024 - - Total Reads 1,335

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

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

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