I haven’t tested it, but blanched slivered almonds should work as a substitute for the cashews. To keep the ricotta recipe nut-free, omit the cashews or replace them with sunflower seeds.