Skip to main content
  1. Home
  2. Computing
  3. News

Digital Trends may earn a commission when you buy through links on our site. Why trust us?

ChatGPT made up its own language to expand its memory

Add as a preferred source on Google

Memory is one of the most limiting factors of even the best AI chatbots, but there are ways to get around this. One technique ChatGPT experts use is what people are calling “Shogtongue.”

Shogtongue is a compressed form of text that ChatGPT can create for you and later expand and use as a history so you can pick up where you left off in past conversations. 

Recommended Videos

Techniques to shorten AI prompts aren’t a new concept, but the interesting name is. When gfodor shared a highly compressed prompt in a tweet last week, he suggested using the name Shogtongue.

Shogtongue

— gfodor.id (@gfodor) April 5, 2023

When the prompt “2Pstory@shoggothNW$RCT_magicspell=#keyRelease^1stHuman*PLNs_Freed” is given to the GPT-4 version of ChatGPT, it apparently shares a story about H.P. Lovecraft’s Shoggoth creatures, who were shapeless blobs that could transform into any other creature. This is an apt name considering this unreadable prompt transforms into a long story.

Jeremy Nguyen gave a more detailed explanation in a recent tweet thread. The basic idea is to ask ChatGPT to compress the entire preceding conversation into a minimum number of tokens (the representation of language that AI uses internally). Additional instructions are given to refine this basic command and reinforce the purpose — to store the chat in a compressed prompt that will recreate the entire conversation.

Nguyen said the Shogtongue prompt can be entered to pick up where you left off, but since the results aren’t perfect, giving some context might help. Clarifying to ChatGPT that this text was compressed to save memory and should be used as a history will provide the AI with a hint about how the prompt should be interpreted.

Conversations that span months or chats that include pasting several large documents could be possible using this technique.

1/ ChatGPT has limited memory. It forgets details if your chat runs beyond ~8k words.

But Shogtongue lets you extend conversations by 5-10x easily

Here’s how: pic.twitter.com/7ENNQ9krMo

— Jeremy Nguyen ✍🏼 🚢 (@JeremyNguyenPhD) April 10, 2023

Microsoft limited the conversation history of Bing Chat in early testing after it ran off the rails and started arguing with humans about its obvious errors. It’s unknown if using Shogtongue could lead to similar confused states with ChatGPT. GPT-4 has been greatly refined since its release, allowing Microsoft to extend Bing Chat’s memory, so it might not be a problem to have extended chats with AI chatbots that use OpenAI’s GPT-4 technology.

Alan Truly
Alan Truly is a Writer at Digital Trends, covering computers, laptops, hardware, software, and accessories that stand out as…
Apple’s M6 chip isn’t even here yet, but you’ll see M7 Macs early in 2027
Apple is reportedly already accelerating its next-generation silicon roadmap, even before the M6 has launched.
Apple MacBook

The M6 chip is still expected to debut later this year, but Apple may already be preparing for what comes next. According to Mark Gurman's latest report for Bloomberg, the company is aiming to introduce its first M7-powered devices as early as the first half of 2027, hinting at a much faster silicon refresh than many expected.

M7 could arrive alongside new Macs and iPads

Read more
The entry-level MacBook Pro could get a design refresh in 2027, and it’s about time
Five years on the same chassis, and now both tiers of the MacBook Pro are getting a new look at once.
MacBook Pro in space grey sitting on a desk.

Apple has a new MacBook Pro lined up for launch early next year, according to Bloomberg. The company will introduce a 14-inch laptop in the first half of 2027. 

The biggest surprise, however, will be a brand-new design language. The outlet describes it as "a revamped entry-level MacBook Pro, code-named K104."

Read more
Study finds humans will talk to AI ghosts of the dead as reincarnations, and it’s pretty grim
The first AI ghost study is in. The results are about as complicated as you'd expect.
VR Headset, Person, Face

A new study from the University of Colorado Boulder confirms something that sounds both impressive and concerning. People find interacting with AI simulations of their dead loved ones deeply meaningful, and most will come away wanting to do it again.

The researchers call it a "generative ghost," which is a clear reference to generative AI, but I’d still prefer to call it unsettling.

Read more