Soak the basmati rice in cold water for 15-30 minutes. Drain and rinse.
Press saute, add butter and once it melts, add the whole spices to the pot. When they begin to sizzle add the onion and stir-fry for 6-7 minutes or until it begins to brown.
Add the walnuts and raisins, stir for 1-2 minutes to toast the walnuts, then add the remaining ingredients and mix well.
Cook for 6 minutes at high pressure. When it is done, wait 10 minutes then release any remaining pressure.
Garnish with cilantro.