开始使用免费开始使用

你会用 ReAct 吗?

你的公司刚刚推出了一款名为“CalculateGPT”的自定义 AI 助手,专门用于财务计算。你想验证一下 ReAct 框架是否能提升准确性和透明度,于是决定做一次对比测试。你准备了两个提示词,一个采用 ReAct 风格的提示,另一个没有:

提示词 1:

Our Q3 revenue was $847,000. We spent 23% on salaries, 15% on marketing, 
and had a one-time equipment purchase of $45,000. 
What was our net profit? Only return the answer

提示词 2(ReAct 风格):

Our Q3 revenue was $847,000. We spent 23% on salaries, 15% on marketing, 
and had a one-time equipment purchase of $45,000. What was our net profit?

Please solve this step-by-step using this format:

Thought: [What you need to calculate]
Action: [The calculation]
Observation: [The result]
Continue until you reach the final answer.

已知正确答案为 $480,140,你可能会在两个回答之间观察到哪些关键差异?(选择所有符合的选项)

请注意,为确保结果不受偏见影响,请先点击右上角的“清空对话”。

本练习是课程的一部分

AI 智能体入门

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习