How clever is the jellyfish?

The jellyfish can respond to stimuli and adapt to some changes. However, in terms of intelligence, this animal has primitive senses, and no brain or nervous system. It can identify a prey through chemosensory pits.