https://arxiv.org/pdf/2210.03629.pdf

How ReAct Works

ReAct prompts large language models to generate both verbal reasoning traces and actions for a given task. These prompts consist of a small number of in-context examples that guide the model’s thinking and action generation.

#logic_chain