LangChain 有多个官方主页和资源主要分为以下几个一、核心官方网站1.主文档网站https://python.langchain.com/最新、最全面的官方文档包含所有模块的API参考教程、指南和示例代码支持中文翻译部分2.旧版文档https://docs.langchain.com/旧版本的文档可能包含一些新版本没有的内容正在逐步迁移到新站点3.GitHub 仓库https://github.com/langchain-ai/langchain源代码Issues 和 Discussions贡献指南版本发布信息二、中文资源1.中文文档https://python.langchain.cn/由社区维护的中文翻译包含大部分核心文档适合中文用户快速上手2.中文教程和博客https://www.langchain.com.cn/中文教程和案例分享本地化最佳实践三、主要模块链接模块文档链接GitHub 仓库LangChain 核心https://python.langchain.com/docs/https://github.com/langchain-ai/langchainLangSmithhttps://docs.smith.langchain.com/https://github.com/langchain-ai/langsmithLangGraphhttps://langchain-ai.github.io/langgraph/https://github.com/langchain-ai/langgraphLangServehttps://python.langchain.com/docs/langserve/https://github.com/langchain-ai/langserve四、快速访问指南新手入门路径安装指南https://python.langchain.com/docs/get_started/installation快速开始https://python.langchain.com/docs/get_started/quickstart概念解释https://python.langchain.com/docs/concepts/核心功能LLMshttps://python.langchain.com/docs/modules/model_io/llms/Prompt Templateshttps://python.langchain.com/docs/concepts/#prompt-templatesChainshttps://python.langchain.com/docs/concepts/#chainsAgentshttps://python.langchain.com/docs/concepts/#agentsRAGhttps://python.langchain.com/docs/use_cases/question_answering/工具和集成集成列表https://python.langchain.com/docs/integrations/向量数据库https://python.langchain.com/docs/integrations/vectorstores/工具https://python.langchain.com/docs/integrations/tools/五、实用资源链接1.Cookbook 示例https://github.com/langchain-ai/langchain-cookbook实际应用示例特定场景的解决方案最佳实践代码2.LangChain Templateshttps://github.com/langchain-ai/langchain/tree/master/templates预构建的应用模板一键部署的示例包含各种使用场景3.YouTube 频道https://www.youtube.com/LangChain视频教程新功能演示社区分享4.Discord 社区https://discord.gg/langchain实时讨论技术问答社区支持5.官方博客https://blog.langchain.dev/最新发布技术深度解析行业应用案例六、国内访问建议由于网络原因国内用户可能会遇到访问困难以下建议1. 使用镜像或代理# 设置pip镜像 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple # 或者使用镜像安装 pip install langchain -i https://pypi.tuna.tsinghua.edu.cn/simple2. 备用文档源GitHub Pageshttps://langchain-ai.github.io/ReadTheDocshttps://langchain.readthedocs.io/ 可能不是最新3. 本地文档# 克隆文档仓库 git clone https://github.com/langchain-ai/langchain cd langchain/docs # 本地启动文档需要安装mkdocs pip install mkdocs-material mkdocs serve # 然后在浏览器访问 http://localhost:8000七、最新动态关注1.X/Twitterhttps://twitter.com/LangChainAI官方发布最新功能社区活动2.GitHub Stars# 查看项目趋势 https://github.com/langchain-ai/langchain/stargazers # 查看更新日志 https://github.com/langchain-ai/langchain/releases3.官方公告重大版本关注 GitHub Releases架构变更查看官方博客和文档弃用通知查看 Deprecation Warnings八、学习路径推荐初学者1-2周访问中文文档https://python.langchain.cn/学习基本概念完成快速开始教程中级用户1-2个月阅读官方文档的 Concepts 部分实践各种 Modules查看 Cookbook 示例高级用户深入源码https://github.com/langchain-ai/langchain关注 LangGraph 和 LangSmith参与社区讨论九、常见问题直达安装问题https://python.langchain.com/docs/get_started/installationAPI 密钥设置https://python.langchain.com/docs/security/版本迁移https://python.langchain.com/docs/versions/migration/故障排除https://python.langchain.com/docs/guides/debugging十、其他有用链接1.官方演示应用https://smith.langchain.com/hubLangSmith Hub预构建的工作流社区分享的模板2.API 参考https://api.python.langchain.com/完整的 API 文档类型提示和参数说明3.社区资源Reddithttps://www.reddit.com/r/LangChain/Stack Overflow使用标签langchain知乎专栏搜索 LangChain 相关话题总结建议新手从https://python.langchain.cn/开始开发者查阅https://python.langchain.com/docs/遇到问题访问https://github.com/langchain-ai/langchain/issues中文社区关注微信、知乎相关专栏