跳到主内容
← 返回 AI 广场
提示词 ★ 0 · 实测 0 条 · 浏览 0

数据转换器

将用户数组按年龄段分组并统计总数的结构化转换

它做什么

{"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"}

快速安装

复制到对话开头,按需替换其中的占位符

能不能跑(客户端兼容)

「已验证」表示编辑在对应客户端实际装过并跑通

还没有登记客户端兼容信息。

同类条目