chromem-go

(โ˜… 1,047)

Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence.

  • .gitignore
  • CHANGELOG.md
  • collection.go
  • collection_test.go
  • db.go
  • db_test.go
  • document.go
  • document_test.go
  • embed_cohere.go
  • embed_compat.go
  • embed_ollama.go
  • embed_ollama_test.go
  • embed_openai.go
  • embed_openai_test.go
  • embed_vertex.go
  • fixtures_test.go
  • go.mod
  • go.sum
  • LICENSE
  • persistence.go
  • persistence_test.go
  • query.go
  • query_test.go
  • README.md
  • vector.go

# Installation Guide

1. Get the code
git clone https://github.com/philippgille/chromem-go

Downloads the entire project code from GitHub to your computer.

cd chromem-go

Moves into the project folder you just downloaded.

2. Go

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
go build ./...

Compiles the Go program into an executable.

go run .

Runs the Go program directly without a separate build step.

โœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation