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
ERROR:langchain_weaviate.vectorstores:indexer-0:Failed to add object: None
Reason: WeaviateInsertManyAllFailedError("Every object failed during insertion. Here is the set of all errors: no such prop with name 'creationdate' found in class 'Default_index_openai_text_embedding_3_small' in the schema. Check your schema files for which properties in this class are available\nno such prop with name 'moddate' found in class 'Default_index_openai_text_embedding_3_small' in the schema. Check your schema files for which properties in this class are available")
Description
With the changes from langchain_community 0.3.15 the metadata keys have changed from modDate and creationDate to moddate and creationdate.
This causes issues with already existing vectorstore schemas(in my case Weaviate). Error is below.
This causes the index() function from langchain.indexes to fail but not raise an exception, instead it return value describes that everything got indexed correctly which it did not. The exception is only visible in the log and cannot be catched.
For my project I fixed this by mapping the new metadata keys to the old ones because weaviate refuses to accept the new keys to an already existing schema.
reproducible by creating a vectorstore and indexing a pdf (loaded with PyMuPDFLoader) with langchain_community <= 0.3.14 and after updating to langchain_community >= 0.3.15 trying to index a pdf the same way.
System Info
System Information
OS: Linux
OS Version: #1 SMP PREEMPT_DYNAMIC Wed Jan 22 13:59:07 UTC 2025
Python Version: 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0]
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
ERROR:langchain_weaviate.vectorstores:indexer-0:Failed to add object: None
Reason: WeaviateInsertManyAllFailedError("Every object failed during insertion. Here is the set of all errors: no such prop with name 'creationdate' found in class 'Default_index_openai_text_embedding_3_small' in the schema. Check your schema files for which properties in this class are available\nno such prop with name 'moddate' found in class 'Default_index_openai_text_embedding_3_small' in the schema. Check your schema files for which properties in this class are available")
Description
With the changes from langchain_community 0.3.15 the metadata keys have changed from modDate and creationDate to moddate and creationdate.
This causes issues with already existing vectorstore schemas(in my case Weaviate). Error is below.
This causes the index() function from langchain.indexes to fail but not raise an exception, instead it return value describes that everything got indexed correctly which it did not. The exception is only visible in the log and cannot be catched.
For my project I fixed this by mapping the new metadata keys to the old ones because weaviate refuses to accept the new keys to an already existing schema.
reproducible by creating a vectorstore and indexing a pdf (loaded with PyMuPDFLoader) with langchain_community <= 0.3.14 and after updating to langchain_community >= 0.3.15 trying to index a pdf the same way.
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: