mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 15:06:50 +08:00
### What problem does this PR solve? Feat: Add the example component of the classification operator #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
11
web/src/interfaces/database/agent.ts
Normal file
11
web/src/interfaces/database/agent.ts
Normal file
@ -0,0 +1,11 @@
|
||||
export interface ICategorizeItem {
|
||||
name: string;
|
||||
description?: string;
|
||||
examples?: { value: string }[];
|
||||
index: number;
|
||||
}
|
||||
|
||||
export type ICategorizeItemResult = Record<
|
||||
string,
|
||||
Omit<ICategorizeItem, 'name' | 'examples'> & { examples: string[] }
|
||||
>;
|
||||
Reference in New Issue
Block a user