Skip to content

Commit

Permalink
Fix chroma vectorstore error message (langchain-ai#10457)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
jeremynac authored Sep 11, 2023
1 parent 4c732c8 commit 37cb937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain/langchain/vectorstores/chroma.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def add_texts(
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:
Expand Down

0 comments on commit 37cb937

Please sign in to comment.