modoctoai

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: 16 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "text2vec-octoai"

Variables

This section is empty.

Functions

This section is empty.

Types

type OctoAIModule

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

func New

func New() *OctoAIModule

func (*OctoAIModule) AdditionalProperties

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

func (*OctoAIModule) Arguments

func (*OctoAIModule) ClassConfigDefaults

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

func (*OctoAIModule) Init

func (*OctoAIModule) InitExtension

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

func (*OctoAIModule) MetaInfo

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

func (*OctoAIModule) Name

func (m *OctoAIModule) Name() string

func (*OctoAIModule) PropertyConfigDefaults

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

func (*OctoAIModule) RootHandler

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

func (*OctoAIModule) Type

func (*OctoAIModule) ValidateClass

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

func (*OctoAIModule) VectorSearches

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

func (*OctoAIModule) VectorizableProperties

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

func (*OctoAIModule) VectorizeBatch

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

func (*OctoAIModule) VectorizeInput

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

func (*OctoAIModule) VectorizeObject

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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