Chief Justice of India Ranjan Gogoi has been accused of sex harassment by a former top court employee.