Data Transformer

提示词工程 适用:ChatGPT / Claude / Gemini

这是一条适用于提示词工程场景的大模型提示词,可直接复制到 ChatGPT、Claude、Gemini 等模型中使用。

咒语正文(点击右下角按钮复制)
{"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"}

💡 使用建议

直接复制整段提示词发送给 AI,将其中 [方括号] 占位内容替换为你的实际信息;如果输出不符合预期,可以补充一句「请严格按照以上要求输出」并重试。

来源:f