@claude-flow/embeddings
Version:
V3 Embedding Service - OpenAI, Transformers.js, Agentic-Flow (ONNX), Mock providers with hyperbolic embeddings, normalization, and chunking
18 lines • 688 B
TypeScript
/**
* ADR-121 Phase 5b — DiskannSnapshot tests.
*
* Tests run with the optional peer dep MOCKED ABSENT so we exercise
* the named-error path deterministically. The "real backend"
* end-to-end test (streaming insert → build → search → save → load)
* runs in the CI smoke against the actual @ruvector/diskann module
* when present.
*
* Acceptance:
* - DiskannSnapshot.create throws a clear, named error when the
* peer dep is missing
* - diskannAvailable() returns false (boolean, no throw)
* - Error message names the package + the RabitqSnapshot fallback
* so callers know what to do
*/
export {};
//# sourceMappingURL=diskann-snapshot.test.d.ts.map