Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

安装 LangGraph 基础包:
npm install @langchain/langgraph @langchain/core
使用 LangGraph 时,你通常需要访问大语言模型(LLM)并定义工具。 你可以使用任何你觉得合适的方式来实现。 其中一种方式(也是我们在文档中使用的方式)是使用 LangChain 使用以下命令安装 LangChain:
npm install langchain
要使用特定的 LLM 提供商包,你需要单独安装它们。 请参阅集成页面获取特定提供商的安装说明。