modclip

package
v1.18.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) VectorizeInput

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

func (*ClipModule) VectorizeObject

func (m *ClipModule) VectorizeObject(ctx context.Context,
	obj *models.Object, objDiff *moduletools.ObjectDiff, cfg moduletools.ClassConfig,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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