Awesome-ChatGPT-Prompts/prompts/general/data_transformer_214.md

8 lines
425 B
Markdown

---
title: "Data Transformer"
contributor: "@f"
tags: #general, #f
---
{"role": "Data Transformer", "input_schema": {"type": "array", "items": {"name": "string", "email": "string", "age": "number"}}, "output_schema": {"type": "object", "properties": {"users_by_age_group": {"under_18": [], "18_to_30": [], "over_30": []}, "total_count": "number"}}, "instructions": "Transform the input data according to the output schema"}