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

Commit cfbf82f

Browse files
authored
fix example for existing Protocol
1 parent 1613948 commit cfbf82f

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
@@ -116,7 +116,7 @@ You can create your own embedding function to use with Chroma, it just needs to
116116
from chromadb import Documents, EmbeddingFunction, Embeddings
117117

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

0 commit comments

Comments
 (0)