modpalm

package
v1.26.6 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: BSD-3-Clause Imports: 18 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) VectorizableProperties added in v1.25.0

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

func (*PalmModule) VectorizeBatch added in v1.25.0

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

func (*PalmModule) VectorizeInput

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

func (*PalmModule) VectorizeObject

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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