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

31 Oct. 2024 - - Total Reads 2,135

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.1K

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

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

Testimonials

It is great working with such a dedicated and competent team in this ever changing space and I would highly recommend Michael and his work. Stephanie Clayton, Marketing Services Manager, Ego Pharmaceuticals

More Testimonials
AndMine-Google-Partner-Signature