Documentation ¶
Index ¶
- Constants
- type BindModule
- func (m *BindModule) Arguments() map[string]modulecapabilities.GraphQLArgument
- func (m *BindModule) ClassConfigDefaults() map[string]interface{}
- func (m *BindModule) Init(ctx context.Context, params moduletools.ModuleInitParams) error
- func (m *BindModule) InitExtension(modules []modulecapabilities.Module) error
- func (m *BindModule) MetaInfo() (map[string]interface{}, error)
- func (m *BindModule) Name() string
- func (m *BindModule) PropertyConfigDefaults(dt *schema.DataType) map[string]interface{}
- func (m *BindModule) RootHandler() http.Handler
- func (m *BindModule) Type() modulecapabilities.ModuleType
- func (m *BindModule) ValidateClass(ctx context.Context, class *models.Class, cfg moduletools.ClassConfig) error
- func (m *BindModule) VectorSearches() map[string]modulecapabilities.VectorForParams
- func (m *BindModule) VectorizableProperties(cfg moduletools.ClassConfig) (bool, []string, error)
- func (m *BindModule) VectorizeBatch(ctx context.Context, objs []*models.Object, skipObject []bool, ...) ([][]float32, []models.AdditionalProperties, map[int]error)
- func (m *BindModule) VectorizeInput(ctx context.Context, input string, cfg moduletools.ClassConfig) ([]float32, error)
- func (m *BindModule) VectorizeObject(ctx context.Context, obj *models.Object, cfg moduletools.ClassConfig) ([]float32, models.AdditionalProperties, error)
Constants ¶
View Source
const Name = "multi2vec-bind"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindModule ¶
type BindModule struct {
// contains filtered or unexported fields
}
func New ¶
func New() *BindModule
func (*BindModule) Arguments ¶
func (m *BindModule) Arguments() map[string]modulecapabilities.GraphQLArgument
func (*BindModule) ClassConfigDefaults ¶
func (m *BindModule) ClassConfigDefaults() map[string]interface{}
func (*BindModule) Init ¶
func (m *BindModule) Init(ctx context.Context, params moduletools.ModuleInitParams, ) error
func (*BindModule) InitExtension ¶
func (m *BindModule) InitExtension(modules []modulecapabilities.Module) error
func (*BindModule) MetaInfo ¶
func (m *BindModule) MetaInfo() (map[string]interface{}, error)
func (*BindModule) Name ¶
func (m *BindModule) Name() string
func (*BindModule) PropertyConfigDefaults ¶
func (m *BindModule) PropertyConfigDefaults( dt *schema.DataType, ) map[string]interface{}
func (*BindModule) RootHandler ¶
func (m *BindModule) RootHandler() http.Handler
func (*BindModule) Type ¶
func (m *BindModule) Type() modulecapabilities.ModuleType
func (*BindModule) ValidateClass ¶
func (m *BindModule) ValidateClass(ctx context.Context, class *models.Class, cfg moduletools.ClassConfig, ) error
func (*BindModule) VectorSearches ¶
func (m *BindModule) VectorSearches() map[string]modulecapabilities.VectorForParams
func (*BindModule) VectorizableProperties ¶ added in v1.25.0
func (m *BindModule) VectorizableProperties(cfg moduletools.ClassConfig) (bool, []string, error)
func (*BindModule) VectorizeBatch ¶ added in v1.25.0
func (m *BindModule) VectorizeBatch(ctx context.Context, objs []*models.Object, skipObject []bool, cfg moduletools.ClassConfig) ([][]float32, []models.AdditionalProperties, map[int]error)
func (*BindModule) VectorizeInput ¶
func (m *BindModule) VectorizeInput(ctx context.Context, input string, cfg moduletools.ClassConfig, ) ([]float32, error)
func (*BindModule) VectorizeObject ¶
func (m *BindModule) VectorizeObject(ctx context.Context, obj *models.Object, cfg moduletools.ClassConfig, ) ([]float32, models.AdditionalProperties, error)
Click to show internal directories.
Click to hide internal directories.