Versions in this module Expand all Collapse all v0 v0.1.0 Nov 1, 2026 Changes in this version + func Chunks(title, body string) []string + type Embedder interface + Embed func(context.Context, []string) ([][]float32, error) + Model func() string + type ErrUnavailable struct + Model string + Reason string + URL string + func (e *ErrUnavailable) Error() string + type Ollama struct + Client *http.Client + ModelName string + URL string + func (o Ollama) Embed(ctx context.Context, texts []string) ([][]float32, error) + func (o Ollama) Model() string