A beginner’s guide to generative AI