gorm-vec

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

gorm-vec example: side-by-side pattern for combining gorm-managed schema with sqlite-vec virtual tables. gorm owns the canonical Documents table (typed model, AutoMigrate, normal CRUD); the vec.Table holds embeddings keyed by Document.ID. KNN returns rowids, gorm fetches the matching documents.

This is the recommended pattern when "gorm-vec integration" comes up — no AutoMigrate magic, no virtual-table gymnastics, just shared rowids.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL