0% found this document useful (0 votes)
7 views4 pages

Prompt Generation

Guide

Uploaded by

Ankit Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Prompt Generation

Guide

Uploaded by

Ankit Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

‭Guidelines for Prompt Generation‬

‭Step 1 - Understand the Content in the Image‬


‭ oal:‬‭Determine‬‭what‬‭is‬‭happening‬‭in‬‭the‬‭image‬‭and‬‭form‬‭a‬‭clear‬‭idea‬‭of‬‭what‬‭you‬‭want‬‭to‬‭ask‬
G
‭the model to do (e.g., create, generate, or describe something).‬

‭ ction:‬ ‭If‬ ‭you're‬ ‭unsure‬‭about‬‭the‬‭image‬‭content,‬‭conduct‬‭a‬‭quick‬‭online‬‭search‬‭(e.g.,‬‭Google‬


A
‭image‬‭search)‬‭to‬‭get‬‭more‬‭clarity‬‭on‬‭what‬‭data‬‭is‬‭being‬‭presented‬‭or‬‭described,‬‭or‬‭what‬‭metrics‬
‭it may be including.‬

‭Example:‬

I‭mage:‬ 27075ecb69017e88a145ac06792ea5f4.jpg
‭Your‬ ‭understanding‬ ‭of‬ ‭the‬ ‭image:‬ ‭This‬ ‭image‬ ‭is‬‭a‬‭chart‬‭of‬‭the‬‭periodic‬‭table‬‭of‬‭elements‬‭in‬
‭French‬
‭Prompt:‬‭"Tell‬‭me‬‭more‬‭about‬‭the‬‭elements‬‭in‬‭the‬‭last‬‭line‬‭of‬‭the‬‭image‬‭shown‬‭and‬‭give‬‭me‬‭a‬‭fun‬
‭fact about each of these elements."‬

‭ tep‬ ‭2‬ ‭-‬ ‭Setting‬ ‭the‬ ‭context:‬ ‭Logical,‬ ‭Stepwise‬


S
‭Description of the Prompt‬

‭ oal:‬ ‭Create‬ ‭a‬ ‭coherent‬ ‭structure‬ ‭that‬ ‭breaks‬ ‭down‬ ‭the‬ ‭prompt‬ ‭in‬ ‭a‬ ‭clear,‬ ‭logical‬ ‭manner.‬
G
‭Describe‬ ‭the‬ ‭scenario‬ ‭step‬ ‭by‬ ‭step,‬ ‭providing‬‭details‬‭about‬‭key‬‭elements‬‭you‬‭want‬‭answered.‬
‭Specify any particular actions or outcomes.‬

‭Example:‬ 261091dc84e1d92c533db113a8cb99c2.webp

‭Say you want to ask the model a series of related questions about this image such as -‬
‭1.‬ ‭I need a list of the vehicles and the percentage of accidents caused‬
‭2.‬ ‭I need it grouped by the vehicle type - Example - 2 wheeler, 4 wheeler, 4+ wheeler‬

