AI in Retrieval Augmented Generation