Feat: Add the example component of the classification operator #3221 (#7986)

### 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:
balibabu
2025-05-30 19:25:32 +08:00
committed by GitHub
parent 93f5df716f
commit 259a7fc7f1
5 changed files with 147 additions and 95 deletions

View 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[] }
>;