Please note javascript is required for full website functionality.

Blog

AI Blog: Advanced Prompting Part 2

16 May 2025

Welcome back to our AI blog.  Today, we will have a deep dive into Few-shot prompting, which can help you effectively interact with AI tools and get the expected results. 

After reading Part 1, you will now have the basic idea that instead of asking AI a question with zero [0] or one [1] example(s), few-shot prompting gives the model a small set of examples to better understand the task.

Great!  Choosing the right prompt technique is a good starting point for generating the ideal response.  

Few-shot Prompting can help us in several ways in the real world, such as:

  • Information extraction
  • Content creation
  • Language translation
  • Code generation
  • Conversational scenarios.

Here are some tips to maximise its effectiveness:

1. Choose relevant examples: use examples closely aligned with your target task

2. Incrementally increase complexity: start simple and then introduce complexity to build AI understanding    

3. Highlight differences: show both “ideal” and “less ideal” outputs to refine AI’s understanding    

4. Limit examples: avoid overwhelming the model; focus on quality over quantity

5. Consistency in formatting: maintain consistent formatting to ensure clarity and minimise ambiguity

In summary:

Next time, let’s talk about another effective technique--- Prompt chaining!

Newsletter