最新资讯
techcrunch.com Airbnb 称将于 2027 年上半年推出 AI 旅行代理 theverge.com Perplexity 推出面向工作的 AI 代理 Teammates unite.ai Five9 拟以约3.25亿美元收购 Level AI,扩展客服AI分销渠道 unite.ai Serve Robotics 向物理AI公司开放车队软件与数据 wired.com 聊天机器人广告时代到来:哪些做法有效、哪些无效 techmeme.com METR:Anthropic 删减了评估报告中最具信息量的证据 unite.ai 微软借助 AI 修复更多 Windows 漏洞,但补丁部署仍滞后 bloomberg.com Cloudflare 上调年度利润预期,AI 推动网络需求 theinformation.com Anthropic 为 Claude 推出个人理财功能 theinformation.com Airbnb 披露 Chesky 隐秘 AI 初创公司的新细节 engadget.com Google 将停用 Firebase Studio,引导开发者转向 Antigravity 与 AI Studio www.youtube.com 别再给 AI Agent 发 API Key:Keycard 与 Temporal 谈 Agent 安全与可恢复执行
多元动态
登录 注册
智能体 x.com · @LangChain(@LangChainAI)

LangGraph 推出带类型响应 schema 的 interrupt 功能

原文 我的收藏

LangChain 转述 Sydney Runkle 的更新:LangGraph 的 interrupt 现支持定义类型化响应 schema,人类回复在传回 agent 前会先经过校验,并可在 UI 中渲染真实响应表单,而非仅提供 JSON 输入框。官方称这是“类型安全的人类介入”,并给出文档链接。

AI推荐理由 LangGraph 新增带类型响应 schema 的 interrupt 功能,属于开发者可直接使用的具体新能力:人类介入时响应在回传 agent 前先做校验,并可在 UI 渲染真实表单而非 JSON 输入框。信息来自官方账号转述并附文档链接,但正文为转推片段,缺少版本号与完整示例,实际效果未验证。

72

正文

.[@sydneyrunkle](https://x.com/sydneyrunkle) on the latest in LangGraph ![Sydney Runkle](https://pbs.twimg.com/profile_images/1955622250629021696/WOrOq2Mw_normal.jpg) Sydney Runkle@sydneyrunkle new in langgraph: interrupts with typed response schemas! when your agent pauses for a human, you define what a valid response looks like: 1. responses are validated before they're passed back to the agent 2. you can render a real response form in your UI, not just a json entry field human in the loop, but (type) safe docs: [docs.langchain.com/oss/python/lan…](https://docs.langchain.com/oss/python/langgraph/interrupts#define-an-interrupt-response-schema) [Your browser does not support the video tag.](https://video.twimg.com/amplify_video/2105385691027001344/vid/avc1/1920x1080/uD9AE-Y91kXuTcCs.mp4?tag=29) [🔗 View on Twitter](https://x.com/sydneyrunkle/status/2105386023752790083/video/1) [🔗 View Quoted Tweet](https://x.com/sydneyrunkle/status/2105386023752790083) 💬0🔄0❤️3👀1334📊1

来源报道 · 1 篇 · 以下链接均前往原始媒体

LangChain(@LangChainAI) LangGraph 推出带类型响应 schema 的 interrupt 功能 10-01 · 原文发布
← 返回精选动态 原文

更多内容