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