| { | |
| "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": null, | |
| "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 | |
| } | |
| ] | |
| } |