feat: dataset folder

This commit is contained in:
archer
2023-09-08 18:06:57 +08:00
parent 971c9cb291
commit 0b0f184dd1
22 changed files with 417 additions and 79 deletions

View File

@@ -1,12 +1,15 @@
import { KbTypeEnum } from '@/constants/kb';
export type KbUpdateParams = {
id: string;
name: string;
tags: string;
avatar: string;
tags?: string;
name?: string;
avatar?: string;
};
export type CreateKbParams = {
parentId?: string;
name: string;
tags: string[];
avatar: string;
vectorModel: string;
vectorModel?: string;
type: `${KbTypeEnum}`;
};