安装
npm
从单个 GitBook 页面加载
从指定 GitBook 的所有路径加载
要使此功能正常工作,GitbookLoader 需要使用根路径(本例中为 https://docs.gitbook.com)进行初始化,并将shouldLoadAllPaths 设置为 true。
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.
使用 LangChain JavaScript 集成 Gitbook 文档加载器。
shouldLoadAllPaths 设置为 true。