The Reflexion method[fifty four] constructs an agent that learns more than numerous episodes. At the conclusion of Every single episode, the LLM is offered the history of the episode, and prompted to Feel up "classes figured out", which might help it execute greater in a subsequent episode. These "classes learned" are offered for the agent in the f