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
pull/10449/head^2
Jeremy Naccache 12 months ago committed by GitHub
parent 4c732c8894
commit 37cb9372c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save