{
"class_name": "SEWWorkFlowGraph",
"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": "Think step by step to answer the question. 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 xxx and xxx."
},
"system_prompt": "You are a helpful and highly intelligent assistant.",
"parse_mode": "xml",
"parse_func": null,
"parse_title": null,
"tool_names": null,
"tools": null
}
]
}