OpenAI’s Best Practices For Using GPT Software

The OpenAI’s new website GPT Best Practices provides six strategies and tactics to maximize the effectiveness of Generative Pre-trained Transformers (GPTs) like ChatGPT-4. The information provided is very detailed with many technical suggestions. The key message of OpenAI’s best practices guide is that while GPTs are always capable of generating intricate, human-like text, user input and guidance are vital to attain the best outcomes. The better prompts you make, the better answers GPT will provide. Success in large part depends on you.

AI Android looking pensively in mirror
Image: Losey & Midjourney

This blog will summarize the six main strategies outlined by OpenAI, plus Midjourney images I made for your entertainment. ChatGPT-4, web-browsing pro version, helped me to write this, so did my WordPress software. It is all one big hybrid, multimodal, ediscovery.team effort.

Best Practices to Add an AI to Your Team, Image: Losey & Midjourney
Best Practices to Add an AI to Your Team, Image: Losey & Midjourney

Here is a synopsis of the six fundamental strategies provided by OpenAI for obtaining optimal results from GPTs:

  1. Write clear instructions: The AI cannot infer user intent, hence the need for clarity. If users require shorter responses, they should ask for brevity. For more technical outputs, they should request expert-level writing. If a particular format is desired, the user should demonstrate that format. Essentially, the clearer the instructions, the more accurate the GPT’s output.
  2. Provide reference text: GPTs can sometimes fabricate answers, especially when dealing with complex or unfamiliar topics. Providing reference texts can help guide the GPT to produce more accurate and reliable responses.
  3. Split complex tasks into simpler subtasks: GPTs are better at handling simpler tasks, which have lower error rates. A complex task can be broken down into a series of simpler tasks, with the output of earlier tasks used to construct the inputs for subsequent ones.
  4. Give GPTs time to “think”: GPTs can make errors when required to provide instant responses. Asking for a chain of reasoning before an answer can help GPTs reason their way to more accurate conclusions.
  5. Use external tools: To compensate for GPTs’ limitations, the outputs of other tools can be utilized. For instance, a text retrieval system can inform GPTs about relevant documents, and a code execution engine can assist GPTs in math and code execution. If a task can be done more reliably or efficiently by another tool, it should be offloaded to that tool.
  6. Test changes systematically: To improve GPT performance, any changes made to a prompt should be tested systematically. A modification might improve performance in some instances but worsen it in others, so it’s crucial to test these changes across a range of examples.
These strategies can be implemented through specific tactics, each tailored to the particular strategy, Image: Losey & Midjourney

These strategies can be implemented through specific tactics, each tailored to the particular strategy, Image: Losey & Midjourney

  1. For writing clear instructions, tactics include providing important details in your query, asking the model to adopt a persona, using delimiters to distinguish different parts of the input, specifying the steps required to complete a task, providing examples (known as “few-shot” prompting), and specifying the desired output length.
  2. When providing reference text, include sufficient additional context or source material for the GPT to understand the reference.
  3. To split complex tasks into simpler subtasks, the approach is to break down the task into a workflow of smaller, more manageable tasks.
  4. For giving GPTs time to “think”, the article suggests asking the AI for a chain of reasoning before providing an answer, allowing it to work out a more accurate response.
  5. In using external tools, the idea is to use the outputs of other tools to complement the abilities of the GPT. For instance, a text retrieval system or a code execution engine can be used to augment the GPT’s abilities.
  6. For testing changes systematically, the suggestion is to develop a comprehensive test suite, also known as an “eval”, to measure the impact of modifications made to prompts.
Give your AI time to think things through, Image: Losey & Midjourney
Give your AI time to think things through, Image: Losey & Midjourney

The bottom line of the information provided here is that although GPTs are capable tools, the quality of their output depends on: the clarity of the instructions they receive; sufficient context to any reference text provided; the ability to decompose complex tasks into simpler ones; having the time to “think”; the use of external tools when necessary; and, the systematic testing of changes. If you learn to use these strategies and tactics, you can significantly enhance the effectiveness of your interactions with all of OpenAI’s GPT models.

Make Sure Your Instructions Are Clear, Image: Losey & Midjourney
Make Sure Your Instructions Are Clear, Image: Losey & Midjourney

Conclusion

