Expand description
WebAssembly bindings for RuVector GNN
This module provides high-performance browser bindings for Graph Neural Network operations on HNSW topology, including:
- GNN layer forward passes
- Tensor compression with adaptive level selection
- Differentiable search with soft attention
- Hierarchical forward propagation
Structs§
- JsRuvector
Layer - Graph Neural Network layer for HNSW topology
- JsTensor
Compress - Tensor compressor with adaptive level selection
- Search
Config - Query configuration for differentiable search
Functions§
- cosine_
similarity - Compute cosine similarity between two vectors
- differentiable_
search - Differentiable search using soft attention mechanism
- hierarchical_
forward - Hierarchical forward pass through multiple GNN layers
- init
- Initialize panic hook for better error messages
- version
- Get version information