Prompt Engineering Process Using Key Elements
Prompt Engineering Process Using Key Elements
Important Elements
● Task Mandatory More Importan
● Context
● Exemplar Important
● Persona
● Format
● Tone Nice to have
Optional
Reason for higher to lower Importance
● If we give task alone to GPT it will still give something useful as an output but
if dont give task and only input Context, the output will be meaningless to us.
Note
Our Prompt will be combination of blocks mentioned in previous slide. It’s not
necessary that we need every block of element in our prompt.
#1 Task
● Always start the Task sentence with an Action Verb.
● Eg - Generate, Give, Analyze, Summarize, Write etc, for us, these can be -
analyze the product information, categorize the Product to a particular
category, generate confidence for each category
Using GPT to finalize the final Task
● Conversation Link -
https://chat.openai.com/share/2b59a21e-4d70-45a2-b8e9-ffd160a79117