digipair 0.99.0 → 0.99.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +36 -35
- package/src/app/assets/digipairs/studio/boost-task-editor-ask.json +92 -0
- package/src/app/assets/digipairs/studio/boost-task-editor-change.json +110 -0
- package/src/app/assets/digipairs/studio/config.json +44 -1
- package/src/app/assets/digipairs/admin/avatar.png +0 -0
- package/src/app/assets/digipairs/admin/boost-add-digipair-api.json +0 -143
- package/src/app/assets/digipairs/admin/boost-add-digipair-business-process.json +0 -68
- package/src/app/assets/digipairs/admin/boost-add-digipair-expert.json +0 -68
- package/src/app/assets/digipairs/admin/boost-add-digipair-imap-listener-oauth2.json +0 -68
- package/src/app/assets/digipairs/admin/boost-add-digipair-imap-listener.json +0 -68
- package/src/app/assets/digipairs/admin/boost-add-digipair-teams.json +0 -107
- package/src/app/assets/digipairs/admin/boost-add-reasoning.json +0 -72
- package/src/app/assets/digipairs/admin/boost-duplicate-reasoning.json +0 -80
- package/src/app/assets/digipairs/admin/boost-plan-reasoning.json +0 -71
- package/src/app/assets/digipairs/admin/compute-consumption-daily.json +0 -17
- package/src/app/assets/digipairs/admin/config.json +0 -41
- package/src/app/assets/digipairs/admin/consumptions-monthly.json +0 -290
- package/src/app/assets/digipairs/admin/consumptions.json +0 -264
- package/src/app/assets/digipairs/admin/digipair-list.json +0 -581
- package/src/app/assets/digipairs/admin/json-editor.json +0 -201
- package/src/app/assets/digipairs/admin/logs.json +0 -239
- package/src/app/assets/digipairs/admin/openapi2schema.json +0 -150
- package/src/app/assets/digipairs/admin/process-list.json +0 -182
- package/src/app/assets/digipairs/admin/reasoning-editor.json +0 -296
- package/src/app/assets/digipairs/admin/reasoning-list.json +0 -810
- package/src/app/assets/digipairs/admin/schema.json +0 -115
package/package.json
CHANGED
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "digipair",
|
|
3
|
-
"version": "0.99.
|
|
3
|
+
"version": "0.99.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"bin": {
|
|
6
6
|
"digipair": "./bin/digipair.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@digipair/engine": "0.99.
|
|
10
|
-
"@digipair/skill-chatbot": "0.99.
|
|
11
|
-
"@digipair/skill-common": "0.99.
|
|
12
|
-
"@digipair/skill-cron": "0.99.
|
|
13
|
-
"@digipair/skill-basic": "0.99.
|
|
14
|
-
"@digipair/skill-canvas": "0.99.
|
|
15
|
-
"@digipair/skill-
|
|
16
|
-
"@digipair/skill-
|
|
17
|
-
"@digipair/skill-
|
|
18
|
-
"@digipair/skill-
|
|
19
|
-
"@digipair/skill-
|
|
20
|
-
"@digipair/skill-
|
|
21
|
-
"@digipair/skill-
|
|
22
|
-
"@digipair/skill-
|
|
23
|
-
"@digipair/skill-
|
|
24
|
-
"@digipair/skill-
|
|
25
|
-
"@digipair/skill-
|
|
26
|
-
"@digipair/skill-
|
|
27
|
-
"@digipair/skill-
|
|
28
|
-
"@digipair/skill-
|
|
29
|
-
"@digipair/skill-
|
|
30
|
-
"@digipair/skill-
|
|
31
|
-
"@digipair/skill-
|
|
32
|
-
"@digipair/skill-
|
|
33
|
-
"@digipair/skill-
|
|
34
|
-
"@digipair/skill-web-
|
|
35
|
-
"@digipair/skill-web-
|
|
36
|
-
"@digipair/skill-web-
|
|
37
|
-
"@digipair/skill-web-
|
|
38
|
-
"@digipair/skill-web-
|
|
39
|
-
"@digipair/skill-web-
|
|
40
|
-
"@digipair/skill-web-
|
|
41
|
-
"@digipair/skill-web-
|
|
42
|
-
"@digipair/skill-
|
|
9
|
+
"@digipair/engine": "0.99.2",
|
|
10
|
+
"@digipair/skill-chatbot": "0.99.2",
|
|
11
|
+
"@digipair/skill-common": "0.99.2",
|
|
12
|
+
"@digipair/skill-cron": "0.99.2",
|
|
13
|
+
"@digipair/skill-basic": "0.99.2",
|
|
14
|
+
"@digipair/skill-canvas": "0.99.2",
|
|
15
|
+
"@digipair/skill-codex": "0.99.2",
|
|
16
|
+
"@digipair/skill-debug": "0.99.2",
|
|
17
|
+
"@digipair/skill-dsp": "0.99.2",
|
|
18
|
+
"@digipair/skill-editor": "0.99.2",
|
|
19
|
+
"@digipair/skill-factory": "0.99.2",
|
|
20
|
+
"@digipair/skill-http": "0.99.2",
|
|
21
|
+
"@digipair/skill-llm": "0.99.2",
|
|
22
|
+
"@digipair/skill-openai": "0.99.2",
|
|
23
|
+
"@digipair/skill-service": "0.99.2",
|
|
24
|
+
"@digipair/skill-sse": "0.99.2",
|
|
25
|
+
"@digipair/skill-temporal": "0.99.2",
|
|
26
|
+
"@digipair/skill-tool": "0.99.2",
|
|
27
|
+
"@digipair/skill-web": "0.99.2",
|
|
28
|
+
"@digipair/skill-worker": "0.99.2",
|
|
29
|
+
"@digipair/skill-logger": "0.99.2",
|
|
30
|
+
"@digipair/skill-process": "0.99.2",
|
|
31
|
+
"@digipair/skill-oauth2": "0.99.2",
|
|
32
|
+
"@digipair/skill-imap": "0.99.2",
|
|
33
|
+
"@digipair/skill-sendmail": "0.99.2",
|
|
34
|
+
"@digipair/skill-web-debug": "0.99.2",
|
|
35
|
+
"@digipair/skill-web-jsoneditor": "0.99.2",
|
|
36
|
+
"@digipair/skill-web-notification": "0.99.2",
|
|
37
|
+
"@digipair/skill-web-chatbot": "0.99.2",
|
|
38
|
+
"@digipair/skill-web-editor": "0.99.2",
|
|
39
|
+
"@digipair/skill-web-inputs": "0.99.2",
|
|
40
|
+
"@digipair/skill-web-spectrum": "0.99.2",
|
|
41
|
+
"@digipair/skill-web-interact": "0.99.2",
|
|
42
|
+
"@digipair/skill-web-font-awesome": "0.99.2",
|
|
43
|
+
"@digipair/skill-yaml": "0.99.2",
|
|
43
44
|
"tslib": "^2.6.3",
|
|
44
45
|
"@nestjs/common": "^10.3.9",
|
|
45
46
|
"@nestjs/core": "^10.3.9",
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "This boost is designed to help users formulate their questions more effectively on the current task.",
|
|
3
|
+
"summary": "Question about the task",
|
|
4
|
+
"library": "@digipair/skill-chatbot",
|
|
5
|
+
"element": "boost",
|
|
6
|
+
"metadata": {
|
|
7
|
+
"selector": "digipair-editor",
|
|
8
|
+
"url": "-task-editor/",
|
|
9
|
+
"context": []
|
|
10
|
+
},
|
|
11
|
+
"properties": {
|
|
12
|
+
"steps": [
|
|
13
|
+
{
|
|
14
|
+
"name": "Initialisation",
|
|
15
|
+
"execute": [
|
|
16
|
+
{
|
|
17
|
+
"library": "digipair:studio",
|
|
18
|
+
"element": "action-answer",
|
|
19
|
+
"properties": {
|
|
20
|
+
"assistant": "What do you want to know about this task ?",
|
|
21
|
+
"boost": [
|
|
22
|
+
{
|
|
23
|
+
"step": "Execution",
|
|
24
|
+
"prompt": true,
|
|
25
|
+
"required": true,
|
|
26
|
+
"selector": "digipair-editor",
|
|
27
|
+
"url": ".*",
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"library": "@digipair/skill-web-inputs",
|
|
31
|
+
"element": "digipair-input-dom-attribute",
|
|
32
|
+
"properties": {
|
|
33
|
+
"selector": "digipair-editor",
|
|
34
|
+
"attribute": "codeInWorkspace"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "Execution",
|
|
46
|
+
"execute": [
|
|
47
|
+
{
|
|
48
|
+
"library": "@digipair/skill-sse",
|
|
49
|
+
"element": "broadcast",
|
|
50
|
+
"properties": {
|
|
51
|
+
"message": {
|
|
52
|
+
"type": "step",
|
|
53
|
+
"content": "Request analysis"
|
|
54
|
+
},
|
|
55
|
+
"id": "{{request.body.userId}}",
|
|
56
|
+
"reasoning": "notification"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"library": "@digipair/skill-codex",
|
|
61
|
+
"element": "runPrompt",
|
|
62
|
+
"properties": {
|
|
63
|
+
"prompt": "Answer to the user question. \n\n# Useful informations\n## User question\n{{ request.body.prompt }}\n\n## Output format: \n{ \"assistant\": [ASSISTANT_ANSWER] }\n\n## Current agent: \n{{ request.digipair }}\n\n## Current reasoning name: \n{{ request.reasoning }}\n\n## Current reasoning content: \n{{JSONstringify request.body.inputs.[0].value}}",
|
|
64
|
+
"onAction": [
|
|
65
|
+
{
|
|
66
|
+
"library": "@digipair/skill-sse",
|
|
67
|
+
"element": "broadcast",
|
|
68
|
+
"properties": {
|
|
69
|
+
"message": {
|
|
70
|
+
"type": "step",
|
|
71
|
+
"content": "EVALUATE: action"
|
|
72
|
+
},
|
|
73
|
+
"id": "{{request.body.userId}}",
|
|
74
|
+
"reasoning": "notification"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"library": "digipair:studio",
|
|
82
|
+
"element": "action-answer",
|
|
83
|
+
"properties": {
|
|
84
|
+
"assistant": "EVALUATE: JSONparse(previous).assistant"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"pins": []
|
|
92
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "This boost is designed to help users change the current task more effectively.",
|
|
3
|
+
"summary": "Change the task",
|
|
4
|
+
"library": "@digipair/skill-chatbot",
|
|
5
|
+
"element": "boost",
|
|
6
|
+
"metadata": {
|
|
7
|
+
"selector": "digipair-editor",
|
|
8
|
+
"url": "-task-editor/",
|
|
9
|
+
"context": []
|
|
10
|
+
},
|
|
11
|
+
"properties": {
|
|
12
|
+
"steps": [
|
|
13
|
+
{
|
|
14
|
+
"name": "Initialisation",
|
|
15
|
+
"execute": [
|
|
16
|
+
{
|
|
17
|
+
"library": "digipair:studio",
|
|
18
|
+
"element": "action-answer",
|
|
19
|
+
"properties": {
|
|
20
|
+
"assistant": "What do you want to do on this task ?",
|
|
21
|
+
"boost": [
|
|
22
|
+
{
|
|
23
|
+
"step": "Execution",
|
|
24
|
+
"prompt": true,
|
|
25
|
+
"required": true,
|
|
26
|
+
"selector": "digipair-editor",
|
|
27
|
+
"url": ".*",
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"library": "@digipair/skill-web-inputs",
|
|
31
|
+
"element": "digipair-input-dom-attribute",
|
|
32
|
+
"properties": {
|
|
33
|
+
"selector": "digipair-editor",
|
|
34
|
+
"attribute": "codeInWorkspace"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "Execution",
|
|
46
|
+
"execute": [
|
|
47
|
+
{
|
|
48
|
+
"library": "@digipair/skill-sse",
|
|
49
|
+
"element": "broadcast",
|
|
50
|
+
"properties": {
|
|
51
|
+
"message": {
|
|
52
|
+
"type": "step",
|
|
53
|
+
"content": "Request analysis"
|
|
54
|
+
},
|
|
55
|
+
"id": "{{request.body.userId}}",
|
|
56
|
+
"reasoning": "notification"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"library": "@digipair/skill-codex",
|
|
61
|
+
"element": "runPrompt",
|
|
62
|
+
"properties": {
|
|
63
|
+
"prompt": "Update the reasoning to answer to the user prompt. \n\n# Useful informations\n## User prompt\n{{ request.body.prompt }}\n\n## Output format: \n{ \"assistant\": [ASSISTANT_ANSWER], \"content\": [FULL_REASONING_JSON_CONTENT] }\n\n## Current agent: \n{{ request.digipair }}\n\n## Current reasoning name: \n{{ request.reasoning }}\n\n## Current reasoning content: \n{{JSONstringify request.body.inputs.[0].value}}",
|
|
64
|
+
"onAction": [
|
|
65
|
+
{
|
|
66
|
+
"library": "@digipair/skill-sse",
|
|
67
|
+
"element": "broadcast",
|
|
68
|
+
"properties": {
|
|
69
|
+
"message": {
|
|
70
|
+
"type": "step",
|
|
71
|
+
"content": "EVALUATE: action"
|
|
72
|
+
},
|
|
73
|
+
"id": "{{request.body.userId}}",
|
|
74
|
+
"reasoning": "notification"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"library": "@digipair/skill-basic",
|
|
82
|
+
"element": "transform",
|
|
83
|
+
"properties": {
|
|
84
|
+
"value": "EVALUATE: JSONparse(previous)"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"library": "digipair:studio",
|
|
89
|
+
"element": "action-answer",
|
|
90
|
+
"properties": {
|
|
91
|
+
"assistant": "EVALUATE: previous.assistant",
|
|
92
|
+
"command": [
|
|
93
|
+
{
|
|
94
|
+
"library": "@digipair/skill-web-interact",
|
|
95
|
+
"element": "dispatchEvent",
|
|
96
|
+
"properties": {
|
|
97
|
+
"selector": "digipair-editor",
|
|
98
|
+
"name": "setReasoning",
|
|
99
|
+
"detail": "EVALUATE: parent.previous.content"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"pins": []
|
|
110
|
+
}
|
|
@@ -1 +1,44 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "Studio",
|
|
3
|
+
"description": "Un agent qui gère les travailleurs et supervise les tâches.",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"avatar": "avatar.png",
|
|
6
|
+
"primary": "#51E0DC",
|
|
7
|
+
"textPrimary": "#242E3B",
|
|
8
|
+
"secondary": "#242E3B",
|
|
9
|
+
"textSecondary": "#FFFFFF",
|
|
10
|
+
"shared": null
|
|
11
|
+
},
|
|
12
|
+
"libraries": {
|
|
13
|
+
"@digipair/skill-service": "latest",
|
|
14
|
+
"@digipair/skill-chatbot": "latest",
|
|
15
|
+
"@digipair/skill-dsp": "latest",
|
|
16
|
+
"@digipair/skill-factory": "latest",
|
|
17
|
+
"@digipair/skill-basic": "latest",
|
|
18
|
+
"@digipair/skill-codex": "latest",
|
|
19
|
+
"@digipair/skill-editor": "latest",
|
|
20
|
+
"@digipair/skill-http": "latest",
|
|
21
|
+
"@digipair/skill-canvas": "latest",
|
|
22
|
+
"@digipair/skill-cron": "latest",
|
|
23
|
+
"@digipair/skill-web": "latest",
|
|
24
|
+
"@digipair/skill-yaml": "latest",
|
|
25
|
+
"@digipair/skill-debug": "latest",
|
|
26
|
+
"@digipair/skill-web-chatbot": "latest",
|
|
27
|
+
"@digipair/skill-web-inputs": "latest",
|
|
28
|
+
"@digipair/skill-web-interact": "latest",
|
|
29
|
+
"@digipair/skill-web-spectrum": "latest",
|
|
30
|
+
"@digipair/skill-web-font-awesome": "latest",
|
|
31
|
+
"@digipair/skill-web-notification": "latest",
|
|
32
|
+
"@digipair/skill-web-jsoneditor": "latest",
|
|
33
|
+
"@digipair/skill-web-editor": "latest",
|
|
34
|
+
"@digipair/skill-web-debug": "latest"
|
|
35
|
+
},
|
|
36
|
+
"webLibraries": {
|
|
37
|
+
"blockly": "latest",
|
|
38
|
+
"toastify-js": "latest"
|
|
39
|
+
},
|
|
40
|
+
"variables": {},
|
|
41
|
+
"privates": {},
|
|
42
|
+
"id": "config",
|
|
43
|
+
"digipair": "studio"
|
|
44
|
+
}
|
|
Binary file
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a digipair from OpenAPI",
|
|
3
|
-
"description": "Adding a new digipair from OpenAPI v3.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Api" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Api",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"signature": "\"Extract the information for creating the digipair from the user's comment\"\ncomment:string \"User's comment describing the digipair to create\" -> \n name:string \"Very short name of the agent from the comment\", \n description:string \"Short description of the agent from the comment\", \n assistant:string \"Assistant's response to confirm that the digipair has been successfully added and recall to the user to update his API key from the agent configuration\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "digipair:admin",
|
|
44
|
-
"element": "answer",
|
|
45
|
-
"properties": {
|
|
46
|
-
"assistant": "What is the OpenAPI v3 JSON url ?",
|
|
47
|
-
"boost": [
|
|
48
|
-
{
|
|
49
|
-
"prompt": true,
|
|
50
|
-
"required": true,
|
|
51
|
-
"step": "Execution",
|
|
52
|
-
"inputs": [
|
|
53
|
-
{
|
|
54
|
-
"library": "@digipair/skill-web-inputs",
|
|
55
|
-
"element": "digipair-input-hidden",
|
|
56
|
-
"properties": {
|
|
57
|
-
"value": {
|
|
58
|
-
"digipair": "EVALUATE:request.body.prompt",
|
|
59
|
-
"name": "EVALUATE:variables.infos.name",
|
|
60
|
-
"description": "EVALUATE:variables.infos.description",
|
|
61
|
-
"assistant": "EVALUATE:variables.infos.assistant"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "Execution",
|
|
74
|
-
"execute": [
|
|
75
|
-
{
|
|
76
|
-
"library": "@digipair/skill-basic",
|
|
77
|
-
"element": "setVariable",
|
|
78
|
-
"properties": {
|
|
79
|
-
"name": "openapi",
|
|
80
|
-
"execute": [
|
|
81
|
-
{
|
|
82
|
-
"library": "@digipair/skill-http",
|
|
83
|
-
"element": "read",
|
|
84
|
-
"properties": { "path": "EVALUATE:request.body.prompt" }
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"library": "@digipair/skill-basic",
|
|
91
|
-
"element": "setVariable",
|
|
92
|
-
"properties": {
|
|
93
|
-
"name": "schema",
|
|
94
|
-
"execute": [
|
|
95
|
-
{
|
|
96
|
-
"library": "digipair:admin",
|
|
97
|
-
"element": "openapi2schema",
|
|
98
|
-
"properties": {
|
|
99
|
-
"openapi": "EVALUATE:variables.openapi",
|
|
100
|
-
"digipair": "EVALUATE:request.body.inputs[1].value.digipair",
|
|
101
|
-
"name": "EVALUATE:request.body.inputs[1].value.name",
|
|
102
|
-
"description": "EVALUATE:request.body.inputs[1].value.description"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"library": "@digipair/skill-editor",
|
|
110
|
-
"element": "addDigipair",
|
|
111
|
-
"properties": {
|
|
112
|
-
"template": "openapi-apikey",
|
|
113
|
-
"data": {
|
|
114
|
-
"digipair": "EVALUATE:request.body.inputs[1].value.digipair",
|
|
115
|
-
"name": "EVALUATE:request.body.inputs[1].value.name",
|
|
116
|
-
"description": "EVALUATE:request.body.inputs[1].value.description",
|
|
117
|
-
"openapi": "EVALUATE:variables.openapi",
|
|
118
|
-
"schema": "EVALUATE:variables.schema",
|
|
119
|
-
"api": "EVALUATE:request.body.prompt",
|
|
120
|
-
"key": "API_KEY"
|
|
121
|
-
},
|
|
122
|
-
"digipair": "EVALUATE:request.body.inputs[1].value.digipair"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"library": "digipair:admin",
|
|
127
|
-
"element": "answer",
|
|
128
|
-
"properties": {
|
|
129
|
-
"assistant": "EVALUATE:request.body.inputs[1].value.assistant",
|
|
130
|
-
"command": [
|
|
131
|
-
{
|
|
132
|
-
"library": "@digipair/skill-web-interact",
|
|
133
|
-
"element": "reload"
|
|
134
|
-
}
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"pins": []
|
|
143
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a digipair business process",
|
|
3
|
-
"description": "Adding a new digipair business process.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Execution" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Execution",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"signature": "\"Extract the information for creating the digipair from the user's comment\"\ncomment:string \"User's comment describing the digipair to create\" -> \n name:string \"Very short name of the agent from the comment\", \n description:string \"Short description of the agent from the comment\", \n assistant:string \"Assistant's response to confirm that the digipair has been successfully added\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "@digipair/skill-editor",
|
|
44
|
-
"element": "addDigipair",
|
|
45
|
-
"properties": {
|
|
46
|
-
"template": "business-process",
|
|
47
|
-
"data": {
|
|
48
|
-
"digipair": "EVALUATE:request.body.prompt",
|
|
49
|
-
"name": "EVALUATE:variables.infos.name",
|
|
50
|
-
"description": "EVALUATE:variables.infos.description"
|
|
51
|
-
},
|
|
52
|
-
"digipair": "EVALUATE:request.body.prompt"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"library": "digipair:admin",
|
|
57
|
-
"element": "answer",
|
|
58
|
-
"properties": {
|
|
59
|
-
"assistant": "EVALUATE:variables.infos.assistant",
|
|
60
|
-
"command": [{ "library": "@digipair/skill-web-interact", "element": "reload" }]
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"pins": []
|
|
68
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a digipair expert",
|
|
3
|
-
"description": "Adding a new digipair expert.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Execution" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Execution",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"signature": "\"Extract the information for creating the digipair from the user's comment\"\ncomment:string \"User's comment describing the digipair to create\" -> \n name:string \"Very short name of the agent from the comment\", \n description:string \"Short description of the agent from the comment\", \n assistant:string \"Assistant's response to confirm that the digipair has been successfully added\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "@digipair/skill-editor",
|
|
44
|
-
"element": "addDigipair",
|
|
45
|
-
"properties": {
|
|
46
|
-
"template": "expert",
|
|
47
|
-
"data": {
|
|
48
|
-
"digipair": "EVALUATE:request.body.prompt",
|
|
49
|
-
"name": "EVALUATE:variables.infos.name",
|
|
50
|
-
"description": "EVALUATE:variables.infos.description"
|
|
51
|
-
},
|
|
52
|
-
"digipair": "EVALUATE:request.body.prompt"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"library": "digipair:admin",
|
|
57
|
-
"element": "answer",
|
|
58
|
-
"properties": {
|
|
59
|
-
"assistant": "EVALUATE:variables.infos.assistant",
|
|
60
|
-
"command": [{ "library": "@digipair/skill-web-interact", "element": "reload" }]
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"pins": []
|
|
68
|
-
}
|