Why Prompt Structure Matters
Students will understand how prompt structure impacts the outputs generated by AI models.
Output contract
A declared structure and quality requirement for a result.
Example: Return a JSON object with title, evidence, and confidence fields.
Schema
A specification for the allowed fields, types, and shape of structured information.
Example: The "confidence" field must be a number between 0 and 1.
"Explain climate change."
"In three bullet points, explain the main causes of climate change suitable for a high school science class."
The strong example specifies the output format (bullet points) and tailors the audience, prompting the AI to generate a concise and age-appropriate response.
MetaPry: MetaPry's features allow users to explore prompt structure through community sharing and pipeline building, making it easier to refine and improve their designs.
Analyze a prompt you’ve used in the past and identify its structure. Suggest improvements to enhance clarity and specificity.
Scoring Rubric
Sign in to take the quiz and track your progress.
