mirror of
https://github.com/hwchase17/langchain.git
synced 2026-03-18 11:07:36 +00:00
release(chroma): 1.0.0a1 (#33227)
This commit is contained in:
@@ -8,11 +8,10 @@ from __future__ import annotations
|
||||
import base64
|
||||
import logging
|
||||
import uuid
|
||||
from collections.abc import Iterable, Sequence
|
||||
from collections.abc import Callable, Iterable, Sequence
|
||||
from typing import (
|
||||
TYPE_CHECKING,
|
||||
Any,
|
||||
Callable,
|
||||
Optional,
|
||||
Union,
|
||||
)
|
||||
@@ -51,6 +50,7 @@ def _results_to_docs_and_scores(results: Any) -> list[tuple[Document, float]]:
|
||||
results["metadatas"][0],
|
||||
results["ids"][0],
|
||||
results["distances"][0],
|
||||
strict=False,
|
||||
)
|
||||
]
|
||||
|
||||
@@ -62,6 +62,7 @@ def _results_to_docs_and_vectors(results: Any) -> list[tuple[Document, np.ndarra
|
||||
results["documents"][0],
|
||||
results["metadatas"][0],
|
||||
results["embeddings"][0],
|
||||
strict=False,
|
||||
)
|
||||
]
|
||||
|
||||
@@ -1166,6 +1167,7 @@ class Chroma(VectorStore):
|
||||
results["documents"],
|
||||
results["metadatas"],
|
||||
results["ids"],
|
||||
strict=False,
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
@@ -5,15 +5,15 @@ build-backend = "pdm.backend"
|
||||
[project]
|
||||
authors = []
|
||||
license = { text = "MIT" }
|
||||
requires-python = ">=3.9.0,<4.0.0"
|
||||
requires-python = ">=3.10.0,<4.0.0"
|
||||
dependencies = [
|
||||
"langchain-core>=0.3.76,<1.0.0",
|
||||
"langchain-core>=1.0.0a6,<2.0.0",
|
||||
"numpy>=1.26.0; python_version < '3.13'",
|
||||
"numpy>=2.1.0; python_version >= '3.13'",
|
||||
"chromadb>=1.0.20,<2.0.0",
|
||||
]
|
||||
name = "langchain-chroma"
|
||||
version = "0.2.6"
|
||||
version = "1.0.0a1"
|
||||
description = "An integration package connecting Chroma and LangChain."
|
||||
readme = "README.md"
|
||||
|
||||
@@ -58,9 +58,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
|
||||
[tool.mypy]
|
||||
disallow_untyped_defs = true
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py39"
|
||||
|
||||
[tool.ruff.format]
|
||||
docstring-code-format = true
|
||||
|
||||
|
||||
1278
libs/partners/chroma/uv.lock
generated
1278
libs/partners/chroma/uv.lock
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user