Skip to content

The lab is in beta. Found something wrong?Beta · Found something wrong?

AI Workbench · Level 6 of 15

Prompt to spec

Level 6 of 15 in the AI Workbench: a free AI exercise at Intermediate level, which takes about 25 minutes. Write a prompt that makes the model return exact JSON for ten emails, never invent a missing fact, and ignore an instruction hidden in an email.

Start this level

Free · no download · about 25 minutes. Your work is saved on this device. Updated 18 Oct 2026.

3D view of the Prompt to spec level in the AI Workbench
Prompt to spec

The brief

Client
Brightleaf Home (fictional, hosted by OFORO)
Site
OFORO prompt desk
Work order
OFR-WO-106
Data set
Customer emails
Task code
AIW-06
Difficulty
Intermediate
Type of work
Prompting

Write a prompt that makes the model return exact JSON for ten emails, never invent a missing fact, and ignore an instruction hidden in an email.

Skills you practise

  • Prompt structure
  • Structured output
  • Hallucination checks
  • Prompt injection

What the test checks

The acceptance test marks the skills this level practises.

  • Prompt structure
  • Structured output
  • Hallucination checks
  • Prompt injection

In this lab

  • Train models in your browser
  • Vision inspection, prompts, RAG and safe agents
  • Check the AI's work before you trust it

Levels in the AI Workbench

Previous: Vision inspection on the conveyorNext: Answers with sources

  1. Data health check
  2. Train and evaluate without leakage
  3. Choose the metric and the threshold
  4. Overfitting: tune the tree
  5. Vision inspection on the conveyor
  6. Prompt to spec
  7. Answers with sources
  8. A safe agent
  9. Fairness check
  10. Privacy first
  11. Check the AI's work: finance
  12. Check the AI's work: HR
  13. Check the AI's work: marketing
  14. Check the AI's work: healthcare
  15. Check the AI's work: project management

Part of the AI Workbench

Prepare data, train a model and check the AI's work against a brief.

About the AI Workbench

Feeds these internships: AI and Machine Learning, Data Science and Analytics, Generative AI and Prompt Engineering, AI Agents and Automation, Computer Vision, AI for Finance and Accounting, AI for HR and Recruitment, AI for Digital Marketing and Content, AI in Healthcare and Pharma, AI for Project Management.