vectorstore

package
v0.0.0-...-f03bf9e Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VectorStore

type VectorStore interface {
	Store(ctx context.Context, element *models.Element, extra map[string]any) error
	Search(ctx context.Context, query models.DocQuery, vectors []float32, k int) ([]*models.Doc, error)
	Get(ctx context.Context, oid int64, name string, group int) (*models.Element, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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