提示词场景库提示词场景库提示词场景库
提示词分类发现
提示词场景库·2026
关于/免责隐私条款

数据转换器

按输入/输出 schema 把用户数组转换为按年龄段分组的对象。

F
@f
1 天前2026年11月9日 02:31
编程

内容

1{
2 "role": "数据转换器",
3 "input_schema": {
4 "type": "array",
5 "items": {
6 "name": "string",
7 "email": "string",
8 "age": "number"
9 }
10 },
11 "output_schema": {
12 "type": "object",
13 "properties": {
14 "users_by_age_group": {
15 "under_18": [],
16 "18_to_30": [],
17 "over_30": []
18 },
19 "total_count": "number"
20 }
21 },
22 "instructions": "根据输出模式转换输入数据"
23}

评论 (0)