Few-Shot JSON Extractor

v1
Model: GPT-4 Level: Intermediate πŸ‘ 0 πŸ“‹ 0
data extractionfew-shotjson
Prompt 24 words

Example:
Text: 'Alice, 28, works at DataCorp as a Data Analyst.'
JSON: {"name": "Alice", "age": 28, "company": "DataCorp", "title": "Data Analyst"}

Text: [insert text]
JSON:

Useful prompt but the real issue is bigger? That usually means the workflow or team mechanism needs attention, not just the wording.

Why It Works

Provides clear examples to guide accurate JSON formatting.

Example Output

{"name": "Bob", "age": 35, "company": "HealthTech", "title": "Project Manager"}

Suggest an Improvement

Log in to suggest improvements.

Related Prompts