Documentation - v1.0.0
    Preparing search index...

    Type Alias Property

    Property: AsyncObject<
        {
            description: string;
            embedding: Embedding
            | null;
            id: PropertyId;
            name: string;
        },
    >

    Represents a property in the ontology system.

    Properties are key-value pairs that can be attached to nodes, edges, or graphs. They can have semantic embeddings for similarity calculations and are designed to support asynchronous loading of embeddings.

    const property: Property = {
    id: "property_age",
    name: "Age",
    description: "The age of a person in years",
    embedding: [0.1, 0.2, 0.3],
    };