Cichlids are opourtunistic feeders, and some, even the herbivores have been known to eat anything that can fit into their mouths, including other fish.
The species that are small enough to fit in a 10 gallon are not going to be big enough to eat a guppy whole. This does not meent that the guppies would be safe. That depends on the species.