Retrieval-Augmented Generation-Based Relation Extraction