Skip to content

Commit 16fb1f5

Browse files
authored
chroma[patch]: release 0.2.2 (#29769)
Resolves #29765
1 parent 2310847 commit 16fb1f5

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

libs/partners/chroma/langchain_chroma/vectorstores.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def add_texts(
548548
texts_with_metadatas = [texts[idx] for idx in non_empty_ids]
549549
embeddings_with_metadatas = (
550550
[embeddings[idx] for idx in non_empty_ids]
551-
if embeddings is not None
551+
if embeddings is not None and len(embeddings) > 0
552552
else None
553553
)
554554
ids_with_metadata = [ids[idx] for idx in non_empty_ids]

libs/partners/chroma/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"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",
1414
]
1515
name = "langchain-chroma"
16-
version = "0.2.1"
16+
version = "0.2.2"
1717
description = "An integration package connecting Chroma and LangChain"
1818
readme = "README.md"
1919

libs/partners/chroma/uv.lock

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)