- Add `fixed_ip` field to all 369 JSON files in examples directory - Set to `true` for 8 files listed in google_chrome.json multi_apps - Set to `false` for remaining 361 files - Add `possibility_of_env_change` field to 363 JSON files missing this field - Set to "low" for newly added fields - Preserve existing values (4 medium, 2 high) for 6 files that already had this field This ensures consistent configuration schema across all evaluation examples while maintaining backward compatibility with existing settings.
182 lines
4.6 KiB
JSON
182 lines
4.6 KiB
JSON
{
|
|
"id": "78aed49a-a710-4321-a793-b611a7c5b56b",
|
|
"snapshot": "chrome",
|
|
"instruction": "Could you help me save all attachments of the oldest email in Bills local folders to the attachment/ folder in Google Drive and then move this email to a different folder \"have_seen\" in Local Folders.",
|
|
"source": "https://marketplace.uipath.com/listings/upload-email-attachments-from-gmail-to-google-drive",
|
|
"config": [
|
|
{
|
|
"type": "googledrive",
|
|
"parameters": {
|
|
"settings_file": "evaluation_examples/settings/googledrive/settings.yml",
|
|
"operation": [
|
|
"delete"
|
|
],
|
|
"args": [
|
|
{
|
|
"query": "title = 'attachment' and 'root' in parents and trashed = false",
|
|
"trash": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"google-chrome",
|
|
"--remote-debugging-port=1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"socat",
|
|
"tcp-listen:9222,fork",
|
|
"tcp:localhost:1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome_open_tabs",
|
|
"parameters": {
|
|
"urls_to_open": [
|
|
"https://stackoverflow.com/",
|
|
"https://paperswithcode.com/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "login",
|
|
"parameters": {
|
|
"settings_file": "evaluation_examples/settings/google/settings.json",
|
|
"platform": "googledrive"
|
|
}
|
|
},
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/78aed49a-a710-4321-a793-b611a7c5b56b/thunderbird-profile.tar.gz",
|
|
"path": "/home/user/thunderbird-profile.tar.gz"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"tar",
|
|
"-xz",
|
|
"--recursive-unlink",
|
|
"-f",
|
|
"/home/user/thunderbird-profile.tar.gz",
|
|
"-C",
|
|
"/home/user/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"/usr/bin/thunderbird"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"thunderbird",
|
|
"chrome"
|
|
],
|
|
"evaluator": {
|
|
"func": [
|
|
"check_thunderbird_folder",
|
|
"compare_pdfs"
|
|
],
|
|
"result": [
|
|
{
|
|
"type": "vm_file",
|
|
"multi": true,
|
|
"path": [
|
|
"/home/user/.thunderbird/t5q2a5hp.default-release/Mail/Local Folders/have_seen",
|
|
"/home/user/.thunderbird/t5q2a5hp.default-release/Mail/Local Folders/Bills"
|
|
],
|
|
"dest": [
|
|
"have_seen",
|
|
"Bills"
|
|
],
|
|
"gives": [
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"type": "googledrive_file",
|
|
"settings_file": "evaluation_examples/settings/googledrive/settings.yml",
|
|
"path_list": [
|
|
[
|
|
"attachment",
|
|
"Invoice-01234567-89ab.pdf"
|
|
],
|
|
[
|
|
"attachment",
|
|
"Receipt-0123-4567.pdf"
|
|
]
|
|
],
|
|
"dest": [
|
|
"Invoice-01234567-89ab.pdf",
|
|
"Receipt-0123-4567.pdf"
|
|
]
|
|
}
|
|
],
|
|
"expected": [
|
|
{
|
|
"type": "cloud_file",
|
|
"multi": true,
|
|
"path": [
|
|
"https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/78aed49a-a710-4321-a793-b611a7c5b56b/have_seen.bin",
|
|
"https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/78aed49a-a710-4321-a793-b611a7c5b56b/Bills.bin"
|
|
],
|
|
"dest": [
|
|
"have_seen_gold",
|
|
"Bills_gold"
|
|
],
|
|
"gives": [
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"type": "cloud_file",
|
|
"multi": true,
|
|
"path": [
|
|
"https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/78aed49a-a710-4321-a793-b611a7c5b56b/Invoice-01234567-89ab.pdf",
|
|
"https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/78aed49a-a710-4321-a793-b611a7c5b56b/Receipt-0123-4567.pdf"
|
|
],
|
|
"dest": [
|
|
"Invoice-01234567-89ab_gold.pdf",
|
|
"Receipt-0123-4567_gold.pdf"
|
|
],
|
|
"gives": [
|
|
0,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"options": [
|
|
{
|
|
"remove_deleted": true,
|
|
"remove_duplicate": true
|
|
},
|
|
{}
|
|
]
|
|
},
|
|
"proxy": true,
|
|
"fixed_ip": true,
|
|
"possibility_of_env_change": "low"
|
|
} |