Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
In a medium bowl, whisk together flour, baking powder, and salt.
In a large bowl, beat butter and sugar together until light and fluffy.
Add eggs one at a time, beating well after each addition.
Mix in the vanilla extract.
Alternately add the flour mixture and milk to the butter mixture, beginning and ending with flour.
Divide batter evenly between the prepared pans.
Bake for 22-25 minutes, or until a toothpick inserted in the center comes out clean.
Let cakes cool in the pans for 10 minutes, then remove and cool completely on a wire rack.
For the filling, beat ricotta, mascarpone, powdered sugar, and vanilla extract until smooth and creamy.
Fold in the mini chocolate chips.
Once cakes are fully cooled, spread a thick layer of the filling on top of one cake layer.
Place the second cake layer on top and spread the remaining filling over the top and sides of the cake.
Garnish with extra mini chocolate chips, a dusting of powdered sugar, or crushed pistachios if desired.
Chill the cake for at least 2 hours before serving for best flavor.