Member Junction
    Preparing search index...

    In-memory IArtifactLoader for unit tests. Holds artifact bytes keyed by file id and returns them on load. No database, no MJStorage.

    Bridges the training-side InMemoryArtifactStore: pass its Saved map (keyed by the returned file id, with { Bytes }) so a model trained in-memory is directly loadable for scoring in the same test.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Fetch the serialized artifact bytes previously stored under fileId.

      Parameters

      • fileId: string

        the MLModel.ArtifactFileID value

      • Optional_contextUser: UserInfo

        request user — required server-side for isolation/audit

      Returns Promise<Uint8Array<ArrayBufferLike>>

      the artifact bytes, or null when not found