embed

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats struct {
	Chunks  int
	Tokens  int
	Batches int
}

Stats holds the counters produced by a single EmbedMissing run.

func EmbedMissing

func EmbedMissing(ctx context.Context, db *storage.DB, embedder embeddings.Embedder) (Stats, error)

EmbedMissing finds all chunks without embeddings and embeds them. Returns Stats describing the run.

Jump to

Keyboard shortcuts

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