[HN Gopher] Go library for in-process vector search and embeddin...
___________________________________________________________________
Go library for in-process vector search and embeddings with
llama.cpp
Author : kelindar
Score : 10 points
Date : 2024-10-28 06:01 UTC (1 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| kelindar wrote:
| This library was created to provide an easy and efficient
| solution for embeddings and vector search, making it perfect for
| small to medium-scale projects that still need some vector
| search. It's built around a simple idea: if your dataset is small
| enough, you can achieve accurate results with brute-force
| techniques, and with some optimizations like SIMD, you can keep
| things fast and lean.
| biomcgary wrote:
| I love that you chose to wrap the C++ with purego instead of
| requiring CGO! I wrapped Microsoft's Lightgbm library and found
| purego delightful. (To make deployment easier, I embed the
| compiled library into the Go binary and extract it to a temp
| directory at runtime. YMMV.)
___________________________________________________________________
(page generated 2024-10-29 23:00 UTC)