Prompts
Models perform better when prompts are broken down into individual tasks. The steps required to complete those tasks should also be clearly outlined.
Key Note: The fewer the tasks and steps in a prompt, the better the accuracy and consistency of the model's responses.
Here is an example of a prompt with one task and multiple steps:
Prompt: Can you give me Meta's market in billions.
Task: The task is to find Meta's market cap
Steps:
Go online
Find the market cap
Respond with that number in billions
The model can clearly answer this question. But what about prompts with multiple tasks and steps?
Perfect Prompt Structure Example
This example requires many more tasks and steps to get to the output. We advise against writing all prompts like this as it's a little overkill. However, this is how you would get the best result consistently. If you're creating a reusable prompt template for example, given you will be using the prompt over and over again, consider using this format.
My notes are in the bubbles
------------------------------------------------------------------------------------
Start by explaining what's going on
You are going to be presented with a pitch deck for a company, your task is to:
Give me a list of competitors and why the company believes they are better than these competitors.
Tell ModelML how to approach the steps, in parallel (max 10) or one after the other
Approach this task step by step, take your time and do not skip steps
Breakdown complex task
Read the pitch deck
Identify who the competitors are
Then identity why the company says they are better than these other companies.
Format your answer in a table
Give 1-5 full examples of exactly how you would like ModelML to respond. Including the format you would like ModelML to respond.
Here are some examples of how I would like you to respond:
{Example 1}
{Example 2}
{Example 3}
This last piece is optional but if there is something that is very important, particularly like formatting, here is where you add a reminder.
Reminder: Format your answer in a table.
------------------------------------------------------------------------------------
Summary:
Present the tasks
Tell the model how to execute the tasks and steps
Give the tasks and steps
Give a few examples of how you would like the model to respond
Finish with some reminders