Documentation ¶
Index ¶
- Constants
- type CentroidModule
- func (m *CentroidModule) ClassConfigDefaults() map[string]interface{}
- func (m *CentroidModule) Init(ctx context.Context, params moduletools.ModuleInitParams) error
- func (m *CentroidModule) MetaInfo() (map[string]interface{}, error)
- func (m *CentroidModule) Name() string
- func (m *CentroidModule) PropertyConfigDefaults(dataType *schema.DataType) map[string]interface{}
- func (m *CentroidModule) RootHandler() http.Handler
- func (m *CentroidModule) Type() modulecapabilities.ModuleType
- func (m *CentroidModule) ValidateClass(ctx context.Context, class *models.Class, classConfig moduletools.ClassConfig) error
- func (m *CentroidModule) VectorizeObject(ctx context.Context, obj *models.Object, cfg moduletools.ClassConfig, ...) error
Constants ¶
View Source
const (
Name = "ref2vec-centroid"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CentroidModule ¶
type CentroidModule struct {
// contains filtered or unexported fields
}
func New ¶
func New() *CentroidModule
func (*CentroidModule) ClassConfigDefaults ¶
func (m *CentroidModule) ClassConfigDefaults() map[string]interface{}
func (*CentroidModule) Init ¶
func (m *CentroidModule) Init(ctx context.Context, params moduletools.ModuleInitParams) error
func (*CentroidModule) MetaInfo ¶
func (m *CentroidModule) MetaInfo() (map[string]interface{}, error)
func (*CentroidModule) Name ¶
func (m *CentroidModule) Name() string
func (*CentroidModule) PropertyConfigDefaults ¶
func (m *CentroidModule) PropertyConfigDefaults(dataType *schema.DataType) map[string]interface{}
func (*CentroidModule) RootHandler ¶
func (m *CentroidModule) RootHandler() http.Handler
func (*CentroidModule) Type ¶
func (m *CentroidModule) Type() modulecapabilities.ModuleType
func (*CentroidModule) ValidateClass ¶
func (m *CentroidModule) ValidateClass(ctx context.Context, class *models.Class, classConfig moduletools.ClassConfig, ) error
func (*CentroidModule) VectorizeObject ¶
func (m *CentroidModule) VectorizeObject(ctx context.Context, obj *models.Object, cfg moduletools.ClassConfig, findRefVecsFn modulecapabilities.FindObjectFn, ) error
Click to show internal directories.
Click to hide internal directories.