| { | |
| "username": "Alice", | |
| "date": "2020-05-01", | |
| "weekday": "Friday", | |
| "time": "10:00 AM", | |
| "task": "read company revenues, save the top 2 in top2.xlsx, generate reports.docx", | |
| "evaluation": [ | |
| { | |
| "function": "evaluate_file_exist", | |
| "args": { | |
| "file": "data/reports.docx" | |
| } | |
| }, | |
| { | |
| "function": "evaluate_contain", | |
| "args": { | |
| "doc_type": "xlsx", | |
| "file": "data/top2.xlsx", | |
| "keywords": [ | |
| "2014", | |
| "2015" | |
| ] | |
| } | |
| }, | |
| { | |
| "function": "evaluate_contain", | |
| "args": { | |
| "doc_type": "docx", | |
| "file": "data/reports.docx", | |
| "keywords": [ | |
| "revenues" | |
| ] | |
| } | |
| } | |
| ] | |
| } |