Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vectorizePropertyName is not passed correctly for named vectors setups #948

Open
tsmith023 opened this issue Mar 13, 2024 · 0 comments
Open

Comments

@tsmith023
Copy link
Contributor

When properties are passed in the collections.create method to Weaviate through the client-side mapping, vectorizePropertyName is passed properly for the case of named vectors.

It is implemented for the legacy method as here, however vectorizePropertyName needs to be supplied within moduleConfig of the property's Weaviate config for each vectoriser that references this property.

For example, the collection-level named vector configuration:

"vectorConfig": [
  {
     "title-openai": {
      "vectorizer": {
        "text2vec-openai": {
          "properties": ["title"]
        }
      }
    } 
  },
  {
    "title-aws": {
      "vectorizer": {
        "text2vec-aws": {
          "properties": ["title"]
        }
      }
    }  
  },
]

needs to be propagated to the property-level config for each vectorizer:

{
  "name": "title",
  "dataType": ["text"],
  "moduleConfig": {
    "text2vec-openai": {
      "vectorizePropertyName": true
    },
    "text2vec-aws": {
      "vectorizePropertyName": true
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant