mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 15:06:50 +08:00
Fix: Fixed the issue that the condition of deleting the classification operator cannot be connected anymore #3221 (#9068)
### What problem does this PR solve? Fix: Fixed the issue that the condition of deleting the classification operator cannot be connected anymore #3221 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -4,11 +4,12 @@ export interface ICategorizeItem {
|
||||
examples?: { value: string }[];
|
||||
index: number;
|
||||
to: string[];
|
||||
uuid: string;
|
||||
}
|
||||
|
||||
export type ICategorizeItemResult = Record<
|
||||
string,
|
||||
Omit<ICategorizeItem, 'name' | 'examples'> & { examples: string[] }
|
||||
Omit<ICategorizeItem, 'name' | 'examples' | 'uuid'> & { examples: string[] }
|
||||
>;
|
||||
|
||||
export interface ISwitchCondition {
|
||||
@ -101,6 +102,7 @@ export interface IGenerateForm {
|
||||
|
||||
export interface ICategorizeForm extends IGenerateForm {
|
||||
category_description: ICategorizeItemResult;
|
||||
items: ICategorizeItem[];
|
||||
}
|
||||
|
||||
export interface IRelevantForm extends IGenerateForm {
|
||||
|
||||
Reference in New Issue
Block a user