/
githubmirror
/
agents
Обзор
Документация
Войти
/
githubmirror
/
agents
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
examples/hotpotqa/configs/SOP.json
78 строк
3 KB
OE-Heart
Upload agents2.0
25 июн 2024, 13:31
25 июн 2024, 13:31
80b8e99
Код
Авторство
О чём код?
{ "nodes": { "analyse_node": { "node_name": "analyse_node", "controller": { "route_type": "order", "transit_type": "order", "max_chat_nums": 20, "transit_system_prompt": "", "transit_last_prompt": "", "transit_extract_word": "end", "route_system_prompt": "", "route_last_prompt": "", "route_extract_word": "end" }, "begin_role": "role_analyse", "node_description": "answer the question directly", "tools": "", "node_roles_description": { "role_analyse": "answer this question" }, "node_prompt_templates": { "step_analyse": "Please answer this question: {question}, please be sure to answer directly. Wrap your answer in <result></result>" }, "node_prompt_paddings": { "role_analyse": { "step_analyse": { "value_source": "case", "value": "input_data" } } } }, "summary_node": { "node_name": "summary_node", "controller": { "route_type": "order", "transit_type": "order", "max_chat_nums": 20, "transit_system_prompt": "", "transit_last_prompt": "", "transit_extract_word": "end", "route_system_prompt": "", "route_last_prompt": "", "route_extract_word": "end" }, "begin_role": "role_summary", "node_description": "summarize the analysis results of the previous step and give the final result.", "tools": "", "node_roles_description": { "role_summary": "reform the answer, make it more clear, wrap it in <result></result>" }, "node_prompt_templates": { "step_summary": "Summarize the key findings from the previous step concisely and present the final result within <result></result> tags. Please be as short and direct as possible, and give the answer directly in <result>" }, "node_prompt_paddings": { "role_summary": { "step_summary": { "value_source": "case", "value": "input_data" } } } } }, "edges": { "analyse_node": [ "analyse_node", "summary_node" ], "summary_node": [ "summary_node", "end_node" ] }, "root": "analyse_node", "end": "end_node" }