Skip to content

Commit

Permalink
chroma[patch]: release 0.2.2 (#29769)
Browse files Browse the repository at this point in the history
Resolves #29765
  • Loading branch information
ccurme authored Feb 13, 2025
1 parent 2310847 commit 16fb1f5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libs/partners/chroma/langchain_chroma/vectorstores.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def add_texts(
texts_with_metadatas = [texts[idx] for idx in non_empty_ids]
embeddings_with_metadatas = (
[embeddings[idx] for idx in non_empty_ids]
if embeddings is not None
if embeddings is not None and len(embeddings) > 0
else None
)
ids_with_metadata = [ids[idx] for idx in non_empty_ids]
Expand Down
2 changes: 1 addition & 1 deletion libs/partners/chroma/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"chromadb!=0.5.10,!=0.5.11,!=0.5.12,!=0.5.4,!=0.5.5,!=0.5.7,!=0.5.9,<0.7.0,>=0.4.0",
]
name = "langchain-chroma"
version = "0.2.1"
version = "0.2.2"
description = "An integration package connecting Chroma and LangChain"
readme = "README.md"

Expand Down
18 changes: 14 additions & 4 deletions libs/partners/chroma/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 16fb1f5

Please sign in to comment.