Open BaiqingL opened 3 weeks ago
Is it possible to extract the battle history during the middle of a battle? This scenario would help with prompting LLMs for context, and is it possible to do right now, thanks!
You can do that through the Observations class, found here. They store the battle outputs in the events property: https://github.com/hsahovic/poke-env/blob/master/src/poke_env/environment/observation.py
Observations
events
Is it possible to extract the battle history during the middle of a battle? This scenario would help with prompting LLMs for context, and is it possible to do right now, thanks!