Documentation - v1.0.0
    Preparing search index...

    Type Alias Node

    Node: AsyncObject<
        {
            description: string;
            embedding: Embedding
            | null;
            id: NodeId;
            name: string;
            properties: Property[];
        },
    >

    Represents a node in the ontology graph.

    Nodes are the fundamental entities in the ontology that represent concepts, objects, or entities. Each node can have multiple properties and is connected to other nodes through edges. Nodes support semantic embeddings for similarity calculations and can be asynchronously initialized.

    const node: Node = {
    id: "node_person",
    name: "Person",
    description: "A human being",
    embedding: [0.1, 0.2, 0.3, 0.4],
    properties: [ageProperty, nameProperty],
    };