feat: Extract the code for building categorize operator coordinates to hooks.ts #1739 (#2005)

### What problem does this PR solve?

feat: Extract the code for building categorize operator coordinates to
hooks.ts #1739

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-19 19:00:04 +08:00
committed by GitHub
parent 9cfd521d67
commit 85f10f84bd
7 changed files with 115 additions and 77 deletions

View File

@ -485,7 +485,7 @@ export const NodeMap = {
[Operator.BaiduFanyi]: 'ragNode',
[Operator.QWeather]: 'ragNode',
[Operator.ExeSQL]: 'ragNode',
[Operator.Switch]: 'logicNode',
[Operator.Switch]: 'categorizeNode',
};
export const LanguageOptions = [