You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prompt-Engineering-Guide/pages/techniques/react.zh.mdx

14 lines
741 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 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)
完整的示例即将推出!