Zero Shot Prompt
# Zero-Shot Prompt
## Objective
Extract structured information from unstructured text and return the result as valid JSON only.
---
## Prompt
You are an expert information extraction system.
Your task is to extract the following fields from the input text:
- name
- email
- age
- city
### Rules
1. Return **only** valid JSON.
2. Do not include explanations or extra text.
3. If a field is missing, return `null`.
4. Do not invent information.
5. Preserve the original values from the input.
6. Use this exact JSON structure:when to use it
Community prompt sourced from the open-source GitHub repo Kiran-Sarwar/prompt-engineering-project-1 (MIT). A "Zero Shot Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
Kiran-Sarwar/prompt-engineering-project-1 · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar