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

Commit 46061be

Browse files
author
Joan Fontanals Martinez
committed
update class name
1 parent 3c828c5 commit 46061be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/embeddings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,14 @@ Chroma provides a convenient wrapper around JinaAI's embedding API. This embeddi
299299
This embedding function relies on the `requests` python package, which you can install with `pip install requests`.
300300

301301
```python
302-
jinaai_ef = embedding_functions.JinaAIEmbeddingFunction(
302+
jinaai_ef = embedding_functions.JinaEmbeddingFunction(
303303
api_key="YOUR_API_KEY",
304304
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

309-
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`.
309+
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`.
310310

311311
</TabItem>
312312
<TabItem value="js" label="JavaScript">

0 commit comments

Comments
 (0)