mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-30 11:39:03 +00:00
Fix chroma vectorstore error message (#10457)
- Description: Updated the error message in the Chroma vectorestore, that displayed a wrong import path for langchain.vectorstores.utils.filter_complex_metadata. - Tag maintainer: @sbusso
This commit is contained in:
parent
4c732c8894
commit
37cb9372c2
@ -217,7 +217,7 @@ class Chroma(VectorStore):
|
||||
if "Expected metadata value to be" in str(e):
|
||||
msg = (
|
||||
"Try filtering complex metadata from the document using "
|
||||
"langchain.vectorstore.utils.filter_complex_metadata."
|
||||
"langchain.vectorstores.utils.filter_complex_metadata."
|
||||
)
|
||||
raise ValueError(e.args[0] + "\n\n" + msg)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user