Apparently NASA has been training the Mars rover using something called machine learning.
https://phys.org/news/2024-08-nasa-machine-algorithm-mars-sample.html#google_vignette
August 5, 2024
Editors' notes
NASA trains machine learning algorithm for Mars sample analysis
by Matthew Kaufman,
NASA
...
This machine learning algorithm can help us by quickly filtering the data and pointing out which data are likely to be the most interesting or important for us to examine," said Xiang "Shawn" Li, a mass spectrometry scientist in the Planetary Environments lab at NASA Goddard.
The algorithm will first be put to the test with data from Mars, by operating on an Earth-bound computer using data collected by the Mars Organic Molecule Analyzer (MOMA) instrument.
The analyzer is one of the main science instruments on the upcoming ExoMars mission Rosalind Franklin Rover, led by ESA (European Space Agency). The rover, which is scheduled to launch no earlier than 2028, seeks to determine if life ever existed on the Red Planet.
After Rosalind Franklin collects a sample and analyzes it with MOMA, data will be sent back to Earth, where scientists will use the findings to decide the best next course of action.