selfevolveagent / examples /antibiotic_pred /debug /save_5_noreason_calltime1_renew-Copy1.json
iLOVE2D's picture
Upload 2846 files
5374a2d verified
{
"class_name": "SequentialWorkFlowGraph",
"goal": "Provide a direct answer to the question based on the context, without including explanations or reasoning.",
"tasks": [
{
"name": "answer_generate",
"description": "Generate a direct answer to the question based on the context.",
"inputs": [
{
"name": "question",
"type": "str",
"description": "The question to answer directly.",
"required": true
}
],
"outputs": [
{
"name": "answer",
"type": "str",
"description": "The direct answer to the question.",
"required": true
}
],
"prompt": "\"\"\"\nProvide a concise and direct answer to the question: {question}. Ensure that the answer is based solely on the provided context and does not include any explanations or reasoning. The answer must be validated against the ground-truth solutions to ensure accuracy and consistency.\n\"\"\"",
"prompt_template": {
"class_name": "StringTemplate",
"instruction": "Provide a concise and direct answer to the question."
},
"system_prompt": "You are a helpful and highly intelligent assistant.",
"parse_mode": "xml",
"parse_func": null,
"parse_title": null,
"tool_names": null,
"tools": null
},
{
"name": "validate_predictions4211",
"description": "Task to validate_predictions4211. Takes answer as input. Produces validated_answer as output.",
"inputs": [
{
"name": "answer",
"type": "str",
"description": "Input parameter answer for validate_predictions4211",
"required": false
}
],
"outputs": [
{
"name": "validated_answer",
"type": "str",
"description": "Output parameter validated_answer from validate_predictions4211",
"required": true
}
],
"prompt": "``` \nINSTRUCTION for the 2-th task:\n\"\"\"\nTo answer the question based on the provided context, follow these steps: \n1. Carefully analyze the context to extract relevant information that directly pertains to the {question}.\n2. Formulate your answer based on this information without including any explanations or reasoning.\n3. Ensure that the answer is validated against the context to confirm its accuracy.\n4. If there are any conflicting interpretations or predictions, resolve them to arrive at a consistent final answer.\n\nFormat your output in XML format, such as <thought>{thought}</thought> and <answer>{answer}</answer>.\n\"\"\" \n```",
"prompt_template": {
"class_name": "StringTemplate",
"instruction": "Think step by step to answer the question based on the question context. You should integrate context for answering. You should explain your thinking process in the 'thought' field, and provide the final answer in the 'answer' field.\nFormat your output in xml format, such as <thought>xxx</thought> and <answer>xxx</answer>."
},
"system_prompt": "You are a helpful and highly intelligent assistant.",
"parse_mode": "xml",
"parse_func": null,
"parse_title": null,
"tool_names": null,
"tools": null
},
{
"name": "handle_conflicts7844",
"description": "Task to handle_conflicts7844. Takes validated_answer as input. Produces final_answer as output.",
"inputs": [
{
"name": "validated_answer",
"type": "str",
"description": "Input parameter validated_answer for handle_conflicts7844",
"required": false
}
],
"outputs": [
{
"name": "final_answer",
"type": "str",
"description": "Output parameter final_answer from handle_conflicts7844",
"required": true
}
],
"prompt": "``` \nINSTRUCTION for the 3-th task:\n\"\"\"\nThink step by step to answer the question based on the context provided in {question}. You should integrate the relevant context effectively to formulate your answer. In the 'thought' field, explain your reasoning process clearly, and in the 'answer' field, provide the final answer directly related to {question}. Format your output in xml format, such as <thought>{thought}</thought> and <answer>{answer}</answer>.\n\"\"\"\n```",
"prompt_template": {
"class_name": "StringTemplate",
"instruction": "Think step by step to answer the question based on the question context. You should integrate context for answering. You should explain your thinking process in the 'thought' field, and provide the final answer in the 'answer' field.\nFormat your output in xml format, such as <thought>xxx</thought> and <answer>xxx</answer>."
},
"system_prompt": "You are a helpful and highly intelligent assistant.",
"parse_mode": "xml",
"parse_func": null,
"parse_title": null,
"tool_names": null,
"tools": null
}
]
}