feat: kb crud

This commit is contained in:
archer
2023-05-17 19:30:43 +08:00
parent 021add2af4
commit a79429fdcd
57 changed files with 1186 additions and 788 deletions

3
src/types/pg.d.ts vendored
View File

@@ -1,10 +1,11 @@
import { ModelDataStatusEnum } from '@/constants/model';
export interface PgModelDataItemType {
export interface PgKBDataItemType {
id: string;
q: string;
a: string;
status: `${ModelDataStatusEnum}`;
model_id: string;
user_id: string;
kb_id: string;
}