I have made a game simulation with a rest api available and I would like to create a reinforcement learning AI in python using gym from OpenAI.
So is it fine to make api call inside the step function in my custom gym environment ? won’t it be to slow ? or should I rebuild the simulation in python ?
ps : I am a beginner in AI development