Text this: Nir spectroscopy for decision-making in the livestock sector