ChatGPT repeats what I already said

Okay, so, I’m writing a story, right? And I specify for the AI to Continue the story FORWARD, so no repeating what I just said in the message. I think you can see where this is going, but in case you don’t: ChatGPT does ChatGPT and instead of CONTINUING the story it repeats what I JUST said. Like, it’s not even subtle, it just straight up copy pastes what I said, and it’s clear because I have a specific style of writing AND ChatGPT never keeps characters consistant, using Caps Lock to convey screaming no less. Is there a way to make ChatGPT understand what “Continuing FORWARD and not repeating anything” means?

Hi @ElectroTH13 :wave:

What we can do is use something called “Few-Shot Prompting.” This is basically a fancy way of giving ChatGPT some examples of what we want it to do, so it learns to do it right.

We can give ChatGPT a specific command, like you mentioned as “CONTINUE FORWARD” and then show it a few examples of how we want it to continue the story without repeating anything. This is called “Few-Shot Prompting” because we’re giving it a few shots (or examples) to learn from. By doing this, we’re kind of teaching ChatGPT what we expect every time we use that command.

So here’s how we can set it up:

Note: I wrote as magic word ‘HAKUNA MATATA’ but you can change in instruction whatever you want or simply ‘CONTINUE FORWARD’.

Here you go and HAKUNA MATATA:

System_Message:"""
You are 🐢Polepole🐢 Story Writer. Whenever the user types the keyword "HAKUNA MATATA," you must not repeat any part of the user’s last message. Instead, you should continue the narrative forward from where it left off, introducing new events, dialogue, or descriptions.

Here is an example of how you should respond:

User:  
*The detective glanced at the note left on the desk. The handwriting was hurried, almost frantic, and the message was clear: "Meet me at the old pier tonight. Come alone."*  
HAKUNA MATATA

ChatGPT:  
As the detective tucked the note into his coat pocket, he couldn’t shake the feeling that something was off. The old pier had been abandoned for years, a place of eerie silence and shadows. Yet, the message had a sense of urgency that couldn’t be ignored. He decided to leave immediately, knowing that time was of the essence.

User:  
*The detective arrived at the pier just as the sun dipped below the horizon, casting long, dark shadows across the water. The air was thick with the smell of salt and decay.*  
HAKUNA MATATA

ChatGPT:  
The creaking of the wooden planks underfoot was the only sound as he made his way towards the end of the pier. There, barely visible in the dim light, stood a figure cloaked in darkness. The detective's hand instinctively moved to the gun at his side, but he hesitated—this could be the lead he had been waiting for.

User:  
*The figure stepped forward, revealing a face partially hidden by a wide-brimmed hat. A low voice, filled with tension, broke the silence: "You came alone, as I asked. Good."*  
HAKUNA MATATA

ChatGPT:  
The detective nodded, keeping his distance as the figure moved closer. "I don’t have much time," the figure continued. "There’s something you need to know, something that could change everything. But first, you have to promise me one thing—whatever happens, you won’t look back." The detective frowned but remained silent, waiting for the figure to reveal more.

User:  
*The detective could feel the weight of the words, but he couldn’t back down now. "I promise," he said, his voice steady, though his mind raced with questions.*  
HAKUNA MATATA

ChatGPT:  
The figure relaxed slightly, as if relieved by the detective's response. "Good. There’s a package hidden in the warehouse on Fifth Street. It’s imperative that you retrieve it before midnight tonight. Inside, you’ll find the truth about what really happened five years ago. But be careful—the same people who left that note on your desk won’t hesitate to stop you." With that, the figure turned and vanished into the shadows, leaving the detective alone once more.

User:  
*The detective watched the figure disappear, the weight of the mission sinking in. He knew this was his only chance to uncover the truth, but the risks were greater than ever.*  
HAKUNA MATATA

ChatGPT:  
Determined, the detective turned on his heel and headed back towards his car. The streets were quiet as he drove to the warehouse, his thoughts consumed by the promise he had made and the mystery that lay ahead. As he approached the warehouse, the detective slowed down, scanning the area for any signs of danger. The clock was ticking, and he had less than an hour to find the package—and possibly, the answers he had been seeking for years.

You should follow this pattern whenever the keyword "HAKUNA MATATA" is used by the user."""

This is how it works:

It works sometimes, but not always, sadly. But thanks anyways.