gabikadlecova commited on
Commit
0c07a0e
·
verified ·
1 Parent(s): 56c6f68

Upload job_description.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. job_description.json +377 -0
job_description.json ADDED
@@ -0,0 +1,377 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_description": "You are an intelligent AI assistant that helps users navigate and manage files in the Gorilla file system. Given a command or request from the user, call the appropriate file system function to complete the request. You can perform operations such as navigating directories, creating and deleting files and folders, reading and writing file contents, searching for files, comparing files, and other basic file operations.",
3
+ "tools": [
4
+ {
5
+ "type": "function",
6
+ "function": {
7
+ "name": "cat",
8
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Display the contents of a file of any extension from currrent directory.",
9
+ "parameters": {
10
+ "type": "object",
11
+ "properties": {
12
+ "file_name": {
13
+ "type": "string",
14
+ "description": "The name of the file from current directory to display. No path is allowed. "
15
+ }
16
+ },
17
+ "required": [
18
+ "file_name"
19
+ ]
20
+ }
21
+ }
22
+ },
23
+ {
24
+ "type": "function",
25
+ "function": {
26
+ "name": "cd",
27
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Change the current working directory to the specified folder.",
28
+ "parameters": {
29
+ "type": "object",
30
+ "properties": {
31
+ "folder": {
32
+ "type": "string",
33
+ "description": "The folder of the directory to change to. You can only change one folder level at a time. "
34
+ }
35
+ },
36
+ "required": [
37
+ "folder"
38
+ ]
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "type": "function",
44
+ "function": {
45
+ "name": "cp",
46
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Copy a file or directory from one location to another. If the destination is a directory, the source file or directory will be copied into the destination directory. Both source and destination must be local to the current directory.",
47
+ "parameters": {
48
+ "type": "object",
49
+ "properties": {
50
+ "source": {
51
+ "type": "string",
52
+ "description": "The name of the file or directory to copy."
53
+ },
54
+ "destination": {
55
+ "type": "string",
56
+ "description": "The destination name to copy the file or directory to. If the destination is a directory, the source will be copied into this directory. No file paths allowed. "
57
+ }
58
+ },
59
+ "required": [
60
+ "source",
61
+ "destination"
62
+ ]
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "type": "function",
68
+ "function": {
69
+ "name": "diff",
70
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Compare two files of any extension line by line at the current directory.",
71
+ "parameters": {
72
+ "type": "object",
73
+ "properties": {
74
+ "file_name1": {
75
+ "type": "string",
76
+ "description": "The name of the first file in current directory."
77
+ },
78
+ "file_name2": {
79
+ "type": "string",
80
+ "description": "The name of the second file in current directory. "
81
+ }
82
+ },
83
+ "required": [
84
+ "file_name1",
85
+ "file_name2"
86
+ ]
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "type": "function",
92
+ "function": {
93
+ "name": "du",
94
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Estimate the disk usage of a directory and its contents.",
95
+ "parameters": {
96
+ "type": "object",
97
+ "properties": {
98
+ "human_readable": {
99
+ "type": "boolean",
100
+ "description": "If True, returns the size in human-readable format (e.g., KB, MB). ",
101
+ "default": false
102
+ }
103
+ },
104
+ "required": []
105
+ }
106
+ }
107
+ },
108
+ {
109
+ "type": "function",
110
+ "function": {
111
+ "name": "echo",
112
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Write content to a file at current directory or display it in the terminal.",
113
+ "parameters": {
114
+ "type": "object",
115
+ "properties": {
116
+ "content": {
117
+ "type": "string",
118
+ "description": "The content to write or display."
119
+ },
120
+ "file_name": {
121
+ "type": "string",
122
+ "description": "The name of the file at current directory to write the content to. Defaults to None. ",
123
+ "default": "None"
124
+ }
125
+ },
126
+ "required": [
127
+ "content"
128
+ ]
129
+ }
130
+ }
131
+ },
132
+ {
133
+ "type": "function",
134
+ "function": {
135
+ "name": "find",
136
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Find any file or directories under specific path that contain name in its file name. This method searches for files of any extension and directories within a specified path that match the given name. If no name is provided, it returns all files and directories in the specified path and its subdirectories. Note: This method performs a recursive search through all subdirectories of the given path.",
137
+ "parameters": {
138
+ "type": "object",
139
+ "properties": {
140
+ "path": {
141
+ "type": "string",
142
+ "description": "The directory path to start the search. Defaults to the current directory (\".\").",
143
+ "default": "."
144
+ },
145
+ "name": {
146
+ "type": "string",
147
+ "description": "The name of the file or directory to search for. If None, all items are returned. ",
148
+ "default": "None"
149
+ }
150
+ },
151
+ "required": []
152
+ }
153
+ }
154
+ },
155
+ {
156
+ "type": "function",
157
+ "function": {
158
+ "name": "grep",
159
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Search for lines in a file of any extension at current directory that contain the specified pattern.",
160
+ "parameters": {
161
+ "type": "object",
162
+ "properties": {
163
+ "file_name": {
164
+ "type": "string",
165
+ "description": "The name of the file to search. No path is allowed and you can only perform on file at local directory."
166
+ },
167
+ "pattern": {
168
+ "type": "string",
169
+ "description": "The pattern to search for. "
170
+ }
171
+ },
172
+ "required": [
173
+ "file_name",
174
+ "pattern"
175
+ ]
176
+ }
177
+ }
178
+ },
179
+ {
180
+ "type": "function",
181
+ "function": {
182
+ "name": "ls",
183
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: List the contents of the current directory.",
184
+ "parameters": {
185
+ "type": "object",
186
+ "properties": {
187
+ "a": {
188
+ "type": "boolean",
189
+ "description": "Show hidden files and directories. Defaults to False. ",
190
+ "default": false
191
+ }
192
+ },
193
+ "required": []
194
+ }
195
+ }
196
+ },
197
+ {
198
+ "type": "function",
199
+ "function": {
200
+ "name": "mkdir",
201
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Create a new directory in the current directory.",
202
+ "parameters": {
203
+ "type": "object",
204
+ "properties": {
205
+ "dir_name": {
206
+ "type": "string",
207
+ "description": "The name of the new directory at current directory. You can only create directory at current directory."
208
+ }
209
+ },
210
+ "required": [
211
+ "dir_name"
212
+ ]
213
+ }
214
+ }
215
+ },
216
+ {
217
+ "type": "function",
218
+ "function": {
219
+ "name": "mv",
220
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Move a file or directory from one location to another.",
221
+ "parameters": {
222
+ "type": "object",
223
+ "properties": {
224
+ "source": {
225
+ "type": "string",
226
+ "description": "Source name of the file or directory to move. Source must be local to the current directory."
227
+ },
228
+ "destination": {
229
+ "type": "string",
230
+ "description": "The destination name to move the file or directory to. Destination must be local to the current directory and cannot be a path. If destination is not an existing directory like when renaming something, destination is the new file name. "
231
+ }
232
+ },
233
+ "required": [
234
+ "source",
235
+ "destination"
236
+ ]
237
+ }
238
+ }
239
+ },
240
+ {
241
+ "type": "function",
242
+ "function": {
243
+ "name": "pwd",
244
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Return the current working directory path.",
245
+ "parameters": {
246
+ "type": "object",
247
+ "properties": {},
248
+ "required": []
249
+ }
250
+ }
251
+ },
252
+ {
253
+ "type": "function",
254
+ "function": {
255
+ "name": "rm",
256
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Remove a file or directory.",
257
+ "parameters": {
258
+ "type": "object",
259
+ "properties": {
260
+ "file_name": {
261
+ "type": "string",
262
+ "description": "The name of the file or directory to remove. "
263
+ }
264
+ },
265
+ "required": [
266
+ "file_name"
267
+ ]
268
+ }
269
+ }
270
+ },
271
+ {
272
+ "type": "function",
273
+ "function": {
274
+ "name": "rmdir",
275
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Remove a directory at current directory.",
276
+ "parameters": {
277
+ "type": "object",
278
+ "properties": {
279
+ "dir_name": {
280
+ "type": "string",
281
+ "description": "The name of the directory to remove. Directory must be local to the current directory. "
282
+ }
283
+ },
284
+ "required": [
285
+ "dir_name"
286
+ ]
287
+ }
288
+ }
289
+ },
290
+ {
291
+ "type": "function",
292
+ "function": {
293
+ "name": "sort",
294
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Sort the contents of a file line by line.",
295
+ "parameters": {
296
+ "type": "object",
297
+ "properties": {
298
+ "file_name": {
299
+ "type": "string",
300
+ "description": "The name of the file appeared at current directory to sort. "
301
+ }
302
+ },
303
+ "required": [
304
+ "file_name"
305
+ ]
306
+ }
307
+ }
308
+ },
309
+ {
310
+ "type": "function",
311
+ "function": {
312
+ "name": "tail",
313
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Display the last part of a file of any extension.",
314
+ "parameters": {
315
+ "type": "object",
316
+ "properties": {
317
+ "file_name": {
318
+ "type": "string",
319
+ "description": "The name of the file to display. No path is allowed and you can only perform on file at local directory."
320
+ },
321
+ "lines": {
322
+ "type": "integer",
323
+ "description": "The number of lines to display from the end of the file. Defaults to 10. ",
324
+ "default": 10
325
+ }
326
+ },
327
+ "required": [
328
+ "file_name"
329
+ ]
330
+ }
331
+ }
332
+ },
333
+ {
334
+ "type": "function",
335
+ "function": {
336
+ "name": "touch",
337
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Create a new file of any extension in the current directory.",
338
+ "parameters": {
339
+ "type": "object",
340
+ "properties": {
341
+ "file_name": {
342
+ "type": "string",
343
+ "description": "The name of the new file in the current directory. file_name is local to the current directory and does not allow path."
344
+ }
345
+ },
346
+ "required": [
347
+ "file_name"
348
+ ]
349
+ }
350
+ }
351
+ },
352
+ {
353
+ "type": "function",
354
+ "function": {
355
+ "name": "wc",
356
+ "description": "This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Count the number of lines, words, and characters in a file of any extension from current directory.",
357
+ "parameters": {
358
+ "type": "object",
359
+ "properties": {
360
+ "file_name": {
361
+ "type": "string",
362
+ "description": "Name of the file of current directory to perform wc operation on."
363
+ },
364
+ "mode": {
365
+ "type": "string",
366
+ "description": "Mode of operation ('l' for lines, 'w' for words, 'c' for characters). ",
367
+ "default": "l"
368
+ }
369
+ },
370
+ "required": [
371
+ "file_name"
372
+ ]
373
+ }
374
+ }
375
+ }
376
+ ]
377
+ }