From 51f225e567fb724cd690dbc961eb360d457e5168 Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Mon, 1 Apr 2024 16:57:19 +0800 Subject: [PATCH] fix --- .../components/workflow/block-selector/constants.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/app/components/workflow/block-selector/constants.tsx b/web/app/components/workflow/block-selector/constants.tsx index 64997036b9..92719f943f 100644 --- a/web/app/components/workflow/block-selector/constants.tsx +++ b/web/app/components/workflow/block-selector/constants.tsx @@ -14,6 +14,11 @@ export const BLOCKS: Block[] = [ type: BlockEnum.LLM, title: 'LLM', }, + { + classification: BlockClassificationEnum.Default, + type: BlockEnum.KnowledgeRetrieval, + title: 'Knowledge Retrieval', + }, { classification: BlockClassificationEnum.Default, type: BlockEnum.End, @@ -24,11 +29,6 @@ export const BLOCKS: Block[] = [ type: BlockEnum.Answer, title: 'Direct Answer', }, - { - classification: BlockClassificationEnum.QuestionUnderstand, - type: BlockEnum.KnowledgeRetrieval, - title: 'Knowledge Retrieval', - }, { classification: BlockClassificationEnum.QuestionUnderstand, type: BlockEnum.QuestionClassifier,