embeddings

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScheduleWarmMissing added in v1.4.6

func ScheduleWarmMissing(ctx context.Context, store storage.Provider, b *bus.Bus, embeddingModel string, limit int)

ScheduleWarmMissing publishes after:block:indexed for sources that have blocks missing embeddings for embeddingModel (debounced by the embeddings plugin).

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin indexes block embeddings after SQLite replace. Paths are debounced and coalesced; each file's blocks are embedded with a small parallel worker pool.

func Register

func Register(b *bus.Bus, store storage.Provider, llm ai.LLMProvider) *Plugin

Register subscribes to after:block:indexed. llm may be nil (plugin does nothing).

Jump to

Keyboard shortcuts

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