Google Bard's LaMDA generates and then scores a response candidate based on Safety and Quality (aka SSI). Possible candidates are ranked by their SSI scores, and the top result is selected as a response.