Documentation ¶
Index ¶
- 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) VectorizeInput(ctx context.Context, input string, cfg moduletools.ClassConfig) ([]float32, error)
- func (m *ClipModule) VectorizeObject(ctx context.Context, obj *models.Object, objDiff *moduletools.ObjectDiff, ...) error
Constants ¶
This section is empty.
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) 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, objDiff *moduletools.ObjectDiff, cfg moduletools.ClassConfig, ) error
Click to show internal directories.
Click to hide internal directories.