Is “Tasting a hundred herbs led to medicine and teaching people farming” true?

attested in history

The Huainanzi, chapter 'Cultivating Effort', and the Records of the Grand Historian, 'Supplementary Records of the Three Sovereigns', record that Shennong tasted the flavors of a hundred herbs and taught the people to sow the five grains, making him the progenitor of Chinese agriculture and medicine.

Shennong

In official histories and legends, he is the progenitor of agriculture and medicine; in novels, he is revered as the Earthly Emperor among the Three Sovereigns of the Fire Cloud Cave.

Other claims about Shennong