-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unable to Create a Property with moduleConfig #105
Comments
Hi @Kostjanix2, to help diagnose the issue could you please also post the class schema? Cheers 😁 |
Hello @tsmith023 here is a example of the Schema i am using. :) |
I am trying to add a Property to a Class with the propertyCreator, but I always recieve a Error, which I do not understand correctly.
return await this.weaviateClient.schema .propertyCreator() .withClassName(className) .withProperty({ dataType: ['text'], description: 'Der Hash des Produkts', name: 'hash', moduleConfig: { 'text2vec-openai': { vectorizePropertyName: false, skip: true, }, }, }) .do();
It does work, when I am not using the moduleConfig attribute
When executing this i recieve following error:
Error: usage error (422): {"error":[{"message":"none vectorizer module not part of the property"}]} at .../node_modules/weaviate-ts-client/dist/index.js:1:9070 at processTicksAndRejections (node:internal/process/task_queues:95:5)
The text was updated successfully, but these errors were encountered: