This is meant for automated observatories or who wants assets or models to compare with their observations.
This way observers can find or recognize objects or take them automatically into account for further investigation.
Spectra are also useful to determine distances or more complicated stuff like star masses or radial velocities.
Some of the code of INDI contains the needed functions, still not perfect but at least automated observatories can do some guess in-loco instead of having a client with the relevant processing delay times or effort.
Including a machine learning core into INDI needs some effort however, but having a ready models set could be a good start!