modbind

package
v1.26.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "multi2vec-bind"

Variables

This section is empty.

Functions

This section is empty.

Types

type BindModule

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

func New

func New() *BindModule

func (*BindModule) Arguments

func (*BindModule) ClassConfigDefaults

func (m *BindModule) ClassConfigDefaults() map[string]interface{}

func (*BindModule) Init

func (*BindModule) InitExtension

func (m *BindModule) InitExtension(modules []modulecapabilities.Module) error

func (*BindModule) MetaInfo

func (m *BindModule) MetaInfo() (map[string]interface{}, error)

func (*BindModule) Name

func (m *BindModule) Name() string

func (*BindModule) PropertyConfigDefaults

func (m *BindModule) PropertyConfigDefaults(
	dt *schema.DataType,
) map[string]interface{}

func (*BindModule) RootHandler

func (m *BindModule) RootHandler() http.Handler

func (*BindModule) Type

func (*BindModule) ValidateClass

func (m *BindModule) ValidateClass(ctx context.Context,
	class *models.Class, cfg moduletools.ClassConfig,
) error

func (*BindModule) VectorSearches

func (m *BindModule) VectorSearches() map[string]modulecapabilities.VectorForParams

func (*BindModule) VectorizableProperties added in v1.25.0

func (m *BindModule) VectorizableProperties(cfg moduletools.ClassConfig) (bool, []string, error)

func (*BindModule) VectorizeBatch added in v1.25.0

func (m *BindModule) VectorizeBatch(ctx context.Context, objs []*models.Object, skipObject []bool, cfg moduletools.ClassConfig) ([][]float32, []models.AdditionalProperties, map[int]error)

func (*BindModule) VectorizeInput

func (m *BindModule) VectorizeInput(ctx context.Context,
	input string, cfg moduletools.ClassConfig,
) ([]float32, error)

func (*BindModule) VectorizeObject

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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