Turn on the Sauté mode on low (press Sauté button and then press adjust to select low heat), once it displays hot, add ghee(clarified butter). When the ghee is hot add all the whole garam masalas i.e. shah jeera(black cumin seeds),cinnamon stick, cloves, green cardamom, black cardamom, pepper corns, bay leaf, star anise and cashew nuts, sauté until you get nice aroma.
Now add thinly sliced onions and split green chillies(adjust to your spice level) and stir well. Sauté them for 4 to 5 mins while stirring in between.
Now add ginger garlic paste and mix well. Sauté for another 2 to 3 mins until the onions are golden brown.
Now add chopped mint and cilantro leaves and mix well. Sauté for a minute or two until herbs release their aroma.
Now drain the soaked rice and add it to the pot and mix well. Sauté for a minute.
Then add water, salt, lemon juice and mix well. Deglaze the pot using a wooden spatula to make sure nothing is stuck at the bottom.
Close the Instant pot lid, turn the vent to seal, cancel the sauté mode, press on manual and choose 6 mins on high pressure.
Once the Instant pot beeps and turns off, let the pressure release naturally for 10 mins and then do a quick release. Remove the steel insert from the Instant pot and set it on a heat proof surface for 5 mins to avoid burning on the bottom from the Instant pot left over heat.
Fluff it with a fork after 5 mins and serve it with your choice of vegetarian or non vegetarian dish or just raita.