跳到主要内容

文档索引

在以下地址获取完整的文档索引:https://docs.langchain.org.cn/llms.txt

在进一步探索之前,请使用此文件发现所有可用页面。

安装 LangChain 软件包
npm install langchain @langchain/core
# Requires Node.js 20+
LangChain 提供了与数百个大语言模型(LLM)以及数千种其他服务的集成。这些集成存在于独立的提供商软件包中。
# Installing the OpenAI integration
npm install @langchain/openai
# Installing the Anthropic integration
npm install @langchain/anthropic
请参阅集成标签页以获取可用集成的完整列表。
现在您已经安装了 LangChain,可以按照快速入门指南开始使用。
© . This site is unofficial and not affiliated with LangChain, Inc.