请问HN:ReAct与规划模式的比较

3作者: hairymouse5 天前原帖
我的问题可能听起来有些愚蠢,但ReAct模式似乎总是有效,并且实际上能带来很好的结果。另一方面,我们有计划模式,老实说,我无法想象它在生产系统中是如何具体使用的。我不确定这样说是否正确,但它的技术实现方式是,你给大型语言模型(LLM)提供上下文,然后告诉它:“嘿,给我一个你将如何解决这个问题的计划。”这样它就会制定一个计划,但在ReAct模式下,它不也会遵循同样的计划来解决那个具体问题吗?我想向那些在生产中使用过计划模式的人学习,你们是如何使用的,为什么使用?你们是如何确保LLM严格遵循这个计划的?
查看原文
My question might seem stupid, but ReAct pattern seems to always work and actually gives great results in the other hand we have the plan pattern and to be honest i cannot think of how it's exactly used in production system, im not sure if this is correct but how it's technically implemented is you give the LLM context and you tell it, hey give me your plan to how you will solve this thing, so now it will build the plan but won't it also follow the same plan in the ReAct pattern to solve that exact problem? I want learn from people that used the planning pattern in production, how and why you used it? and how do you enforce the LLM the follow the plan exactly?