Geez – I guess from your request you are NOT a licenced Gasfitter or Plumber huh?
Your problem with the pilot light is NOT the thermopile circuit but the thermocouple one – get a qualified person to undertake the electrical tests to check the likely fault and, while you are at it have the unit fully serviced – a little spent today will ensure a longer trouble free life.