name
This commit is contained in:
@@ -6,7 +6,7 @@ import { FlowModuleItemType } from '@/types/flow';
|
||||
import Divider from './modules/Divider';
|
||||
import Container from './modules/Container';
|
||||
import RenderInput from './render/RenderInput';
|
||||
import type { RecognizeIntentionAgentItemType } from '@/types/app';
|
||||
import type { ClassifyQuestionAgentItemType } from '@/types/app';
|
||||
import { Handle, Position } from 'reactflow';
|
||||
import { customAlphabet } from 'nanoid';
|
||||
const nanoid = customAlphabet('abcdefghijklmnopqrstuvwxyz1234567890', 4);
|
||||
@@ -30,7 +30,7 @@ const NodeRINode = ({
|
||||
value: agents = []
|
||||
}: {
|
||||
key: string;
|
||||
value?: RecognizeIntentionAgentItemType[];
|
||||
value?: ClassifyQuestionAgentItemType[];
|
||||
}) => (
|
||||
<Box>
|
||||
{agents.map((item, i) => (
|
||||
|
||||
@@ -70,7 +70,7 @@ const nodeTypes = {
|
||||
[FlowModuleTypeEnum.kbSearchNode]: NodeKbSearch,
|
||||
[FlowModuleTypeEnum.tfSwitchNode]: NodeTFSwitch,
|
||||
[FlowModuleTypeEnum.answerNode]: NodeAnswer,
|
||||
[FlowModuleTypeEnum.recognizeIntention]: NodeRINode
|
||||
[FlowModuleTypeEnum.classifyQuestion]: NodeRINode
|
||||
};
|
||||
const edgeTypes = {
|
||||
buttonedge: ButtonEdge
|
||||
|
||||
Reference in New Issue
Block a user