精选理由
LangChain用一句话说清楚了选择原则:如果下次解释方式一样,就该用智能体,别放聊天里。
LangChain 推文指出通用聊天适合一次性问答,答案出现即结束。专门智能体适合重复性、有固定形状的工作,使用相同工具和格式。智能体能记住线程可能遗忘的上下文,适合多次运行相同流程。
AI 翻译 · 中文
LangChain 推文指出通用聊天适合一次性问答,答案出现即结束。专门智能体适合重复性、有固定形状的工作,使用相同工具和格式。智能体能记住线程可能遗忘的上下文,适合多次运行相同流程。
When to use General Purpose Chat vs. a Specialized Agent: If you'd explain the context the same way next time, it shouldn't live in a thread. General Purpose Chat is for work that ends when the answer arrives. Sp…