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