Introduction to generative AI including theory and practice (1/2)