export interface IKnowledgeBaseVO { id: string; name: string; description: string; embeddingModelUUID: string; top_k: number; lastUpdatedTimeAgo: string; emoji?: string; } export class KnowledgeBaseVO implements IKnowledgeBaseVO { id: string; name: string; description: string; embeddingModelUUID: string; top_k: number; lastUpdatedTimeAgo: string; emoji?: string; constructor(props: IKnowledgeBaseVO) { this.id = props.id; this.name = props.name; this.description = props.description; this.embeddingModelUUID = props.embeddingModelUUID; this.top_k = props.top_k; this.lastUpdatedTimeAgo = props.lastUpdatedTimeAgo; this.emoji = props.emoji; } }