TGViewer
Artificial Intelligence & ChatGPT Prompts Artificial Intelligence & ChatGPT Prompts @curiousprogrammer · 42.2K subscribers
Post #1972 2.42K
AI easily interprets information in simple requests, but if input is very long and complex, model may misunderstand.

To avoid this, try adding structure to prompt and make response of AI more predictable and clear.

How to structure a prompt?

The creators of neural networks suggest using special markup that the AI understands. These can be:

☞ Markdown, a text formatting language. For prompts, you can use bulleted and numbered lists, as well as the # sign, which in Markdown signifies different levels of headings and, in the prompt, defines the hierarchy of tasks.

Task
Plan a birthday party for a company of 8 people.

Restrictions
- Budget: 10,000 rubles 
- Location: at home 
- There are vegetarians among the guests

What should be in the plan?
1. Menu
- Main dishes 
- Snacks 
- Drinks 

2. Entertainment 
- Games 
- Music 
- Activities 

3. Timing of the event


☞ XML tags that indicate the boundaries of any text element. The beginning and end of the element are marked with <tag> and </tag>, and the tags themselves can be any.

<goal>Create a weekly menu for a family of 3 people</goal>

    <restrictions>
        <budget>10,000 rubles</budget>
        <preferences>More vegetables, minimum fried food, soup every day</preferences>
        <exclude>Mushrooms, nuts, seafood, honey</exclude>
    </restrictions>

    <format>
        <meals>breakfast, lunch, dinner, snack</meals>
        <description>A detailed recipe for each dish with a list of ingredients</description>
    </format>


☞ JSON, a data structuring standard that allows you to mark up any information in the prompt with simple syntax.

{
  "task": "Make a shopping list for the week",
  "parameters": {
    "number_of_people": 2,
    "preferences": ["vegetarian", "minimum sugar"],
    "budget": "up to 10,000 rubles"
  },
  "categories": [
    "vegetables and fruits",
    "cereals and pasta",
    "dairy products",
    "drinks",
    "other"
  ],
  "format_of_answer": {
    "type": "list",
    "group_by_categories": true
  }
>


It seems that markup is complicated so you can show your prompt to the AI and ask it to add markup itself without changing the essence.
  • ❤ 6
More from @curiousprogrammer
  1. Oct 9, 2026Let's now understand the above Data Analyst Roadmap in detail: 🧠↗️ 1️⃣ Learn Excel ⭐️ The…
  2. Oct 9, 2026🇮🇳 𝗚𝗢𝗩𝗘𝗥𝗡𝗠𝗘𝗡𝗧 𝗢𝗙 𝗜𝗡𝗗𝗜𝗔 — 𝗔𝗜𝗖𝗧𝗘 𝗜𝗡𝗧𝗘𝗥𝗡𝗦𝗛𝗜𝗣𝗦 𝟮𝟬𝟮𝟲 🚀…
  3. Oct 8, 2026🎓 𝗠𝗶𝗰𝗿𝗼𝘀𝗼𝗳𝘁 𝗙𝗥𝗘𝗘 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 𝘄𝗶𝘁𝗵 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗲𝘀! 🚀🔥 Upgr…
  4. Oct 7, 2026🚀𝗣𝗮𝘆 𝗔𝗳𝘁𝗲𝗿 𝗣𝗹𝗮𝗰𝗲𝗺𝗲𝗻𝘁 𝗧𝗿𝗮𝗶𝗻𝗶𝗻𝗴 | 𝗕𝗲𝗰𝗼𝗺𝗲 𝗮 𝗙𝘂𝗹𝗹𝘀𝘁𝗮𝗰…
  5. Oct 7, 2026𝗠𝗮𝘀𝘁𝗲𝗿 𝗣𝗼𝘄𝗲𝗿 𝗕𝗜 𝗳𝗼𝗿 𝗙𝗥𝗘𝗘! 🔥 Learn Power BI through these FREE learnin…
  6. Oct 4, 2026Frontend vs Backend Developer ✅
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →