Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chroma[patch]: release 0.2.2 #29769

Merged
merged 2 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading