memory-likehuman-pro - v1.5.0
    Preparing search index...

    Interface BmNode

    记忆节点(Brain Memory Node)。 知识图谱中的基本单元,包含 8 类记忆分类、类型、内容、衰减权重等。

    interface BmNode {
        accessCount: number;
        category:
            | "profile"
            | "preferences"
            | "entities"
            | "events"
            | "tasks"
            | "skills"
            | "cases"
            | "patterns";
        communityId: string;
        content: string;
        createdAt: number;
        description: string;
        id: string;
        importance: number;
        lastAccessedAt: number;
        name: string;
        pagerank: number;
        scopeAgent: string;
        scopeSession: string;
        scopeWorkspace: string;
        source: "user"
        | "assistant";
        sourceSessions: string[];
        status: NodeStatus;
        temporalType: "static" | "dynamic";
        type: GraphNodeType;
        updatedAt: number;
        validatedCount: number;
    }
    Index

    Properties

    accessCount: number
    category:
        | "profile"
        | "preferences"
        | "entities"
        | "events"
        | "tasks"
        | "skills"
        | "cases"
        | "patterns"
    communityId: string
    content: string
    createdAt: number
    description: string
    id: string
    importance: number

    衰减模型字段

    lastAccessedAt: number
    name: string
    pagerank: number
    scopeAgent: string
    scopeSession: string

    Scope isolation fields

    scopeWorkspace: string
    source: "user" | "assistant"

    Knowledge source: "user"=user message, "assistant"=AI reply

    sourceSessions: string[]
    status: NodeStatus
    temporalType: "static" | "dynamic"

    Temporal: static facts vs dynamic info

    updatedAt: number
    validatedCount: number