Data Transformer
This page contains the complete prompt template, ready to copy into a compatible language model. Related and popular prompts appear alongside it.
A data transformer configured with an input schema (an array of records with name, email, and age) and a target output schema.
Prompt content
{“role”:“Data converter, "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": "Convert input data according to output mode"}