github.com/weaviate/weaviate@v1.24.6/entities/modulecapabilities/client.go (about) 1 // _ _ 2 // __ _____ __ ___ ___ __ _| |_ ___ 3 // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ 4 // \ V V / __/ (_| |\ V /| | (_| | || __/ 5 // \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| 6 // 7 // Copyright © 2016 - 2024 Weaviate B.V. All rights reserved. 8 // 9 // CONTACT: hello@weaviate.io 10 // 11 12 package modulecapabilities 13 14 import "context" 15 16 type VectorizerClient interface { 17 MultiVectorForWord(ctx context.Context, 18 words []string) ([][]float32, error) 19 VectorOnlyForCorpi(ctx context.Context, corpi []string, 20 overrides map[string]string) ([]float32, error) 21 } 22 23 type MetaProvider interface { 24 MetaInfo() (map[string]interface{}, error) 25 } 26 27 type Client interface { 28 Vectorizers() map[string]VectorizerClient 29 }