search
Go library for embedded vector search and semantic embeddings using llama.cpp
File Explorer
Download Latest Version (.zip)- test.yml
- demo.gif
- FUNDING.yml
- logo.png
- settings.json
- libllama_go.so
- libllama_go.so
- vulkan-shaders-gen
- llama_go.dll
- llama_go.dll
- vulkan-shaders-gen.exe
- dataset.bin
- dataset.txt
- MiniLM-L6-v2.Q8_0.gguf
- main.go
- cosine_apple.go
- cosine_apple.s
- cosine_avx.go
- cosine_avx.s
- cosine_neon.go
- cosine_neon.s
- cosine_stub.go
- simd.go
- simd_test.go
- cosine_apple.c
- cosine_avx.c
- cosine_neon.c
- gen.sh
- main.go
- main_test.go
- CMakeLists.txt
- llama-go.cpp
- llama-go.h
- .gitattributes
- .gitignore
- .gitmodules
- CMakeLists.txt
- go.mod
- go.sum
- index.go
- index_codec.go
- index_test.go
- LICENSE
- llama.cpp
- llama.go
- llama_test.go
- loader.go
- loader_test.go
- loader_unix.go
- loader_windows.go
- README.md
π Installation Guide
git clone https://github.com/kelindar/search
Downloads the entire project code from GitHub to your computer.
cd search
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- APT (Debian/Ubuntu κ³μ΄) Built into Debian/Ubuntu-based Linux distributions.
- Homebrew A package manager for macOS/Linux.
sudo apt-get install build-essential cmake
Installs directly from the APT package repository (Debian/Ubuntu-based).
brew install cmake
Installs the pre-built package via Homebrew β no source build required.
Pulled directly from this repo's README.
3. CMake
Mediumsudo apt-get install build-essential cmake
Installs directly from the APT package repository (Debian/Ubuntu-based).
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc ..
Type this command into your terminal and run it.
cmake --build . --config Release
Type this command into your terminal and run it.
brew install cmake
Installs the pre-built package via Homebrew β no source build required.
cmake -DCMAKE_BUILD_TYPE=Release ..
Type this command into your terminal and run it.
Pulled directly from this repo's README.
4. Go
Mediumgo build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
