Cilantro: Yes!
Dill: Yes!
Marigolds: Yes!
Basil: yea its ok
Yarrow: Yes!
Calendula: Yea,
Cucumbers, no...
The point is to bring in predators to the garden that feed on the flowers of them plants and will in turn lay eggs or also eat the pests. Ladybugs for example like to much on pollen, so pollen heavy plants bring them in.
Be aware some users are only answering questions linked to diaries for the contest GOTM, one of them is in the lead and refuses to help other growers if it does not get them a point. Think twice before picking a solution to your grow question.
growdiaries.com/giveaways/Grower-of-the-Month-July-2024
Good Luck!