Skip to main content

StochasticAI(随机AI)

本页面介绍如何在LangChain中使用StochasticAI生态系统。 它分为两个部分:安装和设置,以及对特定StochasticAI包装器的引用。

安装和设置

  • 使用pip install stochasticx进行安装
  • 获取一个StochasticAI API密钥,并将其设置为环境变量(STOCHASTICAI_API_KEY

包装器

LLM

存在一个StochasticAI LLM包装器,您可以通过以下方式访问:

from langchain.llms import StochasticAI