You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build something similar to the Wikipedia example in typescript and node.
It seems in the npm client, there is no create schema method, and hence I have to create classes async in different API calls, but in doing so I get 422 error: invalid dataType: reference property to a nonexistent class. I am not sure if this is the cause of the problem or something else.
There was a related conversation on Weaviate Slack, suggesting changing vectorizier would make it work (for example text2vec-transformers do not work but text2vec-contextionary does. In my case none works.
const schemaClasses = [
ArticleClass,
ParagraphClass
]
for await (classObj in schemaClasses){
await client.schema.classCreator().withClass(classObj)
}
The text was updated successfully, but these errors were encountered:
I have the same issue. It's driving me crazy. Tried many different approaches like adding classes first, then properties for each class that reference other classes in separate API calls. Example log from Docker: {"action":"graphql_rebuild","level":"warning","msg":"ignoring ref prop "topConceptOf" on class "Concept", because it contains reference to nonexistent class ["ConceptScheme"]","time":"2023-05-30T17:34:52Z"}.
Using Weaviate 1.19.6
P.S. If your classes circularly reference one another then this above method won't work. The Python client is capable of this as shown here but I believe that the TypeScript client currently lacks this same functionality.
The schemas list contains the classes [Article, Author] for example, one of the authors props references the article, so the order is ok within the list.
I am trying to build something similar to the Wikipedia example in typescript and node.
It seems in the npm client, there is no create schema method, and hence I have to create classes async in different API calls, but in doing so I get 422 error: invalid dataType: reference property to a nonexistent class. I am not sure if this is the cause of the problem or something else.
text2vec-transformers
do not work buttext2vec-contextionary
does. In my case none works.The text was updated successfully, but these errors were encountered: