Any kind of suggestions or help is appreciated, need to write this code in python. The bot needs to have Chain of Thought strategy as well.