feat: basic entities of kb

This commit is contained in:
Junyan Qin
2025-06-29 21:00:48 +08:00
parent 22ef1a399e
commit bbf583ddb5
6 changed files with 221 additions and 0 deletions
@@ -0,0 +1,23 @@
export interface IKnowledgeBaseVO {
id: string;
name: string;
description: string;
embeddingModelUUID: string;
lastUpdatedTimeAgo: string;
}
export class KnowledgeBaseVO implements IKnowledgeBaseVO {
id: string;
name: string;
description: string;
embeddingModelUUID: string;
lastUpdatedTimeAgo: string;
constructor(props: IKnowledgeBaseVO) {
this.id = props.id;
this.name = props.name;
this.description = props.description;
this.embeddingModelUUID = props.embeddingModelUUID;
this.lastUpdatedTimeAgo = props.lastUpdatedTimeAgo;
}
}