Prompt Engineering

Creating and editing content - Md. Tariqul Islam

What is prompt engineering?

Generative artificial intelligence (AI) systems are designed to generate specific outputs based on the quality of provided prompts. Prompt engineering helps generative AI models better comprehend and respond to a wide range of queries, from the simple to the highly technical.

Prompt engineering is the process of refining prompts that a person can input into a generative artificial intelligence (AI) service to create text or images. Anyone can do this using natural language in generators like ChatGPT or DALL-E. It's also a technique that AI engineers use when refining large language models (LLMs) with specific or recommended prompts. 

For example, if you're using ChatGPT to brainstorm a professional summary while refining your resume, you might write a command like, “Write a sample professional summary for a marketing analyst.” You might prompt ChatGPT’s response with feedback like “too formal” or “shorten to less than 100 words.” You can do the same for text-to-image models like DALL-E.

Details: IBM


Prompting Progress: We'll All Speak AI In The Future Workforce

Robin Li, the co-founder and CEO of Chinese AI giant, Baidu, declared in January that “in ten years, half of the world's jobs will be in prompt engineering, and those who cannot write prompts will be obsolete.” 

Details...


I want to get my Job Done With less Input and More Output


Our Prompt is Like the Confusing WiFi Password 😄😄😄


Prompt engineering examples

Here are a few examples of prompt engineering to give you a better understanding of what it is and how you might engineer a prompt with a text and image model.

For text models like ChatGPT:

For image models like DALL-E: 

The 6 Prompt Components

Task

Context

Exemplars

Persona

Format

Tone


Context                 Task       (Task is main)                                                        

I am 70kg male. Give me a 3-month training program.