Skip to main content

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 a usage example.

from langchain_community.llms import NLPCloud
API Reference:NLPCloud

Text Embedding Modelsโ€‹

See a usage example

from langchain_community.embeddings import NLPCloudEmbeddings
API Reference:NLPCloudEmbeddings

Was this page helpful?