ai21.net
语言

ReAct reasoning trace

ReAct reasoning trace — 1

提示词

Landscape 16:9 figure of a ReAct trace on a factual-QA task, vertical sequence of 7 alternating blocks.

Top header: "Task — user asks: 'What year did the scientist who proved the Higgs boson exists win the Nobel Prize?'"

Seven blocks, top-to-bottom, each numbered 1–7 on the left:
1. Thought: "I need to identify the scientist associated with the proof of the Higgs boson and then look up their Nobel Prize year."
2. Action: wiki_search("Higgs boson discovery")
3. Observation: "The 2012 announcement at CERN confirmed the Higgs boson..."
4. Thought: "The theoretical prediction is due to Peter Higgs and François Englert. I should check if they were later awarded the Nobel."
5. Action: wiki_search("Peter Higgs Nobel Prize")
6. Observation: "Peter Higgs and François Englert won the 2013 Nobel Prize in Physics..."
7. Thought: "Answer: 2013."

Thought blocks: dusty-teal left border, italic, brain glyph. Action blocks: muted-navy left border, monospace, wrench glyph. Observation blocks: soft-terracotta left border, lighter fill, eye glyph. Thin slate-gray arrows between blocks.

Bottom: pill-shaped "Final answer: 2013" with a check glyph.

Title: "ReAct trace: interleaved reasoning and tool-use on a factual-QA task". Subtitle: "Yao et al., 2022."

中文译文

横向 16:9 的图,展示一个事实型问答任务上的 ReAct 轨迹,由 7 个交替区块自上而下垂直排列。

顶部页眉:“任务 —— 用户提问:‘证明希格斯玻色子存在的那位科学家是哪一年获得诺贝尔奖的?’”

七个区块,自上而下,每个区块左侧标有编号 1–7:
1. Thought:“我需要先找出与证明希格斯玻色子相关的那位科学家,然后查一下他获得诺贝尔奖的年份。”
2. Action:wiki_search("Higgs boson discovery")
3. Observation:“2012 年 CERN 的宣布证实了希格斯玻色子……”
4. Thought:“这一理论预言归功于彼得·希格斯和弗朗索瓦·恩格勒特。我应该查一下他们后来是否被授予诺贝尔奖。”
5. Action:wiki_search("Peter Higgs Nobel Prize")
6. Observation:“彼得·希格斯和弗朗索瓦·恩格勒特获得了 2013 年诺贝尔物理学奖……”
7. Thought:“答案:2013。”

Thought 区块:暗青色左边框,斜体,大脑图标。Action 区块:低饱和藏青色左边框,等宽字体,扳手图标。Observation 区块:柔和赤陶色左边框,更浅的填充,眼睛图标。区块之间用细石板灰箭头连接。

底部:药丸形状的“最终答案:2013”,带一个对勾图标。

标题:“ReAct 轨迹:事实型问答任务中交织的推理与工具使用”。副标题:“Yao et al., 2022.”

溯源

原作者
wuyoscar
收录来源