‭ rompt:‬ ‭"From‬ ‭the‬ ‭image,‬ ‭I‬ ‭need‬ ‭a‬ ‭list‬ ‭of‬ ‭vehicles‬ ‭along‬ ‭with‬ ‭the‬ ‭percentage‬ ‭of‬ ‭accidents‬
P
‭caused‬‭by‬‭each‬‭type‬‭of‬‭vehicle,‬‭grouped‬‭by‬‭vehicle‬‭category‬‭of‬‭2-wheelers,‬‭4-wheelers,‬‭and‬‭4+‬
‭wheelers."‬
‭Step 3 - Getting creative‬
‭ oal:‬‭In‬‭order‬‭for‬‭us‬‭to‬‭ensure‬‭that‬‭LLMs‬‭are‬‭trained‬‭effectively,‬‭it’s‬‭important‬‭to‬‭ensure‬‭that‬‭the‬
G
‭prompt‬ ‭we‬ ‭ask‬ ‭is‬ ‭unique,‬ ‭creative‬ ‭and‬ ‭robust.‬ ‭It’s‬ ‭best‬ ‭to‬ ‭rely‬ ‭on‬ ‭one’s‬ ‭own‬ ‭subject‬ ‭matter‬
‭expertise‬ ‭if‬ ‭you‬ ‭already‬ ‭know‬ ‭what‬ ‭the‬ ‭image‬ ‭is‬ ‭about‬ ‭and‬ ‭generate‬‭subject-specific‬‭prompts‬
‭that‬ ‭will‬ ‭allow‬ ‭you‬ ‭to‬ ‭critically‬ ‭test‬ ‭the‬ ‭model’s‬ ‭understanding‬ ‭of‬ ‭the‬ ‭subject.‬ ‭For‬ ‭instance,‬ ‭if‬
‭you’re‬‭a‬‭Physics‬‭major,‬‭and‬‭you’re‬‭presented‬‭with‬‭an‬‭image‬‭about‬‭the‬‭interaction‬‭of‬‭the‬‭different‬
‭wavelengths‬ ‭of‬ ‭light‬ ‭with‬ ‭photosensitive‬ ‭substances,‬ ‭you‬ ‭may‬ ‭already‬ ‭know‬ ‭a‬ ‭lot‬ ‭about‬ ‭the‬
‭subject‬ ‭that‬ ‭will‬ ‭allow‬ ‭you‬ ‭to‬ ‭tweak‬ ‭your‬ ‭questions‬ ‭in‬ ‭a‬ ‭specific‬ ‭manner‬ ‭to‬ ‭allow‬ ‭for‬ ‭optimal‬
‭testing against specific questions.‬

‭ ometimes,‬ ‭you‬ ‭may‬ ‭not‬ ‭always‬‭know‬‭what‬‭the‬‭image‬‭may‬‭be‬‭about,‬‭it’s‬‭best‬‭to‬‭make‬‭use‬‭of‬


S
‭what‬ ‭you‬ ‭may‬‭not‬‭know,‬‭or‬‭what‬‭you‬‭might‬‭need‬‭from‬‭the‬‭model‬‭that‬‭will‬‭help‬‭you‬‭understand‬
‭the‬‭image‬‭better.‬‭For‬‭instance,‬‭If‬‭an‬‭image‬‭is‬‭about‬‭a‬‭stock‬‭price,‬‭and‬‭you‬‭may‬‭not‬‭understand‬
‭the‬ ‭stock‬ ‭market‬ ‭trends,‬ ‭then‬ ‭your‬ ‭prompt‬‭could‬‭be‬‭structured‬‭in‬‭such‬‭a‬‭way‬‭that‬‭you‬‭ask‬‭the‬
‭model‬ ‭to‬ ‭help‬ ‭you‬ ‭interpret‬ ‭the‬ ‭image,‬ ‭or‬ ‭parts‬ ‭of‬ ‭the‬ ‭image‬‭to‬‭simplify‬‭complex‬‭concepts‬‭for‬
‭you‬

‭ s‬‭a‬‭general‬‭rule‬‭however,‬‭It’s‬‭best‬‭not‬‭to‬‭delimit‬‭yourselves‬‭from‬‭creating‬‭prompts‬‭with‬‭simple‬
A
‭templates such as -‬
‭1.‬ ‭Describe XX from the image‬
‭2.‬ ‭Could you help me find the [sum/average/ other simple extractive tasks] from the image?‬
‭3.‬ ‭Describe what’s happening in this image for me in 100 words or fewer.‬

‭ tep‬ ‭4‬ ‭-‬ ‭(Optional)‬ ‭-‬ ‭Provide‬ ‭Similar‬ ‭Prompts‬ ‭and‬


S
‭adopting a persona to guide the Model‬

‭ oal:‬‭Opting‬‭a‬‭persona‬‭-‬‭Provide‬‭a‬‭reference‬‭prompt‬‭that‬‭explains‬‭how‬‭you‬‭expect‬‭the‬‭output‬
G
‭to be structured, or the type of language you prefer in the output.‬

‭ xample:‬ 22595b7c11403fe46ba4528203c19138.png
E
‭You’re‬‭looking‬‭to‬‭generate‬‭a‬‭simplified‬‭version‬‭of‬‭the‬‭information‬‭from‬‭this‬‭diagram‬‭for‬‭students‬
‭interested in entrepreneurship.‬

