Spaces:
Runtime error
Runtime error
| """Task Statements""" | |
| def get_better_task_statement(question_text: str, file_name: str = None) -> str: | |
| """Get Task Satement""" | |
| task_statement = question_text | |
| if file_name: | |
| local_file_name = "/".join(["data", file_name]) | |
| file_info = f"File {local_file_name} related to task is stored locally on disk." | |
| task_statement = " ".join([question_text, file_info]) | |
| agent_run_statement = f"""Your are providing answers on GAIA test questions which | |
| require prescribed and precise answers for GAIA scoring. | |
| Your answers should satisfy the General AI Assistant(GAIA): AI Agents Evaluation Benchmark. | |
| {task_statement} | |
| """ | |
| return agent_run_statement | |