NLPCloud
NLP Cloud 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.
pip install nlpcloud
- Get an NLPCloud api key and set it as an environment variable (
NLPCLOUD_API_KEY
)
LLM
See ausage example.
from langchain_community.llmsimport NLPCloud
API Reference:NLPCloud
Text Embedding Models
See ausage example
from langchain_community.embeddingsimport NLPCloudEmbeddings
API Reference:NLPCloudEmbeddings