-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathtaskConfig.json
More file actions
81 lines (81 loc) · 2.29 KB
/
taskConfig.json
File metadata and controls
81 lines (81 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[
{
"taskName": "测试任务",
"taskI18n": {
"zh-CN": "测试任务",
"en": "Sample Task"
},
"scriptPath": "./example.js",
"taskKey": "testTask",
"defaultTask": false,
"taskType": "execByWallet",
"taskSchema": {
"testInput": {
"type": "input",
"text": "测试输入框"
},
"testSelect": {
"type": "select",
"options": [
{
"value": "test1",
"text": "选择框1"
},
{
"value": "test2",
"text": "选择框2"
},
{
"value": "test3",
"text": "选择框3"
}
],
"defaultValue": "test2"
}
}
},
{
"taskName": "求职AI助手",
"taskI18n": {
"zh-CN": "求职AI助手",
"en": "Job Search AI Assistant"
},
"scriptPath": "./ai_example.js",
"taskKey": "jobAgentTask",
"defaultTask": false,
"taskType": "ai",
"aiEnabled": true,
"aiSessionTemplate": "job-search-v1",
"taskSchema": {
"apiKey": {
"type": "input",
"inputType": "password",
"text": "OpenAI API Key"
},
"model": {
"type": "select",
"text": "Model",
"defaultValue": "gpt-4o-mini",
"options": [
{
"value": "gpt-4o-mini",
"text": "gpt-4o-mini"
},
{
"value": "gpt-4.1-mini",
"text": "gpt-4.1-mini"
},
{
"value": "gpt-4.1",
"text": "gpt-4.1"
}
]
},
"jobTracks": {
"type": "array",
"text": "求职方向列表",
"defaultValue": []
}
}
}
]