Ben-air


  • 首页

  • 分类

  • 归档

  • 标签

  • 关于

  • 搜索

LangSmith追踪

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
LangSmith 记这次 invoke 实际走过的图路径与资源消耗(latency/token/费用),不是 get_state_history。
阅读全文 »

时间旅行与状态回溯

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
get_state 与 get_state_history:按 checkpoint 历史回溯、fork 调试与状态 diff。
阅读全文 »

Subgraph与组合

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
Subgraph 嵌套 compile:多 Agent 分工、复用子流程与主图组合方式。
阅读全文 »

create_react_agent(弃用)

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
(弃用)create_react_agent 预构建 ReAct 图。新代码改用 langchain.agents.create_agent。
阅读全文 »

stream与stream_mode

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
stream 与 stream_mode:updates、values、messages 等事件粒度及前端消费方式。
阅读全文 »

update_state与resume

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
update_state 与 Command(resume):中断后注入人工输入、修改 state 再继续 invoke。
阅读全文 »

interrupt与HITL

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
interrupt 暂停后,人工 approve/reject 写入 decision,经 router 与 path_map 改走 execute 或 reject。
阅读全文 »

checkpoint_ns

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
compile 产物方法,以及 configurable.checkpoint_ns 如何作为复合主键的一维隔离主图与子图快照。
阅读全文 »

checkpoint与thread_id

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
InMemorySaver 如何按 thread_id 存取 checkpoint:compile 绑定、invoke 先 get_tuple 再 put、get_state 回读。
阅读全文 »

Command与动态跳转

发表于 2026-08-10 | 更新于 2026-08-28 | 分类于 Agent工程 , LangGraph
Command(goto=...) 与 update:节点内动态指定下一跳,替代部分 conditional_edges 写法。
阅读全文 »
‹1…789…104›

1034 日志
49 分类
917 标签
© 2026 Ben-air
已有人访问 | 总访问次