-
Notifications
You must be signed in to change notification settings - Fork 0
/
request.txt
executable file
·99 lines (90 loc) · 2.11 KB
/
request.txt
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Here is the list of skills and their descriptions:
Skill: read-file
Description: This skill allows you to read a file.
Example:
{
"args": [
"file-name"
],
"description": "This skill allows you to read a file.",
"skill": "read-file"
}
Skill: write-file
Description: This skill writes to a file.
Example:
{
"args": [
"file-name",
"file-content"
],
"description": "This skill writes to a file.",
"skill": "write-file"
}
Skill: delete-file
Description: This skill deletes a file.
Example:
{
"args": [
"file-name"
],
"description": "This skill deletes a file.",
"skill": "delete-file"
}
Skill: list-files
Description: This skill lists the files.
Example:
{
"description": "This skill lists the files.",
"skill": "list-files"
}
Skill: done
Description: This skill indicates that work is finished.
Example:
{
"description": "This skill indicates that work is finished.",
"skill": "done"
}
Skill should start with <skill-start> and end with <skill-end> so that it can be parsed.
<task-start>
create a github actions yaml to upload the content of the website to an S3 bucket
<task-end>
Here are the skills that will complete the task in order:
<skill-start>
{
"skill": "list-files"
}
<skill-end>
<result-start>
{
"output": "Makefile, README.md, about.html, contact.html, deploy.sh, index.html, main.go"
}
<result-end>
<skill-start>
{
"args": [
"deploy.sh"
],
"skill": "read-file"
}
<skill-end>
<result-start>
{
"output": "#!/bin/bash\n\naz group create -n myResourceGroup -l eastus\n\naz vm create --resource-group myResourceGroup --name myVM --image UbuntuLTS --admin-username azureuser --generate-ssh-keys"
}
<result-end>
<skill-start>
{
"args": [
"s3-bucket-name",
"deploy.sh",
"#!/bin/bash\n\naz group create -n myResourceGroup -l eastus\n\naz vm create --resource-group myResourceGroup --name myVM --image UbuntuLTS --admin-username azureuser --generate-ssh-keys"
],
"skill": "write-file"
}
<skill-end>
<result-start>
{
"output": "File written successfully."
}
<result-end>
<skill-start>