引导式测验 · 中等 等级

规划者-执行者代理测验

了解计划执行者代理如何分解目标、运行工具介导的步骤、跟踪状态、反馈后重新计划以及验证任务完成情况。

问题 1 的 8

计划执行代理背后的核心理念是什么?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. 计划执行代理背后的核心理念是什么?
    • 将目标分解为步骤的角色与执行步骤的角色分开
    • 运行同一模型的两个副本来对答案进行投票
    • 仅使用一种模型来生成图像
    • 完全消除对工具的需求
  2. 为什么“重新计划”在这种模式中很重要?
    • 删除了原来的目标
    • 它允许计划者在执行失败或出现新信息时调整步骤
    • 可用工具的数量增加了一倍
    • 它阻止执行者使用 API
  3. 将计划与执行分开有助于避免什么问题?
    • 磁盘空间不足
    • 互联网连接速度慢
    • 单个模型失去目标、跳过步骤或产生幻觉进度
    • 需要显卡
  4. 执行者通常如何完成其指定的步骤?
    • 通过重写规划者的目标
    • 忽视计划
    • 仅生成图像
    • 通过调用工具、API或其他模型
  5. 通常如何将进度传达给规划者?
    • 通过上下文窗口或外部存储器传递的已完成步骤状态
    • 从来没有传达过
    • 只能重新启动程序
    • 通过向用户发送电子邮件
  6. What trade-off did LangChain note for its initial Plan-and-Execute approach?
    • It guaranteed one-call completion of every task
    • It made more language-model calls in exchange for handling longer-horizon planning
    • It removed all tool calls from the executor
    • It required every plan to be executed without feedback
  7. Why should a planner-executor loop have a step or cost limit?
    • To make every plan succeed on the first attempt
    • To remove the need to inspect execution results
    • To prevent repeated planning and tool calls from continuing without useful progress
    • To guarantee the planner has no errors
  8. What should an agent check before declaring a multi-step task complete?
    • Whether it produced a long plan
    • Whether every planned step was attempted regardless of outcome
    • Whether the executor used the most expensive tool
    • Whether the observed result satisfies the goal’s completion criteria