Structured Data Extraction

General Productivitydeepseek-promptssourceTypesourceContenttargetSchema

DeepSeek follows strict output format instructions reliably. Specifying null for missing fields prevents hallucinated data. The 'return only valid JSON' instruction combined with a concrete schema produces output you can parse programmatically without cleanup.

Prompt
Extract structured data from the following {{sourceType}}:

<source>
{{sourceContent}}
</source>

**Extract into this exact JSON structure:**
\`\`\`json
{{targetSchema}}
\`\`\`

**Extraction rules:**
- Use null for fields not found in the source (never invent data)
- Normalize dates to ISO 8601 format ({{dateTimezone}})
- Normalize {{fieldToNormalize}} to {{normalizationRule}}
- If a field has multiple possible values, use the most specific one
- For arrays, maintain the order they appear in the source

Return only valid JSON. No explanations, no markdown formatting around the JSON.

Variables to customize

{{sourceType}}{{sourceContent}}{{targetSchema}}{{dateTimezone}}{{fieldToNormalize}}{{normalizationRule}}

Why this prompt works

DeepSeek follows strict output format instructions reliably. Specifying null for missing fields prevents hallucinated data. The 'return only valid JSON' instruction combined with a concrete schema produces output you can parse programmatically without cleanup.

What you get when you save this prompt

Your workspace unlocks powerful tools to iterate and improve.

AI OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use Everywhere

Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.

Your prompts, organized

Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.