modclip

package
v1.26.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "multi2vec-clip"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClipModule

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

func New

func New() *ClipModule

func (*ClipModule) Arguments

func (*ClipModule) ClassConfigDefaults

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

func (*ClipModule) Init

func (*ClipModule) InitExtension

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

func (*ClipModule) MetaInfo

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

func (*ClipModule) Name

func (m *ClipModule) Name() string

func (*ClipModule) PropertyConfigDefaults

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

func (*ClipModule) RootHandler

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

func (*ClipModule) Type

func (*ClipModule) ValidateClass

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

func (*ClipModule) VectorSearches

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

func (*ClipModule) VectorizableProperties added in v1.25.0

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

func (*ClipModule) VectorizeBatch added in v1.25.0

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

func (*ClipModule) VectorizeInput

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

func (*ClipModule) VectorizeObject

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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