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