Skip to main content

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

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.

Please enable Javascript to view this content

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…
ChatGPT o1 vs. o1-mini vs. 4o: Which should you use?
ChatGPT on a laptop

We're now into the third year of the AI boom, and industry leaders are showing no signs of slowing down, pushing out newer and (presumably) more capable models on a regular basis. ChatGPT, of course, remains the undisputed leader.

But with more than a half-dozen models available from OpenAI alone, figuring out which one to use for your specific project can be a daunting task.
GPT o1

Read more
ChatGPT vs. Perplexity: battle of the AI search engines
Perplexity on Nothing Phone 2a.

The days of Google's undisputed internet search dominance may be coming to an end. The rise of generative AI has ushered in a new means of finding information on the web, with ChatGPT and Perplexity AI leading the way.

Unlike traditional Google searches, these platforms scour the internet for information regarding your query, then synthesize an answer using a conversational tone rather than returning a list of websites where the information can be found. This approach has proven popular with users, even though it's raised some serious concerns with the content creators that these platforms scrape for their data. But which is best for you to actually use? Let's dig into how these two AI tools differ, and which will be the most helpful for your prompts.
Pricing and tiers
Perplexity is available at two price points: free and Pro. The free tier is available to everybody and offers unlimited "Quick" searches, 3 "Pro" searches per day, and access to the standard Perplexity AI model. The Pro plan, which costs $20/month, grants you unlimited Quick searches, 300 Pro searches per day, your choice of AI model (GPT-4o, Claude-3, or LLama 3.1), the ability to upload and analyze unlimited files as well as visualize answers using Playground AI, DALL-E, and SDXL.

Read more
​​OpenAI spills tea on Musk as Meta seeks block on for-profit dreams
A digital image of Elon Musk in front of a stylized background with the Twitter logo repeating.

OpenAI has been on a “Shipmas” product launch spree, launching its highly-awaited Sora video generator and onboarding millions of Apple ecosystem members with the Siri-ChatGPT integration. The company has also expanded its subscription portfolio as it races toward a for-profit status, which is reportedly a hot topic of debate internally.

Not everyone is happy with the AI behemoth abandoning its nonprofit roots, including one of its founding fathers and now rival, Elon Musk. The xAI chief filed a lawsuit against OpenAI earlier this year and has also been consistently taking potshots at the company.

Read more