Skip to content

Graphorin API reference v0.13.8


Graphorin API reference / @graphorin/memory / / EntityWithEmbedding

Interface: EntityWithEmbedding

Defined in: packages/memory/src/internal/storage-adapter.ts:826

A canonical GraphEntity returned with its name embedding so the resolver can run cosine dedup in-process (entity counts are small).

Extends

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
createdAtreadonlystring-GraphEntity.createdAtpackages/core/dist/types/memory.d.ts
embedderIdreadonlystring | null--packages/memory/src/internal/storage-adapter.ts:828
idreadonlystring-GraphEntity.idpackages/core/dist/types/memory.d.ts
mergedInto?readonlystringCanonical pointer. undefined ⇒ this entity is itself a root. Otherwise it is the id of the surviving entity this one was merged into; single-level by construction, so mergedInto ?? id resolves the canonical id without a recursive walk.GraphEntity.mergedIntopackages/core/dist/types/memory.d.ts
namereadonlystringDisplay name as first observed (the surface form that minted it).GraphEntity.namepackages/core/dist/types/memory.d.ts
normalizedNamereadonlystringCase/space-folded key used for lexical dedup + the canonical unique index.GraphEntity.normalizedNamepackages/core/dist/types/memory.d.ts
updatedAt?readonlystring-GraphEntity.updatedAtpackages/core/dist/types/memory.d.ts
userIdreadonlystring-GraphEntity.userIdpackages/core/dist/types/memory.d.ts
vectorreadonlyFloat32Array<ArrayBufferLike> | null--packages/memory/src/internal/storage-adapter.ts:827