embedder

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalEmbedder

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

func NewLocalEmbedder

func NewLocalEmbedder() (*LocalEmbedder, error)

func (*LocalEmbedder) Close

func (e *LocalEmbedder) Close() error

func (*LocalEmbedder) Embed

func (e *LocalEmbedder) Embed(ctx context.Context, text string) ([]float32, error)

func (*LocalEmbedder) EmbedBatch

func (e *LocalEmbedder) EmbedBatch(ctx context.Context, texts []string) ([][]float32, error)

Jump to

Keyboard shortcuts

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