n8n
Version:
n8n Workflow Automation Tool
16 lines (15 loc) • 528 B
TypeScript
import { WithTimestampsAndStringId } from '@n8n/db';
import type { JSONObject } from '@n8n/agents';
export type MemoryEntryStatus = 'active' | 'superseded' | 'dropped';
export declare class AgentMemoryEntryEntity extends WithTimestampsAndStringId {
agentId: string;
resourceId: string;
content: string;
contentHash: string;
status: MemoryEntryStatus;
supersededBy: string | null;
embeddingModel: string | null;
embedding: number[] | null;
metadata: JSONObject | null;
lastSeenAt: Date;
}