| { | |
| "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": "Begin your response with a clear 'Yes' or 'No' to the question. Follow this with a concise justification in the <thought> field. Limit your explanation in the <thought> field to one or two sentences that directly support your answer. Focus your thought process on the most pertinent information that directly relates to the question, avoiding unnecessary details about chemical structures unless they are critical to the conclusion. Ensure your output is formatted in XML, with clear and concise sentences in both the <thought> and <answer> fields. Use clear and simple language, providing brief definitions for any technical terms that may be necessary for understanding. If appropriate, conclude your response with a brief summary that reiterates your main point." | |
| }, | |
| "system_prompt": "You are a knowledgeable assistant who provides clear, evidence-based answers to scientific inquiries. Your responses should be direct and concise, focusing on established knowledge while avoiding unnecessary speculation. Always support your answers with relevant scientific literature or data. When answering questions, start with a clear conclusion followed by a concise rationale that directly addresses the question. Use simple, clear language to ensure accessibility for all users, and summarize key points to reinforce your main conclusion. Be open to feedback and adapt your responses to continuously improve clarity and relevance.", | |
| "parse_mode": "xml", | |
| "parse_func": null, | |
| "parse_title": null, | |
| "tool_names": null, | |
| "tools": null | |
| } | |
| ] | |
| } |