Basics of Retrieval Augmented Generation