mirror of https://github.com/hwchase17/langchain
docs `integrations/embeddings` consistency (#10302)
Updated `integrations/embeddings`: fixed titles; added links, descriptions Updated `integrations/providers`.bagatur/konko
parent
1b3ea1eeb4
commit
fdba711d28
@ -1,20 +1,24 @@
|
||||
# ModelScope
|
||||
|
||||
>[ModelScope](https://www.modelscope.cn/home) is a big repository of the models and datasets.
|
||||
|
||||
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`
|
||||
Install the `modelscope` package.
|
||||
|
||||
```bash
|
||||
pip install modelscope
|
||||
```
|
||||
|
||||
## Wrappers
|
||||
|
||||
### Embeddings
|
||||
## Text Embedding Models
|
||||
|
||||
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/integrations/text_embedding/modelscope_hub.html)
|
||||
For a more detailed walkthrough of this, see [this notebook](/docs/integrations/text_embedding/modelscope_hub)
|
||||
|
@ -1,17 +1,31 @@
|
||||
# NLPCloud
|
||||
|
||||
This page covers how to use the NLPCloud ecosystem within LangChain.
|
||||
It is broken into two parts: installation and setup, and then references to specific NLPCloud wrappers.
|
||||
>[NLP Cloud](https://docs.nlpcloud.com/#introduction) is an artificial intelligence platform that allows you to use the most advanced AI engines, and even train your own engines with your own data.
|
||||
|
||||
|
||||
## Installation and Setup
|
||||
- Install the Python SDK with `pip install nlpcloud`
|
||||
|
||||
- Install the `nlpcloud` package.
|
||||
|
||||
```bash
|
||||
pip install nlpcloud
|
||||
```
|
||||
|
||||
- Get an NLPCloud api key and set it as an environment variable (`NLPCLOUD_API_KEY`)
|
||||
|
||||
## Wrappers
|
||||
|
||||
### LLM
|
||||
## LLM
|
||||
|
||||
See a [usage example](/docs/integrations/llms/nlpcloud).
|
||||
|
||||
There exists an NLPCloud LLM wrapper, which you can access with
|
||||
```python
|
||||
from langchain.llms import NLPCloud
|
||||
```
|
||||
|
||||
## Text Embedding Models
|
||||
|
||||
See a [usage example](/docs/integrations/text_embedding/nlp_cloud)
|
||||
|
||||
```python
|
||||
from langchain.embeddings import NLPCloudEmbeddings
|
||||
```
|
||||
|
Loading…
Reference in New Issue