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