Implementing the strategies and tactics suggested by OpenAI can help users get the most out of ChatGPT. OpenAI should have provided these instructions months ago. Many of the complaints made by users about the accuracy, relevance and quality of outputs could have been avoided by better inputs. Same goes for many of the bad experiences endured by users, including the GPT hallucinations. Basically OpenAI is invoking the old computer saying, “Garbage In, Garbage Out.”

GIGO, Image: Losey & Midjourney
GIGO, Image: Losey & Midjourney

I hope we see many more instructions like this from Open AI in the coming months. In the meantime, there are hundreds of software hackers who have attained some level of prompt engineering skills and are already sharing their prompting tips. I have even ventured into this territory by sharing some of my more interesting prompt experiments, such as: Prompting a GPT-4 “Hive Mind” to Dialogue with Itself on the Future of Law, AI and Adjudications; and ChatGTP-4 Prompted To Talk With Itself About “The Singularity”.

AI is still a long way from "The Singularity". Image: Losey & Midjourney
AI is still a long way from “The Singularity”. Image: Losey & Midjourney

As OpenAI points out, the Six Strategies and Tactics they provide can be used in a variety of ways. It all depends, as lawyers love to say, on the particular use case. It also depends on the capabilities of the particular GPT model you use. There are already many variations, with 3.5 being the first and weakest.

As always I encourage everyone to go hands-on with this. Hack around with this new software yourself. Of course, be extremely careful in its use for all client work, especially if you are a lawyer or other professional with client confidential information. Same holds true for your own personal information. Be sure you know the latest GPT privacy settings of the particular software you are using. They vary considerably by type and time. Legal ethics and common sense require this. They also require that you verify very carefully all of the output of GPT, especially in these early days. Your trust level should be low and skeptical level high.

Emerge and Be "Hands" On, But Remain Vigilant, Image: Losey & Midjourney
Emerge and Be “Hands” On, But Remain Vigilant, Image: Losey & Midjourney

So go ahead, experiment and adapt these six strategies to suit your needs and requirements. Just remember it may seem like you are dealing with a great savant here, but ChatGPT is, at this stage at least, an Idiot-Savant. Just a child really, but with a big vocabulary. Even with top quality prompts, it is prone to forgetfulness, memory limitations, hallucinations, outright errors, ethics jailbreaks, and many other humanlike foibles. It may seem like a genius in a box, but it is not. It is more like a bottom of the class law student that somehow sounds smarter than he is, especially to non-experts. Still, he did somehow get into law school and might even be able to pass your state’s Bar Exam.

See my blog for many articles about ChatGPT’s many unique foibles. Finally, note my e-Discovery Team blog now has a handy new, easy to remember HTML address – EDISCOVERY.TEAM. Yup, team is a domain name and you don’t have to remember to put a hyphen between the e and d. Yes, we humans are prone to forgetfulness too.

Best Efforts Are Diverse Team Efforts, Including an AI Team Member, Image: Losey & Midjourney
Best Efforts Are Diverse Team Efforts, Including an AI Team Member, Image: Losey & Midjourney

Ralph Losey Copyright 2023. – ALL RIGHTS RESERVED. Published on edrm.net and jdsupra.com with permission.

Author

  • Ralph Losey

    Ralph Losey is an arbitrator, special master, Generative AI experimenter, GPT maker, writer and attorney. He is a partner in LOSEY PLLC, a high tech law firm with three Loseys and clients across the country. The Losey firm handles projects, deals, IP, and litigation all over the U.S. Get in touch at https://www.losey.law. All opinions expressed here are Ralph's own, and not those of his firm or clients. No legal advice is provided on this web and should not be construed as such. Ralph has long been a leader of the world's tech lawyers. He has presented at hundreds of legal conferences and CLEs around the world. Ralph has written over two million words on e-discovery and tech-law subjects, including seven books. Ralph has been involved with computers, software, legal hacking and the law since 1980. Ralph has the highest peer AV rating as a lawyer and was selected as a Best Lawyer in America in four categories: Commercial Litigation; E-Discovery and Information Management Law; Information Technology Law; and, Employment Law - Management. Ralph is the proud father of two children, Eva Losey Grossman, and Adam Losey, a lawyer (he founded Losey, PLLC) with incredible cyber expertise (married to another cyber expert lawyer, Catherine Losey, co-founder of Losey PLLC), and best of all, Ralph is the husband since 1973 to Molly Friedman Losey, a mental health counselor in Winter Park.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.