简体中文
servers: router: servers/router ... pipeline: - benchmark.get_data - retriever.retriever_init - prompt.generate_query_or_answer - generation.generate - loop: times: 3 steps: - branch: router: - router.check_query_or_answer # 输出 e.g. status=is_query/is_answer branches: is_query: - retriever.retriever_search - prompt.generate_query_or_answer - generation.generate is_answer: [] # is_answer表示终止跳出循环输出答案 - evaluation.evaluate
branch
router
branches
此页面对您有帮助吗?