chatbolt-dev / apps /agent-service /libs /shared /src /entities /knowledge-item.entity.d.ts
MTayyaBH
Refactor code structure for improved readability and maintainability
d714fad
Raw
History Blame Contribute Delete
390 Bytes
import { Agent } from './agent.entity';
export declare enum KnowledgeType {
TEXT = "text",
FAQ = "faq",
DOCUMENT = "document",
URL = "url"
}
export declare class KnowledgeItem {
id: string;
agent_id: string;
title: string;
content: string;
type: KnowledgeType;
search_vector: string;
is_active: boolean;
created_at: Date;
agent: Agent;
}