mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
87e502c6bc
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
21 lines
587 B
Plaintext
21 lines
587 B
Plaintext
# ModelScope
|
|
|
|
This page covers how to use the modelscope ecosystem within LangChain.
|
|
It is broken into two parts: installation and setup, and then references to specific modelscope wrappers.
|
|
|
|
## Installation and Setup
|
|
|
|
* Install the Python SDK with `pip install modelscope`
|
|
|
|
## Wrappers
|
|
|
|
### Embeddings
|
|
|
|
There exists a modelscope Embeddings wrapper, which you can access with
|
|
|
|
```python
|
|
from langchain.embeddings import ModelScopeEmbeddings
|
|
```
|
|
|
|
For a more detailed walkthrough of this, see [this notebook](/docs/modules/data_connection/text_embedding/integrations/modelscope_hub.html)
|