提供者MoreStochasticAIOn this pageStochasticAI本页面介绍如何在 LangChain 中使用 StochasticAI 生态系统。 它分为两个部分:安装和设置,然后是对特定 StochasticAI 包装器的参考。安装与设置使用 pip install stochasticx 安装获取 StochasticAI 的 API 密钥并将其设置为环境变量 (STOCHASTICAI_API_KEY)包装器LLM存在一个 StochasticAI LLM 封装,您可以通过以下方式访问它:from langchain_community.llms import StochasticAI