Skip to content

Golang Abstraction over an OSS Vector Database - meant to be a Primitive to handle Vector Embeddings using Raw or Pretrained Models.

Notifications You must be signed in to change notification settings

kuro337/vectorize-go

Repository files navigation


 ██████╗  ██████╗     ███╗   ███╗██╗██╗    ██╗   ██╗██╗   ██╗███████╗
██╔════╝ ██╔═══██╗    ████╗ ████║██║██║    ██║   ██║██║   ██║██╔════╝
██║  ███╗██║   ██║    ██╔████╔██║██║██║    ██║   ██║██║   ██║███████╗
██║   ██║██║   ██║    ██║╚██╔╝██║██║██║    ╚██╗ ██╔╝██║   ██║╚════██║
╚██████╔╝╚██████╔╝    ██║ ╚═╝ ██║██║███████╗╚████╔╝ ╚██████╔╝███████║
 ╚═════╝  ╚═════╝     ╚═╝     ╚═╝╚═╝╚══════╝ ╚═══╝   ╚═════╝ ╚══════╝

Vector DB Interface

  • Running
# Start Milvus DB and MinIO
docker-compose up -d

# Run the server
go run .

# Run the server with performance profiling enabled
go run . -perf

Tests and Benchmarks

# Run all tests in package
go test -v ./...

# Run all benchmarks in package
go test -bench ./...

# View all benchmarks in project
go test -list '.*' ./...

go test -bench=.

# Memory and CPU
go test -bench=. -benchmem -cpuprofile cpu.out -memprofile mem.out

# Use pprof to view the metrics
go tool pprof -http=:8080 cpu.out
go tool pprof -http=:8080 mem.out

About

Golang Abstraction over an OSS Vector Database - meant to be a Primitive to handle Vector Embeddings using Raw or Pretrained Models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages