feat: 模型数据导入

This commit is contained in:
archer
2023-03-30 01:04:52 +08:00
parent f32c557bdd
commit 2b2c70e53d
16 changed files with 415 additions and 76 deletions

View File

@@ -8,3 +8,12 @@ export interface ModelUpdateParams {
service: ModelSchema.service;
security: ModelSchema.security;
}
export interface ModelDataItemType {
id: string;
status: 0 | 1; // 1代表向量生成完毕
q: string; // 提问词
a: string; // 原文
modelId: string;
userId: string;
}