{ "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": "\"\"\"\nProvide a concise and direct answer to the question `{question}` based on the provided context. Ensure that the answer clearly distinguishes between potential and confirmed antibacterial activity, and aligns with established solutions. Avoid ambiguity by using specific criteria for determining the answer, and indicate if further research or validation is necessary.\n\"\"\"", "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 }, { "name": "ambiguity_check35939993", "description": "Task to ambiguity_check35939993. Takes answer as input. Produces validated_answer as output.", "inputs": [ { "name": "answer", "type": "str", "description": "Input parameter answer for ambiguity_check35939993", "required": false } ], "outputs": [ { "name": "validated_answer", "type": "str", "description": "Output parameter validated_answer from ambiguity_check35939993", "required": true } ], "prompt": "```xml\n\"\"\"\nThink step by step to answer the question based on the provided context. Ensure that you clearly define the criteria for determining antibacterial efficacy and integrate specific information regarding antibacterial activity into your answer. In the 'thought' field, explain your reasoning process, addressing any potential ambiguities or uncertainties in the context. Provide the final answer in the 'answer' field, ensuring it is supported by the context. Format your output in XML format, such as {thought} and {answer}.\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, "tools": null }, { "name": "validation_step7295306", "description": "Task to validation_step7295306. Takes validated_answer as input. Produces final_answer as output.", "inputs": [ { "name": "validated_answer", "type": "str", "description": "Input parameter validated_answer for validation_step7295306", "required": false } ], "outputs": [ { "name": "final_answer", "type": "str", "description": "Output parameter final_answer from validation_step7295306", "required": true } ], "prompt": "``` \nINSTRUCTION for the 3-th task:\n\"\"\"\nCarefully analyze the provided context to determine the most accurate answer to the question. If the answer is ambiguous or uncertain, clearly indicate this in your output. Format your response in XML, using to describe your reasoning process and to provide the final answer. Ensure that the answer aligns with the context and is definitive where possible. If an answer cannot be determined, state that explicitly in the field.\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, "tools": null } ] }