- Cyber Corsairs 🏴☠️ AI Productivity Newsletter
- Posts
- 🏴☠️ 6 expert tips for enhanced GPT results
🏴☠️ 6 expert tips for enhanced GPT results
Guide Based on OpenAI’s Blog

Ahoy!
Struggling with AI? Our comprehensive guide on prompt engineering with GPT based on OpenAI’s Blog offers strategies for success.
We provide simple and effective methods to improve the efficiency of GPT models.
1. Write Clear Instructions
Clarity is crucial, and direct and precise instructions lead to better responses.
Include detailed queries for relevance.
Ask the model to adopt a specific persona.
Use delimiters for clear input separation.
Specify step-by-step task completion instructions.
Provide examples for context.
State the desired output length.
Offer reference texts for accuracy.
EXAMPLES:
How do I add up a row of dollar amounts in Excel? I want to do this automatically for a whole sheet of rows with all the totals ending up on the right in a column called "Total".
Summarize the meeting notes in a single paragraph. Then write a markdown list of the speakers and each of their key points. Finally, list the next steps or action items suggested by the speakers, if any.
2. Provide Reference Text
Guiding with Knowledge Equip GPT with the correct information for precise answers.
Direct the model to answer using the provided texts.
Instruct the model to include citations from the reference texts.
EXAMPLE:
You will be provided with a document delimited by triple quotes and a question. Your task is to answer the question using only the provided document and to cite the passage(s) of the document used to answer the question. If the document does not contain the information needed to answer this question then simply write: "Insufficient information." If an answer to the question is provided, it must be annotated with a citation. Use the following format for to cite relevant passages ({"citation": …}).
"""<insert document here>"""
Question: <insert question here>
3. Split Complex Tasks into Simpler Subtasks
Simplifying Complexity Break down tasks for better accuracy and efficiency.
Use intent classification for relevant instruction identification.
Summarize or filter long dialogues in dialogue applications.
Summarize long documents piecewise and construct a full summary recursively.
EXAMPLE:
You will be provided with customer service inquiries that require troubleshooting in a technical support context. Help the user by:
- Ask them to check that all cables to/from the router are connected. Note that it is common for cables to come loose over time.
- If all cables are connected and the issue persists, ask them which router model they are using
- Now you will advise them how to restart their device:
-- If the model number is MTD-327J, advise them to push the red button and hold it for 5 seconds, then wait 5 minutes before testing the connection.
-- If the model number is MTD-327S, advise them to unplug and replug it, then wait 5 minutes before testing the connection.
- If the customer's issue persists after restarting the device and waiting 5 minutes, connect them to IT support by outputting {"IT support requested"}.
- If the user starts asking questions that are unrelated to this topic then confirm if they would like to end the current chat about troubleshooting and classify their request according to the following scheme:
<insert primary/secondary classification scheme from above here>
I need to get my internet working again.
Click below to check out the newsletter I'm reading: 👇
4. Give Models Time to 'Think'
Deliberation Enhances Quality Allowing GPT-4 time to process leads to more reliable answers.
Instruct the model to work out its solution first.
Use an inner monologue or a sequence of queries to guide reasoning.
Ask the model to review its previous responses.
EXAMPLE:
First work out your own solution to the problem. Then compare your solution to the student's solution and evaluate if the student's solution is correct or not. Don't decide if the student's solution is correct until you have done the problem yourself.
Problem Statement: I'm building a solar power installation and I need help working out the financials.
- Land costs $100 / square foot
- I can buy solar panels for $250 / square foot
- I negotiated a contract for maintenance that will cost me a flat $100k per year, and an additional $10 / square foot
What is the total cost for the first year of operations as a function of the number of square feet.
Student's Solution: Let x be the size of the installation in square feet.
1. Land cost: 100x
2. Solar panel cost: 250x
3. Maintenance cost: 100,000 + 100x
Total cost: 100x + 250x + 100,000 + 100x = 450x + 100,000
5. Use External Tools
Leveraging Additional Resources Enhance GPT-4’s capabilities with external tools.
Implement embeddings-based search for efficient knowledge retrieval.
Use code execution for precise calculations or to call external APIs.
Give the model access to specific functions.
EXAMPLE:
You can write and execute Python code by enclosing it in triple backticks, e.g. ```code goes here```. Use this to perform calculations.
Find all real-valued roots of the following polynomial: 3*x**5 - 5*x**4 - 3*x**3 - 7*x - 10.
6. Test Changes Systematically
Consistent Evaluation for Improvement Regular testing ensures sustained enhancement of performance.
Check model outputs against gold-standard answers to measure accuracy.
EXAMPLE:
You will be provided with text delimited by triple quotes that is supposed to be the answer to a question. Check if the following pieces of information are directly contained in the answer:
- Neil Armstrong was the first person to walk on the moon.
- The date Neil Armstrong first walked on the moon was July 21, 1969.
For each of these points, perform the following steps:
1 - Restate the point.
2 - Provide a citation from the answer which is closest to this point.
3 - Consider if someone reading the citation who doesn't know the topic could directly infer the point. Explain why or why not before making up your mind.
4 - Write "yes" if the answer to 3 was yes. Otherwise, write "no".
Finally, provide a count of how many "yes" answers there are. Provide this count as {"count": <insert count here>}.
Each strategy helps you achieve the most effective and efficient use of GPT. Experimentation and adaptation are key to finding the best methods for you.
Start applying these strategies today. Experience the transformative capabilities of GPT in your projects.
Click below to check out the newsletter I'm reading: 👇

Microsoft has released the Copilot App for smartphones! The Copilot app, first available for Android phones, is now ready to use on iPhones and iPads. Here’s why this is exciting:
With Copilot, you're getting the most advanced version of GPT-4. And without any subscription fees.
Copilot handles it all. You can ask questions, draft emails, and summarize texts.
Get a creative boost by tapping into your creative side with DALL-E 3 integration. It allows you to generate images from text.
Copilot isn't a just rebranded Bing Chat. It offers a unique, standalone experience like ChatGPT but with more features.
Copilot is available across all platforms. It's for Android, Apple, and the web too.
Unlike other AI services, Copilot does not need a subscription
👇Click below to Download Microsoft Copilot for FREE👇
Click below to check out the newsletter I'm reading: 👇
Please use these 6 ChatGPT Prompting Strategies. For optimal readability, open it on your PC.

I will send you additional useful AI guides and tips in the upcoming emails.
Click below to check out the newsletter I'm reading: 👇
👇 Speak Your Mind 👇Chart Our Course With Your Feedback! |
Stay curious, stay ravenous. For the greatest treasures are yet hidden! 🍺