Relationship between PhD applicant and recommender
'Research project PI' as in your Question, or maybe 'Research project supervisor'. You seem to want something more distant (less personal) than 'thesis supervisor' The word 'project' implies that distance.
Given that the PI is essentially signing something written by another person, that
distance will likely come through clearly in the letter of recommendation.