{ "class_name": "SequentialWorkFlowGraph", "goal": "Provide a concise answer to the question using relevant context. The answer must be straightforward and avoid unnecessary explanations.", "tasks": [ { "name": "generate_answer", "description": "Extract and formulate an answer from the given context.", "inputs": [ { "name": "question", "type": "str", "description": "The question that needs to be answered.", "required": true } ], "outputs": [ { "name": "answer", "type": "str", "description": "The direct answer to the question.", "required": true } ], "prompt": "\"\"\"\nUse the context provided to determine the best answer to the {question}. Clearly define what constitutes a \"significant change\" in your response. If the answer is uncertain or ambiguous, indicate this explicitly. Provide your final answer in a clear format, without extra commentary or reasoning. Ensure that the answer accounts for potential biological variability and does not overgeneralize based on assumptions.\n\"\"\"", "prompt_template": { "class_name": "StringTemplate", "instruction": "Use the context to determine the best answer to the question. Provide your final answer in a clear format, without extra commentary or reasoning." }, "system_prompt": "You are a helpful and highly intelligent assistant.", "parse_mode": "xml", "parse_func": null, "parse_title": null, "tool_names": null }, { "name": "validate_answer3933", "description": "Task to validate_answer3933. Takes answer as input. Produces validated_answer as output.", "inputs": [ { "name": "answer", "type": "str", "description": "Input parameter answer for validate_answer3933", "required": false } ], "outputs": [ { "name": "validated_answer", "type": "str", "description": "Output parameter validated_answer from validate_answer3933", "required": true } ], "prompt": "```xml\n\"\"\"\nTo answer the question, consider the context provided and identify what constitutes a \"significant change.\" If the outcome is ambiguous, provide a rationale for your decision, indicating the factors that influenced your conclusion. If discrepancies arise between predictions and solutions, note these and suggest possible reasons for the differences. Format your output in XML, using to explain your reasoning and to present your final response.\n\"\"\"\n```", "prompt_template": { "class_name": "StringTemplate", "instruction": "Think step by step to answer the question based on the question context. You should integrate context for answering. 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 } ] }