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

Commit 3c828c5

Browse files
author
Joan Fontanals Martinez
committed
close tabs properly
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
1 parent 3a9651c commit 3c828c5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/embeddings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,18 @@ This embedding function relies on the `requests` python package, which you can i
301301
```python
302302
jinaai_ef = embedding_functions.JinaAIEmbeddingFunction(
303303
api_key="YOUR_API_KEY",
304-
model_name="jina-embedding-v2-base-en"
304+
model_name="jina-embeddings-v2-base-en"
305305
)
306306
jinaai_ef(texts=["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 JinaAI model to use. By default, Chroma uses `jina-embedding-v2-base-en`.
310310

311+
</TabItem>
312+
<TabItem value="js" label="JavaScript">
313+
</TabItem>
314+
</Tabs>
315+
311316
## Custom Embedding Functions
312317

313318
<Tabs queryString groupId="lang" className="hideTabSwitcher">

0 commit comments

Comments
 (0)