Prompt-Engineering-Guide/pages/techniques/react.zh.mdx
2023-03-30 19:14:59 -06:00

14 lines
741 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ReAct
import { Callout, FileTree } from 'nextra-theme-docs'
import {Screenshot} from 'components/screenshot'
import REACT from '../../img/react.png'
从[Yao等人2022](https://arxiv.org/abs/2210.03629)引入了一个框架其中LLMs以交错的方式生成推理轨迹和任务特定的操作。生成推理轨迹使模型能够诱导、跟踪和更新行动计划甚至处理异常情况。操作步骤允许与外部源如知识库或环境进行接口和信息收集。
ReAct框架可以使LLMs与外部工具交互以检索导致更可靠和事实的响应的附加信息。
<Screenshot src={REACT} alt="REACT" />
图片来源:[Yao等人2022](https://arxiv.org/abs/2210.03629)
完整的示例即将推出!