The Reflexion method[fifty four] constructs an agent that learns more than many episodes. At the conclusion of Each and every episode, the LLM is offered the history in the episode, and prompted to Imagine up "classes realized", which might aid it accomplish better in a subsequent episode. These "classes realized" are offered to the agent in the ne