Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The 6 Elements of A Remarkable GenAI Prompt

Vishal Kataria
July 17, 2024
30

The 6 Elements of A Remarkable GenAI Prompt

In this deck, you will get:

1. A crash course on terms like AI, ML/DL, and GPT.
2. The 6 elements that make an effective GenAI prompt (with examples and an exercise at the end).
3. Tips on how you should use AI in your life.

Vishal Kataria

July 17, 2024
Tweet

Transcript

  1. OVERVIEW Crash Course on Basic AI terms 6 Elements of

    a Good Prompt The Role of AI in your Life
  2. ARTIFICIAL INTELLIGENCE • Machines displaying human-like intelligence. • Intelligence is

    the ability to estimate the next step based on a series of factors. • Machines have evolved from displaying static intelligence (in a specific field) to dynamic intelligence (in varied fields).
  3. MACHINE LEARNING • Computers learn from algorithms to make decisions

    or predictions. • Examples include email spam filters and Netflix recommendations.
  4. DEEP LEARNING • A subset of ML that uses many

    layers of artificial neural networks (hence “deep”) to model complex patterns. • Examples include voice assistants, facial recognition and self-driving cars.
  5. NATURAL LANGUAGE PROCESSING • A computer learns to understand and

    communicate like a human. It’s how computers can understand what we write/say despite grammar, sentence construction, and other issues. • It occurs through the rules of language, statistical models, and ML and DL.
  6. GENERATIVE PRE-TRAINED TRANSFORMER • A type of Large Language Models

    (LLMs) that are pre- trained on massive amounts of data and can generate novel human-like content. • As of today, most LLMs have this characteristic.
  7. TASK + CONTEXT TASK: • Start with a verb (Create,

    Generate, Craft, Design, Give) • Clearly articulate your end-goal. • Give 1 task at a time so you can track the output. CONTEXT: • What’s the user background? • What does success look like? • What environment are you in?
  8. "I work from 9 AM to 7 PM, Monday to

    Friday. Create a balanced weekly schedule that allows me to exercise, spend time on self-development, and enjoy leisure.” PROMPT ___________________________________________________________________________________________________________________________________ __________________________________________________________________________________________________________________________ ____________ ____________________________________________________________________________________________________________ [context] [task]
  9. “Give me a format for a blog post on overcoming

    procrastination. Use the below content as a reference: (paste content or upload Word doc, pdf, or csv file) • Giving examples improves the output of prompts. • Not mandatory. EXAMPLES _____________________________________________________________________________ __________________________________ [example]
  10. “You are a career coach with 15 years experience. Tell

    me what career I can pursue. My interests are reading, writing, and gaming.” •Who you want the GenAI to be? •Injured? Physiotherapist with 20 years experience. •Entrepreneur? Ex-McKinsey consultant with 15 years experience. PERSONA _______________________________________________________________________________________________________________________ [persona]
  11. “I have received this lengthy report. Study it and give

    me 3 key takeaways first, followed by a summary. Use separate headings for each new point in the summary.” • What do you want in the end-result? • Can be email, bullet-points, code block, paragraph, track changes… FORMAT [format]
  12. CHATGPT SUGGESTS • Professional and Collaborative • Friendly and Approachable

    • Inspirational and Motivational • Casual and Enthusiastic • Supportive and Encouraging “I have joined as the head of a creative team in a content marketing firm. I want to write an email to them that ensures I’m taken seriously, but I don’t want to sound strict. Can you give me five tones I can use for such an email?”
  13. PROMPT “I have joined as the head of a creative

    team in a content marketing firm. Write an email to my team conveying that I like work done on time, but I also want us to have fun along the way. Use an approachable and collaborative tone.”
  14. EXERCISE You want to give your manager the good news

    that the app (you’re the project manager) got more-than-expected downloads after a seminar. Write an email about the same. (Prompt in next slide)
  15. You are the project manager of an app that has

    received 100,000 downloads, that’s 30% more than your target, after a seminar. Write an email to your manager sharing the good news. The email should include the bottom line upfront, background, a thank you to the product and marketing teams, and the future course of action. Use clear, concise language with simple sentences in an assertive, friendly tone. PROMPT [context] [persona] [format] [example] [task] [tone]
  16. GIVE AI A SEAT AT THE TABLE BE THE HUMAN

    IN THE LOOP TREAT AI LIKE A PERSON, BUT TELL IT WHAT KIND OF PERSON IT IS ASSUME THIS IS THE WORST AI YOU WILL EVER USE HOW YOU SHOULD TREAT AI (credit: Co-Intelligence by Ethan Mollick)
  17. ''Those who know how to prompt the AI to do

    their bidding faster, better, and more creatively than anyone else [are] going to be golden. . . . In a world filled with uncertainty, where we are all seeking answers, ironically asking the right questions is going to be the next superpower.'' Nikhil Dey