The eggs keep the ricotta mixture from drying out in the oven. They also add a nice richness to the filling. I don’t recommend skipping the eggs.