Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/memory / / ResolutionCandidate

Interface: ResolutionCandidate

Defined in: packages/memory/src/graph/entity-resolver.ts:58

Minimal candidate shape the pure policy compares against.

Properties

PropertyModifierTypeDescriptionDefined in
embedderId?readonlystring | nullMST-11: the embedder that produced vector. When both this and the query's vectorEmbedderId are known and differ, the candidate is skipped for embedding comparison - vectors from different models live in different spaces, so their cosine is meaningless. Absent on either side ⇒ compared (byte-identical to the prior behaviour).packages/memory/src/graph/entity-resolver.ts:69
idreadonlystring-packages/memory/src/graph/entity-resolver.ts:59
normalizedNamereadonlystring-packages/memory/src/graph/entity-resolver.ts:60
vectorreadonlyFloat32Array<ArrayBufferLike> | null-packages/memory/src/graph/entity-resolver.ts:61