Elevate Your ChatGPT Game: Crafting an Effective Priming Prompt
?? Lee Gonzales
Engineering Director @ BetterUp - I build world class SaaS solutions & teams. Obsessed with GenAI, Agility, Strategy, Design, and Metacognition. AI Whisperer and Prompter.
This post is another in my continuing series of essays on building a toolchain for ChatGPT and other prompt-driven AI systems.
Are you ready to revolutionize your workflow with ChatGPT by creating a personalized toolchain and a library of power prompts that drive desired results?
In this essay, you will learn:
In software development, an effective toolchain and environment setup are vital to productivity and effectiveness. This is also true when leveraging ChatGPT.
When building out a toolchain for prompt engineering, consider creating and curating a library of commonly used, highly effective prompts. These prompts can be utilized for one-shot interactions or chained together in sequence to evolve the working space of tokens being submitted into the language model.
An extension of this idea is the development and curation of a personalized and purpose-built priming prompt that can be developed and evolved over time. This first prompt sets the initial conditions for interaction with the AI system. Simply put, a priming prompt is the first command given to the AI and establishes the initial context for all subsequent text (in the case of a one-shot interaction) or future interactions in the case of chat/interactive systems (such as ChatGPT).
In practice, the interactions with ChatGPT might look like this:
Key Prompt Engineering Principle: layer context and guidance to build a web of interacting concepts and directives from which your desired output can naturally emerge.??
What can you do with a priming prompt??
How well does this work? It is not perfect, as prompts are not deterministic programs, but using a toolchain like a priming prompt and a library of curated prompts will help you improve your prompt engineering over time and lead you to become more efficient in generating the desired output.
In my last post on this topic, I introduced the concept of a priming prompt similar to a .profile file you might use for configuring your terminal and command line. In the example at the top, there is a section that describes your writing style. Not everyone can easily or accurately describe their own writing style, especially with enough descriptiveness and precision to be effective.?
But, the more precise and specific you can make this section, the better your output will be, and the less editing you will have to do to get output useful for your purpose. So, the following will show you how to build a base version of those instructions to aid your future productivity and effectiveness using ChatGPT. For business writing, include any brand guidelines that describe your company's writing and communication style instead of your own. Noting it is useful to maintain multiple lists of writing styles to ensure that when you use ChatGPT or other GPT variants to help you write or improve your writing, you always start with a base context of guidance for the AI.
领英推荐
Noting it is useful to maintain multiple lists of writing styles to ensure that when you use ChatGPT or other GPT variants to help you write or improve your writing, you always start with a base context of guidance for the AI.
Key Prompt Engineering Principle: build and maintain a library of prompts that drive predictable desired outputs. Curate and experiment to find what works for your personal style and the AI you are working with.
Here are the instructions for generating your writing style rule set.
Further notes:
The exact detail of the prompts given above are required to get results that are similar to what I have found in testing these for my own use, and yours.?
While prompt engineering is more forgiving than regular programming (in some ways), it is stochastic in its results. I have found that as I build up “Prompts” I add each word sparingly as each serves a specific purpose, and each may predictably alter the output in a desired direction. Also note, shorter prompts often work better, so, if you choose to experiment with these prompts, and you should it is fun, keep them short and add new words/instructions incrementally as you experiment.?
In this specific example I have that a writing sample of 50-100 words may be sufficient for a basic analysis of the formality or informality of the tone, the simplicity or complexity of the vocabulary and sentence structure, and the presence or absence of certain literary devices such as satire or poetry. However, for a more thorough analysis of the persuasiveness, narrativity, or coherence of the writing, a writing sample of 100-200 words may be more appropriate.
For a comprehensive analysis of the tone and style of a piece of writing, including several attributes such as formality, informality, experimentation, journalism, conciseness, persuasiveness, narrativity, exposition, poetry, satire, traditionality, personalness, activeness, simplicity, persuasiveness, descriptiveness, narrativity, exposition, poetry, satire, formality, informality, experimentation, journalism, conciseness, detail, vividness, clarity, precision, flow, coherence, grammatical correctness, and structural soundness, a writing sample of 200 words or more may be necessary.
It is important to note that these are general guidelines, and the specific word count needed for an effective analysis of tone and style may vary depending on the complexity of the writing and the specific attributes being analyzed. More words may be helpful.?
As usual, YMMV. Good luck, and have fun!?
The prompt to help me do this:
Write me a detailed list of instructions with sample statements to execute for ChatGPT in to your writing style using ChatGTP for writing improvements using ChatGPT.
Engineering Director @ BetterUp - I build world class SaaS solutions & teams. Obsessed with GenAI, Agility, Strategy, Design, and Metacognition. AI Whisperer and Prompter.
1 年Jon Jenkins I'd love your feedback on this :-)