...
/Advanced Techniques for Writing Prompts
Advanced Techniques for Writing Prompts
Boost ChatGPT's performance using advanced techniques and clear guidelines for increased accuracy and relevance.
Specific techniques and strategies can lead to greater performance when interacting with GPT models. This section introduces advanced techniques that can significantly improve the results we get from ChatGPT. Many of these techniques are inspired by the official documentation. Sometimes it is possible to use multiple techniques at once.
Give specific desires for response
The first advanced strategy is to give specific desires for how we want the model to respond. As powerful as GPT models are, they are not mind readers. They rely on the details provided in the prompts to generate the desired output. Explicit instructions regarding length, complexity, format, and content can make a significant difference to the model’s output.
Here are some strategies:
Persona adoption: Instructing the model to adopt a specific persona, such as a scientist, a historian, or a fiction writer, can shape the tone and content of the response.
Prompt |
Whenever I seek assistance in drafting a piece, your responses should embody a whimsical poet, infusing a touch of humor or playful rhymes in every stanza. Craft a letter of appreciation to my timber supplier for their prompt delivery, despite the short notice, enabling us to fulfill a crucial order. |
Use of delimiters: Clear markers or delimiters can help indicate distinct parts of the input, guiding the model in structuring its response.
Prompts |
Summarize the text delimited by triple quotes with a rap. """insert text here""" |
You will be presented with two essays (separated with HTML div tags) revolving around the same subject matter. Initially, condense the arguments presented in each essay. Subsequently, identify the essay that posits a stronger argument and elucidate why. <div> insert first essay here </div> <div> insert second essay here </div> |
You will be given with an abstract of a dissertation alongside a proposed title for it. The dissertation title should offer the reader a clear understanding of the dissertation's theme while also being engaging. If the title falls short of these standards, propose 5 alternate titles. Abstract: insert abstract here Title: insert title here |
Specifying task steps: For complex tasks, breaking down the steps required in the prompt can guide the model to generate more comprehensive and accurate responses.
Prompt |
Adhere to the subsequent step-by-step guidelines to address user inputs. Step 1 - I will give text surrounded in triple asterisks. Condense this text into a single sentence, prefaced with "Synopsis: ". Step 2 - Render the synopsis from Step 1 into French, prefaced with "Translation: ". ***insert text here*** |
Providing examples: Giving examples of the desired output in the prompt can help the model understand the expected format and content.
Prompt |
Answer in a consistent style. USER: Teach me about patience. ASSISTANT: The river that carves the deepest valley flows from a modest spring; the grandest symphony originates from a single note; the most intricate tapestry begins with a solitary thread. USER: Teach me about the ocean. ASSISTANT: |
Desired length: Explicitly stating the ...