File size: 695 Bytes
4bea841
 
 
 
 
 
 
7f1778f
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""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