mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
fdba711d28
Updated `integrations/embeddings`: fixed titles; added links, descriptions Updated `integrations/providers`.
32 lines
673 B
Plaintext
32 lines
673 B
Plaintext
# NLPCloud
|
|
|
|
>[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 `nlpcloud` package.
|
|
|
|
```bash
|
|
pip install nlpcloud
|
|
```
|
|
|
|
- Get an NLPCloud api key and set it as an environment variable (`NLPCLOUD_API_KEY`)
|
|
|
|
|
|
## LLM
|
|
|
|
See a [usage example](/docs/integrations/llms/nlpcloud).
|
|
|
|
```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
|
|
```
|