modvoyageai

package
v1.24.11 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "text2vec-voyageai"

Variables

This section is empty.

Functions

This section is empty.

Types

type VoyageAIModule

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

func New

func New() *VoyageAIModule

func (*VoyageAIModule) AdditionalProperties

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

func (*VoyageAIModule) Arguments

func (*VoyageAIModule) ClassConfigDefaults

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

func (*VoyageAIModule) Init

func (*VoyageAIModule) InitExtension

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

func (*VoyageAIModule) MetaInfo

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

func (*VoyageAIModule) Name

func (m *VoyageAIModule) Name() string

func (*VoyageAIModule) PropertyConfigDefaults

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

func (*VoyageAIModule) RootHandler

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

func (*VoyageAIModule) Type

func (*VoyageAIModule) ValidateClass

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

func (*VoyageAIModule) VectorSearches

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

func (*VoyageAIModule) VectorizeInput

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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