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

Commit 7afc9ca

Browse files
author
Joan Fontanals Martinez
committed
fix input
1 parent 46061be commit 7afc9ca

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
@@ -303,7 +303,7 @@ jinaai_ef = embedding_functions.JinaEmbeddingFunction(
303303
api_key="YOUR_API_KEY",
304304
model_name="jina-embeddings-v2-base-en"
305305
)
306-
jinaai_ef(texts=["This is my first text to embed", "This is my second document"])
306+
jinaai_ef(input=["This is my first text to embed", "This is my second document"])
307307
```
308308

309309
You can pass in an optional `model_name` argument, which lets you choose which Jina model to use. By default, Chroma uses `jina-embedding-v2-base-en`.

0 commit comments

Comments
 (0)