I do hope Salvatore keeps doing emulators for MCUs, though :)
I do hope Salvatore keeps doing emulators for MCUs, though :)
VADD key [VALUES <float float ...> | FP32 <binary blob>] element
VSIM key [VALUES ... | FP32 ... | ELE ...] [COUNT <count>] [EPSION <max distance>]
VCARD key (number of elements)
VDIM key (dimension of the vectors)
VDEL key <ele>
And so forth. However there are nice things you can enable, if you want. For instance VADD has the [REDUCE] option that implements random projection in order to reduce the dimensionality of your embeddings. Less memory, and it is faster. And so forth.
Will work on it during xmas, it's quite fun.
It implements on-insertion normalization and int8 quantization. The algorithm to insert nodes inside the HNSW attempts to never leave isolated nodes and to get good quality links and so forth. More hacking needed.