Stir the shallots into the pan and cook for 5 minutes, until softened and translucent. Then add the garlic, wild mushrooms and thyme, cook for 3 minutes. Remove the mushroom mixture from the heat and allow it to cool for 5 minutes. Transfer to a mixing bowl and add the truffle oil, ricotta, salt and black pepper, mix well.