It starts from your records: the best set in them for a lift gives an estimated one-rep max (the Brzycki formula). The plan sets the reps and the effort — RPE, how hard the set should feel, where 10 means nothing left and 8 means about two reps left.
So 5 reps at RPE 8 is read as roughly your 7-rep max. The weight for that comes from the same formula, rounded to a load you can put on the bar. Every suggestion carries this line, and How? shows the working.