Use This Prompting Trick To Improve ChatGPT’s Performance
Unlock the full potential of ChatGPT with this simple trick

As a powerful and versatile language model, ChatGPT from OpenAI has the ability to engage in complex debates on a wide range of topics. However, to truly showcase its analytical capabilities and produce deep and thought-provoking responses, a trick can be employed to elicit more detailed and structured answers.
The trick is to include a request for ChatGPT to generate a hierarchical table of contents before providing the answer. This causes the AI to carefully analyze the structure of the issue at hand and organize its thoughts in a logical manner, much like a human writer would create an outline to plan and organize their ideas before composing an essay or speech.
Empirically, asking for a table of contents seems to greatly enhance ChatGPT’s ability to write coherent long-form essays. See the following example.
Here is an example of the “table of contents” trick in action
Step 1: Enter this prompt
You are at the world debate championship. The motion of the debate is “This house supports universal income for all citizens”. The coalition are in favor of the motion. Think about arguments in favor of the motion, using a hierarchical table of contents that classify the arguments to at least 3 topics, then write the speech of the coalition. Then do the same for the opposition, who should argue against the arguments of the coalition.
In response to the prompt, ChatGPT produced the following impressive outline - a hierarchical table of contents classifying arguments into topics and subtopics.

Step 2: Enter this prompt
Now write the speech of the coalition, and the speech of the opposition. Start with the words “Ladies and gentlemen
Now GPT3 writes the full text of the speeches, based on the outline it has written in the last step - producing coherent, structured long-form arguments for both sides.

Bonus Trick
As an advanced bonus trick, you can visualize the table of content as a graphical chart, by prompting ChatGPT for a mindmap in MermaidJS format, and pasting the result in https://mermaid.live/. Here is the result for the coalition speech:

For more information on how to create mindmaps and other kinds of charts with ChatGPT, see this thread on X.
The Shift, in your inbox
Occasional essays on AI, cloud, and the systems shaping what comes next. Subscribe on LinkedIn — no spam, unfollow anytime.
Keep reading
When You Control the Model, You Control Information
In an iconic episode of Seinfeld, the scheming mailman Newman declares with a gleeful smirk, “When you control the mail, you control information.” His…
The Skynet Moment Looms with ChatGPT
Proposed Moratorium on AI Development: A Futile Effort to Contain the Inevitable
Using ChatGPT for Question Answering on Your Own Data
With The Amazing Power of Embeddings and Vector Search