Structured Data Extraction
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.
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
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.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.