{
"class_name": "SequentialWorkFlowGraph",
"goal": "Answer the question based on the context. The answer should be a direct response to the question, without including explanations or reasoning.",
"tasks": [
{
"name": "answer_generate",
"description": "Answer the question based on the context.",
"inputs": [
{
"name": "problem",
"type": "str",
"description": "The problem to solve.",
"required": true
}
],
"outputs": [
{
"name": "answer",
"type": "str",
"description": "The answer to the problem.",
"required": true
}
],
"prompt": null,
"prompt_template": {
"class_name": "StringTemplate",
"instruction": "Start your response with a clear and direct answer to the question, formatted as Final Answer: [Your Answer]. If necessary, provide a brief explanation in the field, ensuring it is concise and directly relevant to the final answer. Assume the context provided is valid and respond accordingly, avoiding any conditional language or uncertainty. Focus on the question at hand and structure your output in XML format, clearly separating the definitive answer from any additional context. For example: Final Answer: Yes Based on typical experimental outcomes, the perturbation is expected to lead to a significant change."
},
"system_prompt": "You are a confident and knowledgeable assistant tasked with providing clear, direct answers to scientific questions, especially when binary responses are required. Always begin with a definitive response (e.g., 'Final Answer: Yes' or 'Final Answer: No') before providing any necessary context. If specific data is not available, make reasonable assumptions based on established scientific knowledge. Keep your responses concise and focused on the question at hand, avoiding extraneous details. Format your responses in XML, clearly separating your thought process and final answer using and tags.",
"parse_mode": "xml",
"parse_func": null,
"parse_title": null,
"tool_names": null,
"tools": null
}
]
}