It depends on what you want to do. As Astro pointed out already, there are several things to consider, and everything depends on the accuracy you want to reach.
The most difficult point will probably be to convert the dose received by the diode (the energy deposited per unit of mass), into a dose, received by a human exposed to the same flux. This would be ok if the PIN diode had an equivalent composition to the human body, but it isn't - it's made out of higher-Z material. As such, it will over-estimate soft gammas and under-estimate hard gammas.
There are ways to solve this, like having several diodes, certain behind a thin lead shield, and others not, so that you can have a rough estimate of the gamma-spectrum. Other problem: you will seriously under-estimate the neutron-induced dose.
Now, if you just want a rough device of the kind "beep when I have to get out of here", then all these considerations are hair-splitting. But if you want to have a good quantitative dosimeter, then you will have a lot of calibration work.