Skip to content

Commit

Permalink
Remove ChromaDBs
Browse files Browse the repository at this point in the history
  • Loading branch information
rlancemartin committed Dec 5, 2023
1 parent 758792a commit 13e8f0f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 359 deletions.
5 changes: 1 addition & 4 deletions libs/core/langchain_core/stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Generic, Iterator, List, Optional, Sequence, Tuple, TypeVar, Union

K = TypeVar("K")
V = TypeVar("V", covariant=True)
V = TypeVar("V")


class BaseStore(Generic[K, V], ABC):
Expand Down Expand Up @@ -51,6 +51,3 @@ def yield_keys(
This method is allowed to return an iterator over either K or str
depending on what makes more sense for the given store.
"""


ByteStore = BaseStore[str, bytes]
366 changes: 13 additions & 353 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ codespell = "^2.2.0"
langchain-core = { path = "libs/core/", develop = true }
langchain = { path = "libs/langchain/", develop = true }
langchain-experimental = { path = "libs/experimental/", develop = true }
langchain-cli = ">=0.0.15"

[tool.poetry.group.test.dependencies]

Expand Down
2 changes: 1 addition & 1 deletion templates/rag-chroma-multi-modal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can select different options (see results [here](https://github.com/mlfounda

The first time you run the app, it will automatically download the multimodal embedding model.

By default, LangChain will use an embedding model with strong performance, `ViT-H-14`.
By default, LangChain will use an embedding model with reasonably strong performance, `ViT-H-14`.

You can choose alternative `OpenCLIPEmbeddings` models in `rag_chroma_multi_modal/ingest.py`:
```
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 13e8f0f

Please sign in to comment.