The invention provides thiazole derivatives of formula (I), or pharmaceutically acceptable salts thereof in which Ring A, R1, R2 and R3 are as defined in the specification; a processes for their preparation; pharmaceutical compositions containing them; and their use in therapy, for example in the treatment of disease mediated by a PI3K enzyme and/or a mTOR kinase.