From 9abe1155fa552d19f5e40631277386053cceea88 Mon Sep 17 00:00:00 2001 From: Dirk Kulawiak Date: Thu, 14 Mar 2024 12:51:24 +0100 Subject: [PATCH] Review fixes --- weaviate/collections/classes/config_named_vectors.py | 10 ++-------- weaviate/collections/classes/config_vectorizers.py | 3 +++ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/weaviate/collections/classes/config_named_vectors.py b/weaviate/collections/classes/config_named_vectors.py index 60b140a2f..ceef721f7 100644 --- a/weaviate/collections/classes/config_named_vectors.py +++ b/weaviate/collections/classes/config_named_vectors.py @@ -336,8 +336,6 @@ def multi2vec_clip( Arguments: `name` The name of the named vector. - `source_properties` - Which properties should be included when vectorizing. By default all text properties are included. `vector_index_config` The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default `vectorize_collection_name` @@ -381,8 +379,6 @@ def multi2vec_palm( Arguments: `name` The name of the named vector. - `source_properties` - Which properties should be included when vectorizing. By default all text properties are included. `vector_index_config` The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default `vectorize_collection_name` @@ -436,8 +432,6 @@ def multi2vec_bind( Arguments: `name` The name of the named vector. - `source_properties` - Which properties should be included when vectorizing. By default all text properties are included. `vector_index_config` The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default `vectorize_collection_name` @@ -474,8 +468,8 @@ def ref2vec_centroid( Arguments: `name` The name of the named vector. - `source_properties` - Which properties should be included when vectorizing. By default all text properties are included. + `reference_properties` + The reference properties to use in vectorization, REQUIRED. `vector_index_config` The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default `vectorize_collection_name` diff --git a/weaviate/collections/classes/config_vectorizers.py b/weaviate/collections/classes/config_vectorizers.py index 679f533b2..69f1c2095 100644 --- a/weaviate/collections/classes/config_vectorizers.py +++ b/weaviate/collections/classes/config_vectorizers.py @@ -69,6 +69,8 @@ class Vectorizers(str, Enum): Weaviate module backed by a ResNet-50 neural network for images. `MULTI2VEC_CLIP` Weaviate module backed by a Sentence-BERT CLIP model for images and text. + `MULTI2VEC_PALM` + Weaviate module backed by a palm model for images and text. `MULTI2VEC_BIND` Weaviate module backed by the ImageBind model for images, text, audio, depth, IMU, thermal, and video. `REF2VEC_CENTROID` @@ -884,6 +886,7 @@ def text2vec_jinaai( @staticmethod def text2vec_voyageai( + *, model: Optional[Union[VoyageModel, str]] = None, base_url: Optional[str] = None, truncate: Optional[bool] = None,