mirror of
https://github.com/Mintplex-Labs/langchain-python.git
synced 2026-07-25 12:35:29 -04:00
d383c0cb43
Fixed two small bugs (as reported in issue #1619 ) in the filtering by metadata for `chroma` databases : - ```langchain.vectorstores.chroma.similarity_search``` takes a ```filter``` input parameter but do not forward it to ```langchain.vectorstores.chroma.similarity_search_with_score``` - ```langchain.vectorstores.chroma.similarity_search_by_vector``` doesn't take this parameter in input, although it could be very useful, without any additional complexity - and it would thus be coherent with the syntax of the two other functions. Co-authored-by: Davis Chase <130488702+dev2049@users.noreply.github.com>