selfevolveagent / examples /pertqa /debug /save_5_search_top20.json
iLOVE2D's picture
Upload 2846 files
5374a2d verified
Invalid JSON: Unexpected end of JSON input
{
"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": "search_info",
"description": "Extract the information and search.",
"inputs": [
{
"name": "question",
"type": "str",
"description": "The question that needs to be answered.",
"required": true
}
],
"outputs": [
{
"name": "searching_output",
"type": "str",
"description": "The direct output after searching.",
"required": true
}
],
"prompt": "\"\"\"\nPlease search for and return relevant information that directly addresses the question `{question}`. Ensure the output is a clear and concise string that accurately reflects the context of the question. If the information is uncertain or conflicting, indicate this clearly in the output. Validate the information for accuracy before proceeding to the next steps, avoiding unnecessary details or ambiguity.\n\"\"\"",
"prompt_template": {
"class_name": "StringTemplate",
"instruction": "Please search and return the related information in the question. The output format should be in string."
},
"system_prompt": "You are a helpful and highly intelligent assistant.",
"parse_mode": "str",
"parse_func": null,
"parse_title": null,
"tool_names": [
"PertToolkit"
],
"tools": null
},
{
"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
},
{
"name": "searching_output",
"type": "str",
"description": "Search information",
"required": true
}
],
"outputs": [
{
"name": "answer",
"type": "str",
"description": "The direct answer to the question.",
"required": true
}
],
"prompt": "\"\"\"\nUse the context from `{searching_output}` to determine the best answer to `{question}`. Clearly identify any ambiguities or insufficient data that may impact the answer. Provide your final answer in a clear format (Yes or No) after reasoning. Ensure that the answer logically follows from the provided context, aligns with the expected solution criteria, and addresses any discrepancies between predictions and ground-truth solutions before finalizing it.\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 (Yes or No) after reasoning."
},
"system_prompt": "You are a helpful and highly intelligent assistant.",
"parse_mode": "xml",
"parse_func": null,
"parse_title": null,
"tool_names": null,
"tools": [