Documentation ¶
Index ¶
- Constants
- type VoyageAIModule
- func (m *VoyageAIModule) AdditionalProperties() map[string]modulecapabilities.AdditionalProperty
- func (m *VoyageAIModule) Arguments() map[string]modulecapabilities.GraphQLArgument
- func (m *VoyageAIModule) ClassConfigDefaults() map[string]interface{}
- func (m *VoyageAIModule) Init(ctx context.Context, params moduletools.ModuleInitParams) error
- func (m *VoyageAIModule) InitExtension(modules []modulecapabilities.Module) error
- func (m *VoyageAIModule) MetaInfo() (map[string]interface{}, error)
- func (m *VoyageAIModule) Name() string
- func (m *VoyageAIModule) PropertyConfigDefaults(dt *schema.DataType) map[string]interface{}
- func (m *VoyageAIModule) RootHandler() http.Handler
- func (m *VoyageAIModule) Type() modulecapabilities.ModuleType
- func (m *VoyageAIModule) ValidateClass(ctx context.Context, class *models.Class, cfg moduletools.ClassConfig) error
- func (m *VoyageAIModule) VectorSearches() map[string]modulecapabilities.VectorForParams
- func (m *VoyageAIModule) VectorizeInput(ctx context.Context, input string, cfg moduletools.ClassConfig) ([]float32, error)
- func (m *VoyageAIModule) VectorizeObject(ctx context.Context, obj *models.Object, ...) ([]float32, models.AdditionalProperties, error)
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 (m *VoyageAIModule) Arguments() map[string]modulecapabilities.GraphQLArgument
func (*VoyageAIModule) ClassConfigDefaults ¶
func (m *VoyageAIModule) ClassConfigDefaults() map[string]interface{}
func (*VoyageAIModule) Init ¶
func (m *VoyageAIModule) Init(ctx context.Context, params moduletools.ModuleInitParams, ) error
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 (m *VoyageAIModule) Type() modulecapabilities.ModuleType
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)
func (*VoyageAIModule) VectorizeObject ¶
func (m *VoyageAIModule) VectorizeObject(ctx context.Context, obj *models.Object, comp moduletools.VectorizablePropsComparator, cfg moduletools.ClassConfig, ) ([]float32, models.AdditionalProperties, error)
Click to show internal directories.
Click to hide internal directories.