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