Skip to main content
Open on GitHub

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.

安装与设置

  • 安装 nlpcloud 包。
pip install nlpcloud
  • 获取一个NLPCloud API密钥并将其设置为环境变量 (NLPCLOUD_API_KEY)

LLM

查看一个 使用示例

from langchain_community.llms import NLPCloud
API 参考:NLPCloud

文本嵌入模型

查看一个 使用示例

from langchain_community.embeddings import NLPCloudEmbeddings
API 参考:NLPCloudEmbeddings