‭ rompt:‬ ‭"Imagine‬ ‭you’re‬ ‭a‬ ‭Social‬ ‭Studies‬ ‭teacher‬ ‭for‬ ‭Grade‬ ‭8,‬ ‭and‬ ‭you‬ ‭want‬ ‭to‬ ‭explain‬ ‭the‬
P
‭contents‬ ‭in‬ ‭this‬ ‭picture‬ ‭to‬‭your‬‭students.‬‭Give‬‭me‬‭a‬‭description‬‭of‬‭this‬‭image‬‭in‬‭a‬‭maximum‬‭of‬
‭200 words"‬
‭ oal:‬‭Providing‬‭a‬‭template‬‭-‬‭Show‬‭the‬‭model‬‭how‬‭you‬‭expect‬‭it‬‭to‬‭generate‬‭content‬‭by‬‭offering‬
G
‭similar examples or clarifying expectations.‬

‭ xample:‬ 22595b7c11403fe46ba4528203c19138.png
E
‭You’re‬‭looking‬‭to‬‭generate‬‭a‬‭description‬‭of‬‭the‬‭image,‬‭but‬‭you’re‬‭only‬‭concerned‬‭about‬‭a‬‭larger‬
‭organization‬

‭ rompt:‬
P
‭“Describe the image here using the following template -‬
‭1.‬ ‭Name of the Growth Phase:‬
‭2.‬ ‭Description of the issues faced by a large organization during the phase:‬
‭3.‬ ‭Solutions to mitigate problems encountered during the growth phase: ”‬

‭Step 5 - Ensuring Proper Grammar and Syntax‬


‭ oal:‬ ‭Review‬ ‭and‬ ‭fine-tune‬ ‭the‬ ‭prompt‬ ‭to‬ ‭ensure‬ ‭clarity,‬‭correctness,‬‭and‬‭flow.‬‭Use‬‭tools‬‭like‬
G
‭Grammarly‬ ‭for‬ ‭grammar‬‭and‬‭syntax‬‭checks.‬‭Check‬‭for‬‭grammatical‬‭errors,‬‭refine‬‭word‬‭choice,‬
‭and ensure the prompt is concise yet descriptive.‬

‭Steps to achieve the goal‬

‭Grammarly (Browser Extension & Online Tool)‬

‭●‬ H ‭ ow‬‭to‬‭use‬‭:‬‭Install‬‭the‬‭Grammarly‬‭extension‬‭in‬‭your‬‭browser‬‭(e.g.,‬‭Chrome,‬‭Firefox)‬‭or‬
‭visit‬‭the‬‭Grammarly‬‭website‬‭.‬‭It‬‭automatically‬‭checks‬‭grammar,‬‭punctuation,‬‭and‬‭spelling‬
‭as you type in various text fields like emails, documents, or social media posts.‬
‭●‬ ‭Browser Extension Link‬‭:‬‭Grammarly for Chrome‬

‭Hemingway Editor (Online Tool)‬

‭1.‬ H ‭ ow‬ ‭to‬‭use‬‭:‬‭Go‬‭to‬‭Hemingway‬‭Editor‬‭.‬‭Paste‬‭your‬‭text,‬‭and‬‭the‬‭tool‬‭highlights‬‭complex‬


‭sentences, passive voice, and unnecessary adverbs to improve readability.‬
‭2.‬ ‭Example‬‭:‬ ‭The‬ ‭sentence‬ ‭"The‬ ‭cat‬ ‭quickly‬ ‭ran‬ ‭across‬ ‭the‬ ‭very‬ ‭large‬ ‭room"‬ ‭might‬ ‭be‬
‭flagged‬ ‭for‬ ‭clarity‬ ‭and‬ ‭simplicity,‬ ‭with‬ ‭suggestions‬ ‭like‬ ‭removing‬ ‭"very"‬ ‭or‬ ‭replacing‬
‭"quickly" with a simpler verb.‬

‭LanguageTool (Browser Extension & Online Tool)‬

‭1.‬ H‭ ow‬‭to‬‭use‬‭:‬‭Install‬‭the‬‭extension‬‭or‬‭use‬‭the‬‭LanguageTool‬‭website‬‭.‬‭It‬‭supports‬‭multiple‬
‭languages and catches e‬‭rrors in sentence structure,‬‭grammar, and punctuation.‬
‭2.‬ ‭Browser Extension Link‬‭:‬‭Grammar Checker for Chrome‬

You might also like