From f8a6d4f12991868238d96409db90c178a4398681 Mon Sep 17 00:00:00 2001 From: Cohen Karnell <7363269+ckarnell@users.noreply.github.com> Date: Tue, 11 Aug 2026 00:50:17 -0400 Subject: [PATCH] Document vectorize_collection_name as having no effect on multi2vec factories The parameter is accepted by all eight multi2vec_* factories and passed to none of them: every factory drops it before building its config object, so it never reaches the server. multi2vec_voyageai and multi2vec_nvidia already document it as deprecated. This applies the same wording to the other six. Server side, no multi2vec module reads the setting. The reader lives on BaseClassSettings, and its two production consumers (ValidateIndexState, via BaseClassSettings.Validate, and object_texts.go's TextsWithTitleProperty) sit on paths the multi2vec modules never enter: they implement their own Validate() that calls ValidateMultiModal, and the six that hold an ObjectVectorizer never call a method on it. --- weaviate/collections/classes/config_vectorizers.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/weaviate/collections/classes/config_vectorizers.py b/weaviate/collections/classes/config_vectorizers.py index ae25e2c89..713ab7f7c 100644 --- a/weaviate/collections/classes/config_vectorizers.py +++ b/weaviate/collections/classes/config_vectorizers.py @@ -698,7 +698,7 @@ def multi2vec_clip( image_fields: The image fields to use in vectorization. text_fields: The text fields to use in vectorization. inference_url: The inference url to use where API requests should go. Defaults to `None`, which uses the server-defined default. - vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`. + vectorize_collection_name: Deprecated, has no effect. Raises: pydantic.ValidationError: If `image_fields` or `text_fields` are not `None` or a `list`. @@ -745,7 +745,7 @@ def multi2vec_bind( text_fields: The text fields to use in vectorization. thermal_fields: The thermal fields to use in vectorization. video_fields: The video fields to use in vectorization. - vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`. + vectorize_collection_name: Deprecated, has no effect. Raises: pydantic.ValidationError: If any of the `*_fields` are not `None` or a `list`. @@ -926,7 +926,7 @@ def multi2vec_cohere( Args: model: The model to use. Defaults to `None`, which uses the server-defined default. truncate: The truncation strategy to use. Defaults to `None`, which uses the server-defined default. - vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`. + vectorize_collection_name: Deprecated, has no effect. base_url: The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default. image_fields: The image fields to use in vectorization. text_fields: The text fields to use in vectorization. @@ -1331,7 +1331,7 @@ def multi2vec_palm( dimensions: The number of dimensions to use. Defaults to `None`, which uses the server-defined default. model_id: The model ID to use. Defaults to `None`, which uses the server-defined default. video_interval_seconds: Length of a video interval. Defaults to `None`, which uses the server-defined default. - vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`. + vectorize_collection_name: Deprecated, has no effect. Raises: pydantic.ValidationError: If `api_endpoint` is not a valid URL. @@ -1374,7 +1374,7 @@ def multi2vec_google( video_fields: The video fields to use in vectorization. model_id: The model ID to use. Defaults to `None`, which uses the server-defined default. video_interval_seconds: Length of a video interval. Defaults to `None`, which uses the server-defined default. - vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`. + vectorize_collection_name: Deprecated, has no effect. Raises: pydantic.ValidationError: If `api_endpoint` is not a valid URL. @@ -1469,7 +1469,7 @@ def multi2vec_jinaai( Args: model: The model to use. Defaults to `None`, which uses the server-defined default. - vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`. + vectorize_collection_name: Deprecated, has no effect. base_url: The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default. dimensions: The number of dimensions for the generated embeddings (only available for some models). Defaults to `None`, which uses the server-defined default. image_fields: The image fields to use in vectorization.