阶段4(下):LangChain 1.x、提示词与注入防护、模型侧(路由/vLLM/LoRA)、AI 编程工具与验证、Dify/Coze 专题

This commit is contained in:
Shikui Wang committed 2026-10-23 16:15:33 +08:00
1 parent caaec830b3
commit 7a32d2c9a6
38 files changed
+3059 -67

No files matched your search

+30 -3
View File
@@ -4,12 +4,39 @@ title: LangChain
type: index
domain: ai
stack: [langchain]
tags: []
tags: [LangChain, LCEL, 结构化输出, Agent]
week: [6, 11]
---
# LangChain
模型与消息、LCEL、工具、结构化输出。
大模型应用框架。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