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