Easy- Fast and Effective Technique

By Gencay

Published: 2024-06-28

URL: https://www.learnwithmeai.com/p/the-prompt-technique-that-will-make


\Created with Abidin Dino AI, to reach it, consider being Paid subscriber to LearnAIWithMehere\

Zero-shot learning, few-shot learning, Chain of Thought, and negative learning are some prompt techniques. But which one should you use? The magic lies in finding the perfect combination. But how can you know all of these?

As a developer of custom GPTs for industries like finance, HR, transportation, technology, and more, I’ve chatted with many industry leaders to create the perfect GPT for them. You need to know how to craft the best prompts to do that.

And guess what? After hundreds of feedback rounds, I know how to craft prompts by combining famous techniques and adding a little bit of my special touch! Let’s mention these prompt types and give you a perfect combination!

Note : The article includes a data project by just using prompts! ( Top 100 Night Clubs 2024)


What We Offer To Our Paid Subscribers?

You can reach the following Series, GPT, and Projects from the invited-only notion page after being a paid subscriber!

Check Out Our Series

  • Weekly AI Pulse: Get the latest updates as you read this.
  • LearnAI Series: Learn AI with our unique GPT and empower with this series.
  • Job Hunt Series: Discover freelance opportunities on Upwork.

Meet Our Special GPTs

  • LearnAIWithMe: Learn AI easily!
  • Prompt Perfector: Iterate your prompt to perfect!
  • Abidin Dino AI: Create images with a defined prompt!

Explore Our Projects:

  • Next-Gen Data Projects with ChatGPT: Boost your chances of landing a data-related job.
  • Life Longevity Factors: Gain insights into longevity, check.
  • Election Prediction: Gain insights into politics, check.

Data Analysis

Let’s say you’ll analyze this dataset, Top 100 Night Clubs 2024. You can reach out to it here.

Zero-shot Learning

You probably do this all day long. I bet 90%, even more than 90%, of ChatGPT users use zero-shot learning. This is the simplest technique, but are you sure you want to use it?

The results show that zero-shot learning is the less effective method for prompting, so why? Because you ask something from the LLM, here is an example;


Analyze the attached dataset.

Here is the output.

It is a very simple analysis.

Few-shot Learning

With this technique, you will give examples to the LLM so they can understand you better. That’s how it will classify your input better because it will have a good example.

That’s how we’ll tell him what the good result looks like. Let’s add up to our previous prompt.


Analyze the attached dataset.
Your output should look like this:

- Your data analysis, including subsections

- Codes

- Explanation of these codes

Here is the output.

But what is that? It continues; let’s see.

It has more analysis, but you get the idea, right? Can you observe how it changes from a simple prompt to a few-shot learning? If you are too lazy, at least use this method, and trust me, it will put you in the top %10 at least.

Chain of Thought

Chain of Thought prompting is one of the most important techniques. Because here, you will direct your LLM like a muppet. It will follow the instructions you give it and fulfill the chain after changing based on your instructions.


Analyze the attached dataset. Follow these steps:
1. First, data exploration will be performed by summarizing key statistics and identifying any missing values.
2. Next, create data visualizations to uncover patterns and relationships in the data.
3. Finally, data modeling is conducted by applying relevant algorithms to predict outcomes or categorize data points.
Execute each step one by one, and ask my approval before going to the next section.

Here is the output.

Negative Prompting

Now, we mentioned how you should give examples to the LLMs to ensure you get better results. But make sure telling what you want is as effective as telling what you don’t want.

That’s how you will limit the GPT between positive(good examples) and negative sides.(Bad examples, the thing you do not want). Let’s see!


Analyze the attached dataset. Your output should look like:
-A summary of key statistics (mean, median, mode, etc.)
-Identification of any missing values
-A list of any anomalies or outliers
However, avoid providing irrelevant details or excessive technical jargon.

Here is the output.

Here is the second part.

Now you did direct the GPT according to your instructions and it will follow you like your assistant as you can see.

Ultimate Combination

The ultimate combination will make you the best prompt engineer! Because, here you did train the GPT, with many do’s and don’ts and instruction.


Analyze the attached dataset. Follow these steps:
1. First, perform data exploration by generating a summary of key statistics and identifying any missing values.
2. Next, create data visualizations to uncover patterns and relationships in the data.
3. Finally, data modeling is conducted by applying relevant algorithms to predict outcomes or categorize data points.
Your output should look like this for each section(1 to 3)
-Title of the section
-Explanation of this section simple
-Code for this section
-A summary includes explanation of this code above step by step
Ask for my approval before continuing to the next section.
Do not output any irrelevant details or excessive technical jargon.

Here is the output.

Shor, concise,e yet very informative!

Final Thoughts

We used this combination here in Data Analysis, but trust me, you can use it anywhere. This will make the ChatGPT, Claude, or Gemini your best friend, and I bet you’ll use these techniques to crack your tasks in your job and fascinate your colleagues, too!

Thanks for reading and your support!