Skip to content

Commit 1df83a8

Browse files
committed
Added langchain example
1 parent 76d2fe1 commit 1df83a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ For more documentation, please refer to the [Sentence Transformers documentation
353353
<summary> LangChain </summary>
354354
<br>
355355

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`:
357357

358358
```python
359359
from langchain_community.embeddings import Model2vecEmbeddings
@@ -436,7 +436,6 @@ chunks = chunker.chunk(text)
436436

437437
<details>
438438
<summary> Transformers.js </summary>
439-
<a name="transformersjs"></a>
440439
<br>
441440

442441
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

Comments
 (0)