Description
skip vectorization issue
Any additional Information
In my collection(Article) i set one of the property(title) as skip_vectorization as True , but in my schema output it is giving me as {
“dataType”: [
“text”
],
“indexFilterable”: true,
“indexRangeFilters”: false,
“indexSearchable”: true,
“moduleConfig”: {
“text2vec-openai”: {
“skip”: false,
“vectorizePropertyName”: false
}
},
“name”: “title”,
“tokenization”: “word”
},
why skip under moduleConfig is giving me like false , even though i set skip_vectorization as True , can someone could help me ?
Hey @Selvakumar_S ,
Welcome to our community! Great to have you here
Could you please share how you’re creating the collection with me?
Additionally, please confirm the client & WeaviateDB version you are on.
Best regards,
Mohamed Shahin
Weaviate Support Engineer
(Ireland, UTC±00:00/+01:00)
Hey hi @Mohamed_Shahin
My weaviate version is weaviate:1.34.0 and client version is 4.18.1
and here is my collection
client.collections.create(
name=“Article”,
vector_config=Configure.Vectors.text2vec_openai(
model=“text-embedding-3-large”,
vectorize_collection_name=False
),
properties=[
Property(name=“article_id”, data_type=DataType.INT,skip_vectorization=True,vectorize_property_name=False),
Property(name=“article_id_hash”, data_type=DataType.TEXT,skip_vectorization=True,vectorize_property_name=False)\]
)
and my schema output is
{
“dataType”: [
“text”
],
“indexFilterable”: true,
“indexRangeFilters”: false,
“indexSearchable”: true,
“moduleConfig”: {
“text2vec-openai”: {
“skip”: false,
“vectorizePropertyName”: false
}
},
“name”: “article_id_hash”,
“tokenization”: “word”
},
the thing is i have set skip_vectorization as True , then why in my schema output it is coming as skip as false under moduleConfig what is the reason ?
Hi @Selvakumar_S ,
I will run a test now on the version and get back to you.
Best regards,
Mohamed Shahin
Weaviate Support Engineer
(Ireland, UTC±00:00/+01:00)
I’ve logged a bug for this here:
opened 11:23AM - 08 Dec 25 UTC
bug
### How to reproduce this bug?
Create a collection with a property set to skip_… vectorization=True.
```
from weaviate.classes.config import Configure
from weaviate.classes.config import Property, DataType, Tokenization
client.collections.create(
name="article2",
vector_config=Configure.Vectors.text2vec_openai(
model="text-embedding-3-large",
vectorize_collection_name=False
),
properties=[
Property(name="article_id", data_type=DataType.INT,skip_vectorization=True,vectorize_property_name=False),
Property(name="article_id_hash", data_type=DataType.TEXT,skip_vectorization=True,vectorize_property_name=False),
Property(name="content", data_type=DataType.TEXT)
]
)
```
### What is the expected behavior?
The generated schema for the property should have skip: true inside the module config.
"moduleConfig": {
"text2vec-openai": {
"skip": true,
"vectorizePropertyName": true
}
}
### What is the actual behavior?
The schema ignores the Python client setting and defaults to false
<img width="507" height="363" alt="Image" src="https://github.com/user-attachments/assets/b921aecb-e266-4735-a6bb-1d3cc7fc9299" />
### Supporting information
_No response_
### Server Version
1.34.4
### Weaviate Setup
Multi-Node Cluster
### Nodes count
3
### Code of Conduct
- [x] I have read and agree to the Weaviate's [Contributor Guide](https://weaviate.io/developers/contributor-guide) and [Code of Conduct](https://weaviate.io/service/code-of-conduct)
I will inform our core engineering as well.
Best regards,
Mohamed Shahin
Weaviate Support Engineer
(Ireland, UTC±00:00/+01:00)
Sure @Mohamed_Shahin and thanks for responding
1 Like