Files
zhuangang/topics/ai/langchain/index.md
T

43 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: ai.langchain.index
title: LangChain
type: index
domain: ai
stack: [langchain]
tags: [LangChain, LCEL, 结构化输出, Agent]
week: [6, 11]
---
# LangChain
大模型应用框架。BOSS直聘 2026-10-23 的调研中约 9 个岗位提到 LangChain / LangGraph / AutoGen / LlamaIndex。注意 1.x 和 0.x 差异很大,学习时以官方文档为准。
## 学习路线
| 顺序 | 课程 | 级别 | 预计 |
| --- | --- | --- | --- |
| 1 | [LangChain 1.x:模型和消息、LCEL、结构化输出、create_agent 和中间件](01-lcel-structured-agent.md) | 进阶 | 3 小时 |
## 企业场景
- [工单自动分类服务:结构化输出、批处理、重试降级和人工复核](scenarios/ticket-triage.md)
## 面试题
- [LangChain 面试题](interview.md)
## 示例代码
- [examples/lc-basics](examples/lc-basics/):LCEL 链、`PydanticOutputParser` + `with_retry` + `with_fallbacks`、`create_agent` 工具调用 + `ModelCallLimitMiddleware`(假模型离线运行)
## 在 16 周计划中
- [第 6 周:LangChain 对照实现](../../../plan/week06-rag-2.md)、[第 11 周:LangGraph 多 Agent](../../../plan/week11-agent-m2-langgraph.md)
## 官方资料
以官方文档为准:
- https://docs.langchain.com/oss/python/langchain/overview
- 1.0 迁移说明:https://docs.langchain.com/oss/python/migrate/langchain-v1