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
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
createdAt | readonly | string | - | GraphEntity.createdAt | packages/core/dist/types/memory.d.ts |
embedderId | readonly | string | null | - | - | packages/memory/src/internal/storage-adapter.ts:828 |
id | readonly | string | - | GraphEntity.id | packages/core/dist/types/memory.d.ts |
mergedInto? | readonly | string | Canonical 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.mergedInto | packages/core/dist/types/memory.d.ts |
name | readonly | string | Display name as first observed (the surface form that minted it). | GraphEntity.name | packages/core/dist/types/memory.d.ts |
normalizedName | readonly | string | Case/space-folded key used for lexical dedup + the canonical unique index. | GraphEntity.normalizedName | packages/core/dist/types/memory.d.ts |
updatedAt? | readonly | string | - | GraphEntity.updatedAt | packages/core/dist/types/memory.d.ts |
userId | readonly | string | - | GraphEntity.userId | packages/core/dist/types/memory.d.ts |
vector | readonly | Float32Array<ArrayBufferLike> | null | - | - | packages/memory/src/internal/storage-adapter.ts:827 |