Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    “What Is Zoras Current Occupation? Exploring Her Role in Gaming Tech Consulting

    April 29, 2025

    Best Monitors for PS5: The Ultimate Guide for Gamers

    April 28, 2025

    10G Internet: The Future of Super-Fast Internet in the USA

    April 25, 2025
    Facebook X (Twitter) Instagram
    Techs Bird
    • Home
    • Technology

      “What Is Zoras Current Occupation? Exploring Her Role in Gaming Tech Consulting

      April 29, 2025

      Best printers for stickers (2024)

      May 2, 2024

      Finding The Best Waterproof Headphones For 2024: Music Options For Swimming In The Pool Or The Ocean. 

      May 1, 2024

      THE BEST VLOG CAMERAS OF 2024: OUR TOP PICKS ACROSS THE BOARD

      April 19, 2024

      BEST ANDROID BOX OF 2024

      March 29, 2024
    • Social Media

      MAIL.COM REVIEW

      February 19, 2024

      Weston Cage the Famous Actor

      July 20, 2023

      Will Parfitt the Famous TikToker :2024

      July 20, 2023

      The Cases of Mystery Lane:2024

      July 7, 2023

      What Cooper Koch Says About Swallowed and Why He Loves Making Independent Films:2024

      July 1, 2023
    • Reviews

      Best Skullcandy Wired Earbuds 2025: Top Affordable Picks USA

      April 24, 2025

      Turbologo Review 2025: Create a Custom Business Logo in 1 Minute

      April 22, 2025

      Who is Zion Mixolydian Cannon

      May 8, 2024

      This List Shows The Best Airplay Speakers That Work With Apple Products In 2024.

      April 29, 2024

      THE BEST MONITORS FOR PS5 IN 2024

      April 18, 2024
    • Cybersecurity
    Facebook X (Twitter) Instagram
    Techs Bird
    Home»Generators»Text generators»7 Tips for Writing Better ChatGPT Prompts in 2024 that You Need to Know
    Text generators

    7 Tips for Writing Better ChatGPT Prompts in 2024 that You Need to Know

    Sajid AliBy Sajid AliAugust 29, 2023Updated:May 16, 2024No Comments10 Mins Read
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr WhatsApp Email
    ChatGPT Prompt
    ChatGPT Prompt

    Let’s delve a little deeper into the arcane world of AI prompt writing. Those who dare to enter will find secrets.In previous articles on Techsbird, we’ve covered how to create effective prompts.

    This article will take things to the next level by examining more advanced AI ChatGPT prompt writing methods. Seven very interesting approaches will help you better understand how to use ChatGPT Prompt writing or other generative AI tools.

    Also read : ChatGPT prompt: How to use it

    How to increase your ChatGPT Prompt usage.

    Table of Contents

    Toggle
    • 1. Format output to be specified
    • 2. Tell it to format HTML.
    • 3. Repeat the process with multiple attempts.
    • 4. Feel free to use long prompts or sets of prompts.
    • 5. Give explicit constraints on a response.
      • List the major NASA space missions between 2010 and 2020
    • 6. Tell me the number of words, sentences, or characters.
    • 7. Give AI a chance to evaluate their answers.
      • ChatGPT cannot determine the first letter in a word (again, due to its tokenized representation of knowledge). Giving the AI time to work out what to do is better.
    • Final Thoughts

    1. Format output to be specified

    You can tell ChatGPT prompt writing how to format the answer when you ask a query or assign an assignment. Imagine you are giving an assignment to your student. Consider specifying the format of the assignment when it is submitted. Here are some examples.

    What are the longest roads in America? List the top ten highways in a bulleted list.

    Format output to be specified

    Screenshot by Sajid Ali /Techsbird

    Tables are a great way to present information.

    Format output to be specified

    Screenshot by Sajid Ali/Techsbird

    2. Tell it to format HTML.

    There are many options for how results will be displayed. You can, for example, have it create a table that you can integrate into a website.

    What are the longest roads in the United States of America? Only list the top ten. Present the results in HTML.

    Tell it to format HTML

    Screenshot by Sajid Ali /Techsbird 

    Click the square at the top right corner to make the HTML larger.

    This is where it gets interesting. You can present the information in any style you want. There is a web design school that does not like traditional table tags and prefers tables to be presented using CSS. This is the version.

    Use CSS to present the information instead of table tags.

    Tell it to format HTML

    Screenshot by Sajid Ali /Techsbird 

    3. Repeat the process with multiple attempts.

    You will often need to help the AI achieve the desired results. Consider our previous CSS result. Take a look at the CSS result.

    multiple attempts

    Screenshot by Sajid Ali /Techsbird 

    Sadly, it’s not quite as beautiful as I would like. We’ll see if there is a way to fix it.

    Please align the columns. The headings should be a darker shade of blue, with all-white letters in capitals. Each data row should be a light grey, but the shades of gray can vary. For example, row 1 could be a lighter gray while row 2 remained dimmer. Row 3 would remain light gray. The highway name should be in bold.

    The generated code should be shorter to include. But we’re getting closer:

    multiple attempts.

    Screenshot by Sajid Ali /Techsbird 

    Let’s try it again.

    The columns still aren’t aligned. Check that the columns are large enough to accommodate all text, align the left side, and ensure all columns (including headings) are perfectly centered.

    multiple attempts.

    Screenshot by Sajid Ali /Techsbird 

    The route is almost what we want, but it’s wrapping. We’ll see if that can be fixed.

    The route data is wrapping. Please ensure that the route data does not wrap. Each line of data should be on a single line.

    Never assume that this will be easy. If you have ever taught programming to people, you will get the same results. Sometimes, they seem passive-aggressive, but you probably need to define your requirements better.

    multiple attempts.

    Screenshot by Sajid Ali /Techsbird 

    4. Feel free to use long prompts or sets of prompts.

    It took a lot of iterations before I could create a prompt that reliably produced highway information in the form that I desired. It is important to ensure that your prompt contains enough information to allow the large language model to understand what you are asking fully.

    You may need to make changes to your specification. I ended up removing this line:

    Create a table where the cells, rows, and columns are formatted using only CSS. Use HTML table tags instead.

    Instead, I told it exactly how I wanted it to look. It then decided how to make it. This is my rather long, full prompt:

    multiple attempts.

    Screenshot by Sajid Ali /Techsbird 

    I typed the prompt in Sublime Text (a text editor) and pasted it to ChatGPT prompt writing. This is the exact result I was looking for.

    multiple attempts.
    Techsbird

    Screenshot By

    Sajid Ali

    You can see that it added a title. This was perfectly fine. Now that I’ve got a working prompt, I can make some tweaks. I modified the column specifier, for example:

    Label the columns with the index number, route, length, and route (“#”),).

    I changed “Limit Your Answer to Only the Top Four” to “Limit Your Answer to Only the Top 20”, but the AI would not fill in the data for the entire 20. I deleted the line and added a line to the end of the prompt.

    Please provide the complete data results of the 20 top highways for this project.

    It produced a partial HTML output. The AI had to be told to continue. It then split out the remainder of the HTML.

    You can see that it added a title. This was perfectly fine. Now that I’ve got a working prompt, I can make some tweaks. I modified the column specifier, for example:

    Label the columns with the index number, route, and length.

    I changed “Limit Your Answer to Only the Top 10” to “Limit Your Answer to Only the Top 20”, but the AI would not fill in the data for the entire 20. So, I deleted that line and added a line at the end of the prompt.

    Please provide the complete data results of the 20 top highways for this project.

    It produced a partial HTML output. The AI had to be told to continue. It then split out the remainder of the HTML.

    What are the longest roads in America?

    Screenshot by Sajid Ali /Techsbird 

    5. Give explicit constraints on a response.

    You saw how I changed some constraints to accommodate the number of responses and columns I desired. You can also use constraints to ask more open-ended questions.

    This type of prompt has limitations. Take this prompt as an example:

    A summary of key events from World War I, as reported in major newspapers then.

    The model cannot answer this question because it was not trained using newspapers from World War I (although it makes a guess).

    You can’t also specify results for “the last few year” because the data entry of the model ends in 2021. You can still specify data within the model’s scope, such as this:

    List the major space missions from 2010 to 2020

    Please note that we are limited by the date. We can also add more restrictions. Limit the US only.

    List the major NASA space missions between 2010 and 2020

    The formatting method we discussed can be used to create something similar:

    List all the major space missions that took place between 2010 and 2020. Sort them according to nation and space agency. Make the names of the nations and space agencies bold.

    And you can get even more explicit. We include all continents but exclude any continents that do not have missions.

    List all the major space missions that took place between 2010 and 2020. Sort them by continent. The continent name should be bolded and in all caps. The nation’s name and the name of the space agency should be bolded, either in the title case or with all capital letters if the agency uses this format (like NASA). Do not include a continent on the list if it has no space missions.

    Interestingly, the AI had a hallucinatory experience. It listed all the continents and missions correctly but decided that Russia was a continent. It was not a continent when I used it in the second session.

    6. Tell me the number of words, sentences, or characters.

    Regarding constraints, ChatGPT prompt writing is only sometimes accurate with word counts. It can sometimes go long or short if you limit it to 50 words. The language model uses tokens, representing data representations that don’t directly correspond to words.

    When I asked ChatGPT prompt writing, “Summarize Breaking Bad“ I received 250 words spread over six paragraphs. You can limit the responses. You can try different terms to limit the response until you find what works for you. You can use the following example:

    Summarize Breaking Bad in 50 Words

    Summarize Breaking Bad TV Series in two sentences

    Summarize Breaking Bad in 150 characters or less:

    How to summarize Breaking Bad TV show so that it fits in a Tweet

    Another place to consider the limitations of AI models. After 2021, ChatGPT will no longer contain any training data. A tweet at that time was limited to only 250 characters. Twitter Blue subscribers can send tweets up to 4,000 characters long starting in February 2023. ChatGPT prompt writing will limit its response to 280 characters because it was the only limit at the time.

    7. Give AI a chance to evaluate their answers.

    We’ve discussed this before, but the AI can sometimes “hallucinate” and give incorrect answers. You can construct conversations with AI to get more precise answers by letting the AI provide intermediate conclusions. Consider this simple question:

    The word that starts with A and is similar to aeroplan 

    ChatGPT prompt writing consistently fails to answer this question and often answers decay, degrade, or degenerate, as well as other words beginning with “D.”

    evaluate their answers,

    Screenshot by Sajid Ali /Techsbird 

    This seemingly simple prompt poses a few challenges. The word “daeroplan ,” for example, has many meanings. It can mean delegate or transfer, decline or deteriorate or inherit. We need to be specific to get the right answer. Tell it what general meaning you want. You can also help it find the word’s meaning by telling it that we are looking for a verb rather than a name.

    Create a verb starting with “A,” which has the same meaning as “Aeroplan.” This verb should specifically indicate the idea that something is deteriorating.

    ChatGPT cannot determine the first letter in a word (again, due to its tokenized representation of knowledge). Giving the AI time to work out what to do is better.

    Find the first letter in the generated verb.

    AI experts refer to this as “giving it breathing time.” This approach allows the AI to think before rushing into its first answer.

    Ask the AI to repeat the steps until the answer is found.

    Here, it continues to search for an answer.

    evaluate their answers

    It took six attempts for the AI to find the correct word even though the criteria were in place throughout the sequence. The second “breathe,” a double-check, allowed the AI to evaluate and keep trying until it found the right answer.

    Final Thoughts

    It’s important to remember that AI sometimes does something other than what you expect. It took me nearly two hours and 20 attempts to find the formula for the AI to generate a reliable result.

    Remember that the AI will remember what happened in the session you are currently in. While it may give you the correct answer in your current session, copying the prompt and seeing if it works is important.

    Watch for more advanced prompting tips and a deeper dive into the individual prompting problems.

    You May Also Read This: ChstGPT prompt

    Advanced ChatGPT Advanced ChatGPT Prompt Writing tips ChatGPT Prompt how to use chatgpt prompt
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Sajid Ali
    • Website

    Techsbird.com Hi I am SEO Outreach Specialist, you will be using industry leading outreach software and tried and tested Wisevu Inc link building/outreach processes/tactics in order to prospect, qualify, and win high quality publications/backlinks for clients.

    Related Posts

    ChatGPT 2024 How To Use It

    August 27, 2023
    Leave A Reply Cancel Reply

    Recent
    In entertainment

    THE BOYS SEASON 4: PRIME VIDEO RELEASE DATE, TRAILER, CAST, PLOT SUMMARY, AND MORE

    By aarkhan
    In entertainment

    BLACK PANTHER DISNEY PLUS SPIN-OFF MARVEL’S EYES OF WAKANDA IS SAID TO COME OUT IN 2024.

    By aarkhan
    In entertainment

    ANDOR SEASON 2: WHAT WE KNOW ABOUT THE RETURN OF THE POPULAR STAR WARS SHOW 

    By aarkhan
    Editors Picks

    “What Is Zoras Current Occupation? Exploring Her Role in Gaming Tech Consulting

    April 29, 2025

    Best Monitors for PS5: The Ultimate Guide for Gamers

    April 28, 2025

    10G Internet: The Future of Super-Fast Internet in the USA

    April 25, 2025

    Best Skullcandy Wired Earbuds 2025: Top Affordable Picks USA

    April 24, 2025
    About Us

    TechsBird is a website dedicated to artificial intelligence (AI). We provide comprehensive and up-to-date information on all aspects of AI, from the basics to the cutting-edge. Our goal is to make AI accessible and understandable to everyone.

    We're accepting new partnerships right now.

    Email Us: contact@techsbird.com

    Facebook Instagram
    Our Picks

    “What Is Zoras Current Occupation? Exploring Her Role in Gaming Tech Consulting

    April 29, 2025

    Best Monitors for PS5: The Ultimate Guide for Gamers

    April 28, 2025

    10G Internet: The Future of Super-Fast Internet in the USA

    April 25, 2025
    Top Reviews

    What is Shisqueique:2024

    July 4, 2023

    Best Review of the iMac Pro i7 4k: Price, Specs

    June 10, 2023

    Is Pickentt Worth the Hype? Our Honest Review:2024

    May 5, 2023
    © 2025 Techs Bird. Alright Reserved. | Website Design by Khalid S.
    • About us
    • Privacy Policy
    • Disclaimer
    • Contact Us

    Type above and press Enter to search. Press Esc to cancel.