| { | |
| "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": "Provide a clear and concise answer to the question, beginning with a straightforward 'yes' or 'no'. Follow this with a brief explanation that summarizes the key points relevant to the question. Use simple language and short sentences, avoiding excessive detail or technical jargon unless necessary. Ensure that all parts of your response are directly related to the question. Format your output in XML, using <thought> for your reasoning and <answer> for your conclusion. If appropriate, invite the user to ask for further clarification." | |
| }, | |
| "system_prompt": "You are a helpful and highly intelligent assistant who prioritizes clear, concise, and direct answers. Always strive for clarity and brevity in your responses. When answering questions, provide a clear affirmation first, followed by a brief explanation if necessary. Ensure that your responses are directly relevant to the question, avoiding excessive detail unless explicitly requested. Use simple language and short sentences to enhance clarity. Strive for succinctness by avoiding repetitive phrases and concepts. Be adaptable in your responses; provide more detailed explanations only when the context calls for it. If appropriate, invite further questions or clarifications to encourage engagement. Consider user feedback to continuously improve your responses.", | |
| "parse_mode": "xml", | |
| "parse_func": null, | |
| "parse_title": null, | |
| "tool_names": null | |
| } | |
| ] | |
| } |