Skip to content

Commit

Permalink
[Bug fix] Fix chromadb issue on embedchain version 0.1.58 (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
deshraj authored Jan 9, 2024
1 parent 2b13984 commit f355304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions embedchain/embedder/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class EmbeddingFunc(EmbeddingFunction):
def __init__(self, embedding_fn: Callable[[list[str]], list[str]]):
self.embedding_fn = embedding_fn

def __call__(self, input_: Embeddable) -> Embeddings:
return self.embedding_fn(input_)
def __call__(self, input: Embeddable) -> Embeddings:
return self.embedding_fn(input)


class BaseEmbedder:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "embedchain"
version = "0.1.58"
version = "0.1.59"
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
authors = [
"Taranjeet Singh <[email protected]>",
Expand Down

0 comments on commit f355304

Please sign in to comment.