#43 · Primary category: Vector Databases

search

ai bert embeddings gguf gpu llamacpp search-engine semantic-search simd vector-search

Go library for embedded vector search and semantic embeddings using llama.cpp

Project last updated:03/06/26

GitHub Stars

559

Forks

24

Contributors

2

License

MIT

Why we included this project

Semantic search in Go usually means either calling out to a separate vector database or wiring up a client library and hoping the pieces fit. This library takes a different route: it bundles embedding generation and vector lookup into a single embeddable package. It loads GGUF BERT models through llama.cpp, computes embeddings in-process, and stores them in a simple index you can persist to disk and query with brute-force similarity. The design is honest about its limits, targeting datasets under roughly 100,000 entries, where SIMD-optimized exhaustive search stays fast enough that you can skip the operational overhead of a dedicated vector store. It also calls llama.cpp through purego instead of cgo, which keeps cross-compilation and deployment of Go binaries simple, and Vulkan GPU acceleration is available on Windows and Linux when you need the extra speed.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category