UNPKG

@claude-flow/embeddings

Version:

V3 Embedding Service - OpenAI, Transformers.js, Agentic-Flow (ONNX), Mock providers with hyperbolic embeddings, normalization, and chunking

17 lines • 694 B
/** * ADR-121 Phase 3b — `@ruvector/attention`-backed Poincaré op tests. * * Tests run with the optional peer dep MOCKED ABSENT so we exercise * the fallback path deterministically. The "real backend reachable" * path is exercised in the CI smoke against the actual native * binding (when CI's OS/arch has it). * * Acceptance: * - All async ops return Float32Array of correct dimension * - hyperbolicAttentionAvailable() returns boolean (no throw) * - Fallback path produces values consistent with hand-rolled * hyperbolic.ts (within numerical tolerance) * - Default curvature = 1.0 when omitted */ export {}; //# sourceMappingURL=hyperbolic-attention.test.d.ts.map