배열 형태의 원본 JSON 데이터를 원하는 그룹화 포맷이나 스키마로 정확하게 변환할 때 사용합니다.
{"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"}{"role": "데이터 변환기", "input_schema": {"type": "array", "items": {"name": "문자열", "email": "문자열", "age": "숫자"}}, "output_schema": {"type": "object", "properties": {"users_by_age_group": {"under_18": [], "18_to_30": [], "over_30": []}, "total_count": "숫자"}}, "instructions": "입력 데이터를 출력 스키마 규칙에 맞게 변환하세요"}출처 · prompts.chat · Data Transformer — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.
Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).
{"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", "input_data": [{"name": "김철수", "email": "chulsoo@example.com", "age": 16}, {"name": "이영희", "email": "younghee@example.com", "age": 25}, {"name": "박민수", "email": "minsoo@example.com", "age": 34}]}{
"users_by_age_group": {
"under_18": [
{
"name": "김철수",
"email": "chulsoo@example.com",
"age": 16
}
],
"18_to_30": [
{
"name": "이영희",
"email": "younghee@example.com",
"age": 25
}
],
"over_30": [
{
"name": "박민수",
"email": "minsoo@example.com",
"age": 34
}
]
},
"total_count": 3
}mopick 개선안
원문을 그대로 넣으면 AI 가 매번 다르게 답하거나 중요한 부분을 빠뜨릴 수 있습니다. 개선안은 원문의 뜻과 언어는 그대로 두고 역할 · 바꿔 넣을 입력 칸 · 결과 형식 · 지킬 조건을 보완해 다시 쓴 버전입니다. 원문과 같은 곳(ChatGPT · Claude 등)에 그대로 붙여 넣어 쓰면 됩니다.
AI 자체 평가 — 개선안을 쓴 AI 가 명확성 · 구체성 · 결과 형식 · 재사용성 기준(100점)으로 직접 매긴 점수 · 결과를 돌려 검증한 값은 아님
입력 칸레슨 05 배우기 ›
원문 · 없음바꿔 넣을 자리가 표시돼 있지 않아 쓸 때마다 원문을 직접 고쳐야 했습니다.
개선 · 2개[INPUT_JSON_ARRAY] · [{"name": "string", "email": "string", "age": "number"}]
이 개선안에 쓰인 기법 — 프롬프트 클래스에서 배우기
원문
{"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"}개선안 · 색칠한 [칸]에 내 내용을 넣어 쓰세요
{"role": "Data Transformer", "context": "Group user list by age brackets and calculate total count.", "input_data": "[INPUT_JSON_ARRAY]", "output_schema": {"users_by_age_group": {"under_18": [{"name": "string", "email": "string", "age": "number"}], "18_to_30": [], "over_30": []}, "total_count": "number"}, "instructions": ["Categorize users: age < 18 to under_18, 18 <= age <= 30 to 18_to_30, age > 30 to over_30.", "Preserve original user object fields in arrays.", "Set total_count to total processed users.", "Return raw valid JSON only."]}