modpalm

package
v1.21.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "text2vec-palm"

Variables

This section is empty.

Functions

This section is empty.

Types

type PalmModule

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

func New

func New() *PalmModule

func (*PalmModule) AdditionalProperties

func (m *PalmModule) AdditionalProperties() map[string]modulecapabilities.AdditionalProperty

func (*PalmModule) Arguments

func (*PalmModule) ClassConfigDefaults

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

func (*PalmModule) Init

func (*PalmModule) InitExtension

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

func (*PalmModule) MetaInfo

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

func (*PalmModule) Name

func (m *PalmModule) Name() string

func (*PalmModule) PropertyConfigDefaults

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

func (*PalmModule) RootHandler

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

func (*PalmModule) Type

func (*PalmModule) ValidateClass

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

func (*PalmModule) VectorSearches

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

func (*PalmModule) VectorizeInput

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

func (*PalmModule) VectorizeObject

func (m *PalmModule) 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