You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -353,7 +353,7 @@ For more documentation, please refer to the [Sentence Transformers documentation
353
353
<summary> LangChain </summary>
354
354
<br>
355
355
356
-
Model2Vec can be used in [LangChain](https://github.com/langchain-ai/langchain) using the `langchain-community` package. The following code snippet shows how to use Model2Vec in LangChain after installing the `langchain-community` package with `pip install langchain-community`:
356
+
Model2Vec can be used in [LangChain](https://github.com/langchain-ai/langchain) using the `langchain-community` package. For more information, see the [LangChain Model2Vec docs](https://python.langchain.com/docs/integrations/text_embedding/model2vec/). The following code snippet shows how to use Model2Vec in LangChain after installing the `langchain-community` package with `pip install langchain-community`:
357
357
358
358
```python
359
359
from langchain_community.embeddings import Model2vecEmbeddings
@@ -436,7 +436,6 @@ chunks = chunker.chunk(text)
436
436
437
437
<details>
438
438
<summary> Transformers.js </summary>
439
-
<aname="transformersjs"></a>
440
439
<br>
441
440
442
441
To use a Model2Vec model in [transformers.js](https://github.com/huggingface/transformers.js), the following code snippet can be used as a starting point:
0 commit comments