Member Junction
    Preparing search index...

    Production IFeatureDataAccess backed by @memberjunction/core's RunView. Always passes contextUser so server-side reads honor per-user data isolation. Constructed with an optional IMetadataProvider for multi-provider correctness (CLAUDE.md) — the provider, when supplied, is the one the reads run against.

    Implements

    Index

    Constructors

    Methods

    • Parameters

      • _entity: string
      • _recordId: string
      • _embeddingModelRef: string
      • _dims: number

      Returns Promise<number[]>

      SEAM (plan §5.2): wiring persisted embeddings is a later-phase task (PS-FEAT-1 pulls persisted vectors; the concrete read depends on the vector-store binding — pgvector / Qdrant / Pinecone / SQL Server via EntityVectorSyncer). Until that binding is wired, this returns null (no persisted embedding), which the executor handles by emitting zero-filled embedding columns. It MUST NOT regenerate embeddings inline — embeddings are persisted + version-pinned (anti-skew, §6.5). Tests inject vectors directly via an in-memory IFeatureDataAccess, so this stub never blocks them.