Heat the ghee in a non-stick kadai; add the gram flour and sauté on low heat, stirring continuously, for ten to fifteen minutes, or till it starts changing colour and is fragrant.Add the powdered sugar and mix well
Add the cardamom powder and pistachio and almond slivers, and mix. Remove from the heat and set aside to cool.
Grease a aluminium straight-sided shallow tray with the ghee. (I used bowl) Pour the gram flour mixture into the tray and spread it evenly with a greased spatula.
Cool and cut into squares or diamonds and serve. Store the burfi in an airtight container.