Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 1df6631

Browse files
authored
Merge pull request #188 from zzstoatzz/patch-1
DOC: fix example for embeddings fn protocol
2 parents 63b4477 + cfbf82f commit 1df6631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/embeddings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ You can create your own embedding function to use with Chroma, it just needs to
117117
from chromadb import Documents, EmbeddingFunction, Embeddings
118118

119119
class MyEmbeddingFunction(EmbeddingFunction):
120-
def __call__(self, texts: Documents) -> Embeddings:
120+
def __call__(self, input: Documents) -> Embeddings:
121121
# embed the documents somehow
122122
return embeddings
123123
```

0 commit comments

Comments
 (0)