知识卡片
重试与回退是不同恢复层次
重试尝试修复同一执行路径,回退在反复失败或不适用时切换替代结果或流程。应定义触发条件、预算和可交付降级结果,避免无限再生成;回退提示同样应准确说明哪些部分无法完成。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 外部工具与智能体
原书出处 · 1 处
- · 查看原书依据
fallback modules. These modules are activated when the verification process fails and retrying/fixing doesn’t work. Fallback modules can be as simple as messages like, “I am sorry I cannot entertain your request” to more complex workflows.
参考来源
- 位置:《Designing Large Language Model Applications》第10章《外部工具与智能体》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Designing Large Language Model Applications/_epub-src/OEBPS/ch10.html)
- 结论依据:摘录中关于重试与回退是不同恢复层次的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:fallback modules. These modules are activated when the verification process fails and retrying/fixing doesn’t work. Fallback modules can be as simple as messages like, “I am sorry I cannot entertain your request” to more complex workflows.