Start the Instant pot in saute mode.
Once the pot gets heated, add oil. To the heated oil, add the whole spices ( cloves, cardamoms, cinnamon, bay leaves) and slit green chili.
Add onions and mix it well. Now add ginger garlic paste and mix everything.
Once onions are slightly brown, add chopped carrots and green beans. You can add other veggies like potatoes, cauliflower, broccoli, green peas as well.
Mix everything well and let the veggies fry for 2 minutes and add cashews if you are using them.
Add turmeric powder and red chili powder if you are using them. Else adjust green chili according to your spice preference.
Wash the soaked brown lentils and drain the water completely. Now add these lentils to the veggies mixture and give a good stir. Let it cook for 3 to 4 minutes.
Now add finely chopped fresh fenugreek leaves and 3 tablespoon coconut yogurt or regular yogurt.
Drain the water from soaked rice and add it to this mixture. Add required salt and water.
Cancel the saute mode. Close the lid and seal the venting knob. Start the Instant pot in manual or pressure cook mode and cook on HIGH pressure for 5 minutes.
Once done, wait for 5 minutes and do a manual pressure release.
Once the pressure is released completely, open the lid. Add chopped coriander leaves and fluff the rice. Keep it aside for 10 minutes, and brown lentils rice pilaf is ready to serve!