Skip to content

Formula for a good prompt

A good prompt has the following

  1. Context – The background in which the requisition is being made
    1. Example. I am trying to help my kid with his exam preparation
  2. Specific Information – Include more details on specifics of the final aim
    1. Example. He is in 10th grade CBSE. The subject of the exam is Physics and it includes the topics of Light, motion and force
  3. Intent – The purpose of the the request
    1. Example. I would like to generate questions related to the topics so that he can practice before the exam. The questions should be of objective type with  4 answer choices. Only one should be correct
  4. Response Format – The template that the generated response should follow
    1. Example. List out the questions in the following format. <Topic Name> <Question text> <Choice 1> <Choice 2> <Choice31> <Choice 4> <Correct Choice>

Full Prompt

I am trying to help my kid with his exam preparation. He is in 10th grade CBSE. The subject of the exam is Physics and it includes the topics of Light, motion and force. I would like to generate questions related to the topics so that he can practice before the exam. The questions should be of objective type with  4 answer choices. Only one should be correct

List out the questions in the following format. <Topic Name> <Question text> <Choice 1> <Choice 2> <Choice31> <Choice 4> <Correct Choice>

Zero Shot Prompting

Scenario 1

As a software engineer, you would like to know the basics of Object Oriented technologies. 

One Shot Prompting

Scenario 1

As a software engineer, you would like to know the basics of object oriented technologies. You would like to get specific information like

  1. History
  2. First use in a programming language
  3. Why is it popular

Few Shot Prompting

Scenario 1

As someone wanting to use OOPS in a project, ask chat GPT to give you the best way to apply the concepts in your project.

Assume that the project is about creating a mobile app that allows people to track their expenses.