Interface MemoryCopyFilter

Which episodic records IKnowledgeGraph.deleteMemories deletes: those whose context.memoryTraceId is one of traceIds, and those whose context.scope and context.scopeId are one of scopes. A pair, not a bare scope id: one id names several scopes (user:42 and organization:42).

interface MemoryCopyFilter {
    traceIds?: readonly string[];
    scopes?: readonly {
        scope: string;
        scopeId: string;
    }[];
}

Properties

Properties

traceIds?: readonly string[]
scopes?: readonly {
    scope: string;
    scopeId: string;
}[]