ReAct - Language Models
up:: Prompt Engineering
ReAct enables language models to generate both verbal reasoning traces and text actions in an interleaved manner.

Example in Langchain
ALWAYS use the following format:
Question: the input question you must answer
Thought: you should always think about what to do
Action:
\`\`\`
$JSON_BLOB
\`\`\`
Observation: the result of the action
... (this Thought/Action/Observation can repeat N times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question"""